add unit and land to TeamRanking
Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
parent
749c059431
commit
0f2d369a0e
@ -311,8 +311,9 @@
|
||||
| 成员标识符 | 类型 | 含义 |
|
||||
| :--- | :--- | :--- |
|
||||
| `team` | `Team` | 表示的队伍 |
|
||||
| `land` | `u16` | 队伍占领的格子的总数 |
|
||||
| `unit` | `i32` | 队伍拥有的单位总数 |
|
||||
| `players` | `PlayerRanking[]` | 队伍中的玩家的信息 |
|
||||
|
||||
**类型** `Tile`:用于表示一个格子上的信息。
|
||||
|
||||
| 成员标识符 | 类型 | 含义 |
|
||||
|
@ -40,9 +40,11 @@ struct PlayerRanking {
|
||||
|
||||
struct TeamRanking {
|
||||
Team team;
|
||||
std::uint16_t land;
|
||||
std::int32_t unit;
|
||||
std::vector<PlayerRanking> players;
|
||||
|
||||
OGPC_DECLARE_ASTUPLE(team, players)
|
||||
OGPC_DECLARE_ASTUPLE(team, land, unit, players)
|
||||
};
|
||||
|
||||
struct Tile {
|
||||
|
Loading…
x
Reference in New Issue
Block a user