Mindscape custom string class for managing dynamic C-strings within the game engine.
void ToUpperCase()
Converts the string contents to uppercase in-place.
[AI] Represents a key-value variable as used in the variable table for the LEGO Island engine.
MxVariable(const char *p_key)
[AI] Constructs a variable with the specified key and no value.
MxString m_key
[AI] The variable's key (name), always stored in uppercase.
virtual MxString * GetValue()
[AI] Retrieves a pointer to the variable's value.
const MxString * GetKey() const
[AI] Provides read-only access to the variable's key/name.
MxVariable(const char *p_key, const char *p_value)
[AI] Constructs a variable with the specified key and value.
virtual void SetValue(const char *p_value)
[AI] Sets the variable's value.
MxString m_value
[AI] The variable's value.
MxVariable()
[AI] Constructs an empty variable with no key or value.
virtual void Destroy()
[AI] Destroys the variable, deleting the object.