Isle
Loading...
Searching...
No Matches
CustomizeAnimFileVariable Class Reference

[AI] MxVariable subclass used to represent and propagate changes to the character customization animation file. More...

#include <legocharactermanager.h>

Inheritance diagram for CustomizeAnimFileVariable:
Collaboration diagram for CustomizeAnimFileVariable:

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...
 
- Public Member Functions inherited from MxVariable
 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 MxStringGetValue ()
 [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 MxStringGetKey () const
 [AI] Provides read-only access to the variable's key/name. More...
 

Additional Inherited Members

- Protected Attributes inherited from MxVariable
MxString m_key
 [AI] The variable's key (name), always stored in uppercase. More...
 
MxString m_value
 [AI] The variable's value. More...
 

Detailed Description

[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.

Constructor & Destructor Documentation

◆ CustomizeAnimFileVariable()

CustomizeAnimFileVariable::CustomizeAnimFileVariable ( const char *  p_key)

[AI] Constructs the variable and sets its key (converted to uppercase).

Parameters
p_keyThe name of the variable. [AI]

Definition at line 1093 of file legocharactermanager.cpp.

Member Function Documentation

◆ SetValue()

void CustomizeAnimFileVariable::SetValue ( const char *  p_value)
overridevirtual

[AI] Sets the variable value and propagates customization file changes to relevant managers.

Parameters
p_valueThe 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.


The documentation for this class was generated from the following files: