Isle
|
[AI] MxVariable subclass used to represent and propagate changes to the character customization animation file. More...
#include <legocharactermanager.h>
Public Member Functions | |
CustomizeAnimFileVariable (const char *p_key) | |
[AI] Constructs the variable and sets its key (converted to uppercase). More... | |
void | SetValue (const char *p_value) override |
[AI] Sets the variable value and propagates customization file changes to relevant managers. More... | |
![]() | |
MxVariable () | |
[AI] Constructs an empty variable with no key or value. More... | |
MxVariable (const char *p_key, const char *p_value) | |
[AI] Constructs a variable with the specified key and value. More... | |
MxVariable (const char *p_key) | |
[AI] Constructs a variable with the specified key and no value. More... | |
virtual MxString * | GetValue () |
[AI] Retrieves a pointer to the variable's value. More... | |
virtual void | SetValue (const char *p_value) |
[AI] Sets the variable's value. More... | |
virtual void | Destroy () |
[AI] Destroys the variable, deleting the object. More... | |
const MxString * | GetKey () const |
[AI] Provides read-only access to the variable's key/name. More... | |
Additional Inherited Members | |
![]() | |
MxString | m_key |
[AI] The variable's key (name), always stored in uppercase. More... | |
MxString | m_value |
[AI] The variable's value. More... | |
[AI] MxVariable subclass used to represent and propagate changes to the character customization animation file.
When the value is set, triggers updates to customization animation files for Characters, Plants, and Buildings. Used by the variable table for runtime customization support. [AI]
VTABLE: LEGO1 0x100da878 SIZE: 0x24 bytes
Definition at line 102 of file legocharactermanager.h.
CustomizeAnimFileVariable::CustomizeAnimFileVariable | ( | const char * | p_key | ) |
[AI] Constructs the variable and sets its key (converted to uppercase).
p_key | The name of the variable. [AI] |
Definition at line 1093 of file legocharactermanager.cpp.
|
overridevirtual |
[AI] Sets the variable value and propagates customization file changes to relevant managers.
p_value | The new value. [AI] |
If the key is "CUSTOMIZE_ANIM_FILE", updates customization animation files in CharacterManager, PlantManager, and BuildingManager. [AI]
Reimplemented from MxVariable.
Definition at line 1100 of file legocharactermanager.cpp.