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

[AI] Game state entity specialized for tracking Helicopter-related state during gameplay. More...

#include <helicopter.h>

Inheritance diagram for HelicopterState:
Collaboration diagram for HelicopterState:

Public Member Functions

 HelicopterState ()
 [AI] Default constructor initializes unmapped state property to zero. [AI] More...
 
MxBool IsSerializable () override
 [AI] Indicates if this state can be serialized (always false for HelicopterState). More...
 
MxBool Reset () override
 [AI] Resets helicopter-specific state/progress tracking variable. More...
 
const char * ClassName () const override
 [AI] Returns the runtime class name string of this object. More...
 
MxBool IsA (const char *p_name) const override
 [AI] Checks if this object is of the requested class or a parent class. 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

MxU32 m_unk0x08
 [AI] State/progress value for the helicopter, used for tracking animation or progress in gameplay. [AI] 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] Game state entity specialized for tracking Helicopter-related state during gameplay.

[AI]

[AI] This stores simple state/progress (m_unk0x08) specific to Helicopter interactions/animations and serializes via LegoState. [AI]

Definition at line 14 of file helicopter.h.

Constructor & Destructor Documentation

◆ HelicopterState()

HelicopterState::HelicopterState ( )
inline

[AI] Default constructor initializes unmapped state property to zero. [AI]

Definition at line 17 of file helicopter.h.

Member Function Documentation

◆ ClassName()

const char * HelicopterState::ClassName ( ) const
inlineoverridevirtual

[AI] Returns the runtime class name string of this object.

[AI]

Returns
"HelicopterState" [AI]

Reimplemented from MxCore.

Definition at line 34 of file helicopter.h.

◆ IsA()

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

[AI] Checks if this object is of the requested class or a parent class.

[AI]

Parameters
p_nameClass name string to check. [AI]
Returns
TRUE if matches HelicopterState or a parent class. [AI]

Reimplemented from MxCore.

Definition at line 43 of file helicopter.h.

◆ IsSerializable()

MxBool HelicopterState::IsSerializable ( )
inlineoverridevirtual

[AI] Indicates if this state can be serialized (always false for HelicopterState).

[AI]

Returns
Always FALSE; HelicopterState is not serializable. [AI]

Reimplemented from LegoState.

Definition at line 21 of file helicopter.h.

◆ Reset()

MxBool HelicopterState::Reset ( )
inlineoverridevirtual

[AI] Resets helicopter-specific state/progress tracking variable.

[AI]

[AI] Sets m_unk0x08 (the main state variable) to zero, clearing the internal state/progress for the helicopter. [AI]

Returns
Always TRUE. [AI]

Reimplemented from LegoState.

Definition at line 26 of file helicopter.h.

Member Data Documentation

◆ m_unk0x08

MxU32 HelicopterState::m_unk0x08

[AI] State/progress value for the helicopter, used for tracking animation or progress in gameplay. [AI]

Definition at line 51 of file helicopter.h.


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