Isle
|
The state object used for the car race mini-game. More...
#include <carrace.h>
Public Member Functions | |
const char * | ClassName () const override |
Returns the class name for runtime type identification ("CarRaceState"). More... | |
MxBool | IsA (const char *p_name) const override |
Checks if this object is the specified class or inherits from it. More... | |
![]() | |
RaceState () | |
[AI] Constructs a RaceState, initializing all races with default values and IDs (1 through 5). More... | |
const char * | ClassName () const override |
[AI] Returns the class name of the RaceState object ("RaceState"). More... | |
MxBool | IsA (const char *p_name) const override |
[AI] Checks if the object is exactly a RaceState or derived thereof, using class name string comparison (including parent LegoState). More... | |
MxResult | Serialize (LegoStorage *p_storage) override |
[AI] Serializes all race state entries to or from the given storage object. More... | |
Entry * | GetState (MxU8 p_id) |
[AI] Fetches a race state entry matching the given entry ID, or NULL if not found in the array. 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... | |
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... | |
![]() | |
Entry | m_state [5] |
[AI] Entries for each tracked race/state (IDs 1..5). More... | |
undefined4 | m_unk0x28 |
[AI] Unknown extra field, always initialized to zero. More... | |
The state object used for the car race mini-game.
[AI]
[AI] CarRaceState manages and tracks the game state for the car racing sequence in the game. It implements type identification via ClassName and IsA for runtime checks and inheritance testing. [AI]
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Checks if this object is the specified class or inherits from it.
[AI]
p_name | Class name to check against. [AI] |
[AI] Performs a string comparison and delegates up to RaceState if there is no match. [AI]
Reimplemented from MxCore.