Mania++
 All Classes Functions Variables Pages
Structs.h
1 #ifndef EVENTS_STRUCTS_H_
2 #define EVENTS_STRUCTS_H_
3 
4 #include "../Objects/Player.h"
5 
6 //* EntryVal
10 struct EntryVal
11 {
12  std::string Name;
13  std::string Value;
14 };
15 
16 //* PlayerRanking
21 {
23  int Rank;
24  int BestTime;
25  std::vector<int> BestCheckpoints;
26  int Score;
28  double LadderScore;
29 };
30 
31 #endif // EVENTS_STRUCTS_H_
int Score
Round score.
Definition: Structs.h:26
std::string Name
Entry name.
Definition: Structs.h:12
std::string Value
Entry value.
Definition: Structs.h:13
int Rank
Player rank.
Definition: Structs.h:23
int BestTime
Best time this round.
Definition: Structs.h:24
Contains all information about a player in easy-to-use format.
Definition: Player.h:11
int NbrLapsFinished
Number of laps finished.
Definition: Structs.h:27
Struct with entry information.
Definition: Structs.h:10
Struct with player ranking.
Definition: Structs.h:20
double LadderScore
Ladder score received.
Definition: Structs.h:28
std::vector< int > BestCheckpoints
List of best checkpoints this round.
Definition: Structs.h:25
Player PlayerInfo
Player object.
Definition: Structs.h:22