These parameters are available to all component types that inherit from DtPlayerComponent. They provide common configuration options for component identification and initialization. Component-specific parameters are documented in each component's own parameter group.
◆ initAttributes
| const char* makVre::PlayerComponentConfig::initAttributes = "initAttributes" |
|
constexpr |
| Parameter Name | initAttributes |
| Parameter Description | Table of initial attribute values to set during component initialization. |
| Parameter Type | string |
| Parameter Default | "" |
| Required? | No |
Example Role Config Usage:
["playerComponent"] = {
...
initAttributes = "";
...
};
◆ name
| const char* makVre::PlayerComponentConfig::name = "name" |
|
constexpr |
| Parameter Name | name |
| Parameter Description | Name to assign to this component instance for identification purposes. |
| Parameter Type | string |
| Parameter Default | "" |
| Required? | No |
Example Role Config Usage:
["playerComponent"] = {
...
name = "";
...
};