Isle
Loading...
Searching...
No Matches
LegoGameState::ScoreItem Struct Reference

Single score record for a player, including high score grids for all major games. More...

#include <legogamestate.h>

Collaboration diagram for LegoGameState::ScoreItem:

Public Member Functions

MxResult Serialize (LegoStorage *p_storage)
 Reads/writes the ScoreItem to/from storage. More...
 

Public Attributes

MxS16 m_totalScore
 The total score calculated from all minigames. [AI]. More...
 
MxU8 m_scores [5][5]
 Scores by (minigame,row,column): custom packed format for all 5 game types. [AI]. More...
 
Username m_name
 Username this score belongs to. [AI]. More...
 
MxS16 m_unk0x2a
 (Purpose: Each play/attempt index?) [AI] More...
 

Detailed Description

Single score record for a player, including high score grids for all major games.

[AI]

Definition at line 181 of file legogamestate.h.

Member Function Documentation

◆ Serialize()

MxResult LegoGameState::ScoreItem::Serialize ( LegoStorage p_storage)

Reads/writes the ScoreItem to/from storage.

[AI]

Parameters
p_storageStorage to read from/write to. [AI]

Definition at line 1398 of file legogamestate.cpp.

Member Data Documentation

◆ m_name

Username LegoGameState::ScoreItem::m_name

Username this score belongs to. [AI].

Definition at line 188 of file legogamestate.h.

◆ m_scores

MxU8 LegoGameState::ScoreItem::m_scores[5][5]

Scores by (minigame,row,column): custom packed format for all 5 game types. [AI].

Definition at line 187 of file legogamestate.h.

◆ m_totalScore

MxS16 LegoGameState::ScoreItem::m_totalScore

The total score calculated from all minigames. [AI].

Definition at line 186 of file legogamestate.h.

◆ m_unk0x2a

MxS16 LegoGameState::ScoreItem::m_unk0x2a

(Purpose: Each play/attempt index?) [AI]

Definition at line 189 of file legogamestate.h.


The documentation for this struct was generated from the following files: