Isle
|
[AI] Entry for an individual race event/state, holding its identifier, unknown field, and score. More...
#include <legorace.h>
Public Member Functions | |
Entry () | |
[AI] Default constructor that initializes all fields to zero. More... | |
MxS16 | GetUnknown0x02 () |
[AI] Gets the unknown 0x02 field associated with this entry. More... | |
MxS16 | GetHighScore () |
[AI] Retrieves the race entry's current high score. More... | |
MxResult | Serialize (LegoStorage *p_storage) |
[AI] Serializes or deserializes the entry using the specified LegoStorage. More... | |
Public Attributes | |
MxU8 | m_id |
[AI] Unique race or entry ID (1-based, up to 5). More... | |
MxS16 | m_unk0x02 |
[AI] Unknown field (usage unclear). More... | |
MxS16 | m_score |
[AI] High score for this race/entry. More... | |
[AI] Entry for an individual race event/state, holding its identifier, unknown field, and score.
[AI] Serializes its state to/from a provided LegoStorage backend.
Definition at line 35 of file legorace.h.
|
inline |
[AI] Default constructor that initializes all fields to zero.
Definition at line 40 of file legorace.h.
|
inline |
[AI] Retrieves the race entry's current high score.
Definition at line 57 of file legorace.h.
|
inline |
[AI] Gets the unknown 0x02 field associated with this entry.
Definition at line 51 of file legorace.h.
|
inline |
[AI] Serializes or deserializes the entry using the specified LegoStorage.
Coordinates field-wise load or save based on mode.
p_storage | Storage handler for reading/writing state. [AI] |
Definition at line 64 of file legorace.h.
MxU8 RaceState::Entry::m_id |
[AI] Unique race or entry ID (1-based, up to 5).
Definition at line 84 of file legorace.h.
MxS16 RaceState::Entry::m_score |
[AI] High score for this race/entry.
Definition at line 86 of file legorace.h.
MxS16 RaceState::Entry::m_unk0x02 |
[AI] Unknown field (usage unclear).
Definition at line 85 of file legorace.h.