Isle
|
Represents the state object for Act 2 of the game. More...
#include <legoact2.h>
Public Member Functions | |
LegoAct2State () | |
Constructor, initializes state members. More... | |
~LegoAct2State () override | |
Destructor. More... | |
MxBool | IsSerializable () override |
Always returns FALSE, as this state is not serializable. More... | |
const char * | ClassName () const override |
Returns the class name of this state ("LegoAct2State"). More... | |
MxBool | IsA (const char *p_name) const override |
Type check against class name or parent class. More... | |
void | SetUnknown0x08 (undefined4 p_unk0x08) |
Sets the unknown value (purpose unclear). More... | |
undefined4 | GetUnknown0x08 () |
Gets the value of the unknown member variable. More... | |
![]() | |
~LegoState () override | |
[AI] Virtual destructor to allow subclass cleanup. More... | |
virtual MxBool | IsSerializable () |
[AI] Returns if this state can be serialized (for game saving/loading support). More... | |
virtual MxBool | Reset () |
[AI] Hook for returning object to default (empty) state; not implemented in this base. More... | |
virtual MxResult | Serialize (LegoStorage *p_storage) |
[AI] Serialize state to a storage (for save/load). More... | |
const char * | ClassName () const override |
[AI] Gets this class's name for RTTI/IsA functionality. More... | |
MxBool | IsA (const char *p_name) const override |
[AI] Tests if this object is of a given class name, directly or through inheritance. More... | |
![]() | |
MxCore () | |
[AI] Constructs a new MxCore object and assigns it a unique id. More... | |
virtual | ~MxCore () |
[AI] Virtual destructor. Required for correct polymorphic cleanup in derived classes. More... | |
virtual MxLong | Notify (MxParam &p_param) |
[AI] Virtual callback notification mechanism. More... | |
virtual MxResult | Tickle () |
[AI] Called by tickle managers to allow the object to update itself. More... | |
virtual const char * | ClassName () const |
[AI] Returns the runtime class name of this object. More... | |
virtual MxBool | IsA (const char *p_name) const |
[AI] Checks whether this object's class type or parents match the given name. More... | |
MxU32 | GetId () |
[AI] Gets the unique (per-process) id assigned to this object instance. More... | |
Public Attributes | |
undefined4 | m_unk0x08 |
[AI] Unknown state variable. Purpose unclear. [AI] More... | |
MxBool | m_enabled |
[AI] TRUE if this state is currently enabled/active. [AI] More... | |
Additional Inherited Members | |
![]() | |
enum | ScoreColor { e_grey = 0 , e_yellow , e_blue , e_red } |
[AI] Score coloring values for in-game display feedback or logic. More... | |
Represents the state object for Act 2 of the game.
[AI]
LegoAct2State is a subclass of LegoState and is used to store state information specific to Act 2. It holds an unknown value, and an enabled flag indicating whether the state is currently active/used.
Not serializable (IsSerializable always returns FALSE). [AI]
Definition at line 25 of file legoact2.h.
|
inline |
|
inlineoverride |
|
inlineoverridevirtual |
Returns the class name of this state ("LegoAct2State").
[AI]
Reimplemented from MxCore.
Definition at line 49 of file legoact2.h.
|
inline |
Gets the value of the unknown member variable.
[AI]
Definition at line 78 of file legoact2.h.
|
inlineoverridevirtual |
Type check against class name or parent class.
[AI]
p_name | Name to check. [AI] |
Checks if the provided class name matches this class or a base class. [AI]
Reimplemented from MxCore.
Definition at line 60 of file legoact2.h.
|
inlineoverridevirtual |
Always returns FALSE, as this state is not serializable.
[AI]
Reimplemented from LegoState.
Definition at line 44 of file legoact2.h.
|
inline |
Sets the unknown value (purpose unclear).
[AI]
p_unk0x08 | Value to assign. [AI] |
Definition at line 72 of file legoact2.h.
MxBool LegoAct2State::m_enabled |
[AI] TRUE if this state is currently enabled/active. [AI]
Definition at line 83 of file legoact2.h.
undefined4 LegoAct2State::m_unk0x08 |
[AI] Unknown state variable. Purpose unclear. [AI]
Definition at line 82 of file legoact2.h.