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

[AI] Holds persistent state and status variables for Act 3 mission, saved between world reloads and possibly serialized. More...

#include <act3.h>

Inheritance diagram for Act3State:
Collaboration diagram for Act3State:

Public Member Functions

 Act3State ()
 [AI] Initializes additional persistent status fields. More...
 
MxBool IsSerializable () override
 [AI] Indicates whether this state is serializable to disk or not. More...
 
const char * ClassName () const override
 [AI] Returns class name for RTTI string matching. More...
 
MxBool IsA (const char *p_name) const override
 [AI] Checks if the class name matches a given string or any parent class. More...
 
undefined4 GetUnknown0x08 ()
 [AI] Getter for the (unknown) main status variable. More...
 
- Public Member Functions inherited from LegoState
 ~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...
 
- Public Member Functions inherited from MxCore
 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 persistent field holding an instruction/state flag. More...
 

Additional Inherited Members

- Public Types inherited from LegoState
enum  ScoreColor { e_grey = 0 , e_yellow , e_blue , e_red }
 [AI] Score coloring values for in-game display feedback or logic. More...
 

Detailed Description

[AI] Holds persistent state and status variables for Act 3 mission, saved between world reloads and possibly serialized.

Derives from LegoState, storing progress flags and custom state transitions for Act 3 cutscenes or mini-games. SIZE 0x0c

Definition at line 126 of file act3.h.

Constructor & Destructor Documentation

◆ Act3State()

Act3State::Act3State ( )
inline

[AI] Initializes additional persistent status fields.

Definition at line 131 of file act3.h.

Member Function Documentation

◆ ClassName()

const char * Act3State::ClassName ( ) const
inlineoverridevirtual

[AI] Returns class name for RTTI string matching.

Returns
[AI] "Act3State"

Reimplemented from MxCore.

Definition at line 143 of file act3.h.

◆ GetUnknown0x08()

undefined4 Act3State::GetUnknown0x08 ( )
inline

[AI] Getter for the (unknown) main status variable.

Returns
[AI] Internal status/instruction code or flag.

Definition at line 165 of file act3.h.

◆ IsA()

MxBool Act3State::IsA ( const char *  p_name) const
inlineoverridevirtual

[AI] Checks if the class name matches a given string or any parent class.

Parameters
p_nameName to check [AI].
Returns
[AI] True if p_name matches this class or a base class.

Reimplemented from MxCore.

Definition at line 153 of file act3.h.

◆ IsSerializable()

MxBool Act3State::IsSerializable ( )
inlineoverridevirtual

[AI] Indicates whether this state is serializable to disk or not.

Returns
[AI] Always FALSE for this subclass.

Reimplemented from LegoState.

Definition at line 137 of file act3.h.

Member Data Documentation

◆ m_unk0x08

undefined4 Act3State::m_unk0x08

[AI] Unknown persistent field holding an instruction/state flag.

Definition at line 170 of file act3.h.


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