EntropyEngine::Networking::NetworkSession::ComponentHandle
EntropyEngine::Networking::NetworkSession::ComponentHandle
Section titled “EntropyEngine::Networking::NetworkSession::ComponentHandle”Component attachment on an entity, allows setting property values.
#include <NetworkSession.h>
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| template <typename T > ComponentHandle & | set(const std::string & propertyName, const T & value) Set a property value on this component. |
| template <typename T > NetworkSession::ComponentHandle & | set(const std::string & propertyName, const T & value) |
| EntityBuilder & | done() Return to entity for attaching more components. |
| ComponentHandle(EntityBuilder & entity, const ComponentSchema & schema) |
Public Functions Documentation
Section titled “Public Functions Documentation”function set
Section titled “function set”template <typename T >ComponentHandle & set( const std::string & propertyName, const T & value)Set a property value on this component.
Parameters:
- propertyName Name of the property (must exist in schema)
- value Property value (type must match schema)
Return: Reference to this handle for chaining
function set
Section titled “function set”template <typename T >NetworkSession::ComponentHandle & set( const std::string & propertyName, const T & value)function done
Section titled “function done”inline EntityBuilder & done()Return to entity for attaching more components.
function ComponentHandle
Section titled “function ComponentHandle”ComponentHandle( EntityBuilder & entity, const ComponentSchema & schema)Updated on 2026-01-26 at 17:14:35 -0500