-
Notifications
You must be signed in to change notification settings - Fork 0
/
structures.h
93 lines (83 loc) · 1.8 KB
/
structures.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
struct battlelog_player
{
public:
int id;
std::string tag;
std::string player_name;
int brawler_id;
std::string brawler_name;
int brawler_power;
int brawler_trophies;
};
struct battlelog_3v3
{
public:
std::string tag; //in database
std::string battleTime;
int event_id; //in brawl stars
std::string event_mode;
std::string event_map;
std::string battle_mode;
std::string battle_type;
std::string battle_result;
int battle_duration;
int battle_trophy_change;
int star_player_id;
battlelog_player players_in_game[2][3]; //players id
int teams[2][3];
};
struct battlelog_solo
{
public:
int id; //in database
std::string battleTime;
int event_id; //in brawl stars
std::string event_mode;
std::string event_map;
std::string battle_mode;
std::string battle_type;
int battle_trophy_change;
battlelog_player players_in_game[10]; //players id
};
struct battlelog_duo
{
public:
int id; //in database
std::string battleTime;
int event_id; //in brawl stars
std::string event_mode;
std::string event_map;
std::string battle_mode;
std::string battle_type;
battlelog_player teams[5][2]; //players id
};
struct player_log
{
std::string tag;
std::string name;
std::string last_update;
std::string name_color;
int icon_id;
int trophies;
int highest_trophies;
int exp_level;
int exp_points;
bool is_qualified;
int victories_3v3;
int victories_solo;
int victories_duo;
int best_robo_rumble_time;
int best_time_as_big_brawler;
std::string club_tag;
std::string club_name;
};
struct player_brawlers
{
std::string player_tag;
int id;
std::string name;
int power;
int rank;
int trophies;
int highest_trophies;
};