diff --git a/docs/processor.md b/docs/processor.md index 4891af2..004d0b8 100644 --- a/docs/processor.md +++ b/docs/processor.md @@ -311,8 +311,9 @@ | 成员标识符 | 类型 | 含义 | | :--- | :--- | :--- | | `team` | `Team` | 表示的队伍 | +| `land` | `u16` | 队伍占领的格子的总数 | +| `unit` | `i32` | 队伍拥有的单位总数 | | `players` | `PlayerRanking[]` | 队伍中的玩家的信息 | - **类型** `Tile`:用于表示一个格子上的信息。 | 成员标识符 | 类型 | 含义 | diff --git a/processor/pc/pctypes.h b/processor/pc/pctypes.h index 8a961ce..2979cbc 100644 --- a/processor/pc/pctypes.h +++ b/processor/pc/pctypes.h @@ -40,9 +40,11 @@ struct PlayerRanking { struct TeamRanking { Team team; + std::uint16_t land; + std::int32_t unit; std::vector players; - OGPC_DECLARE_ASTUPLE(team, players) + OGPC_DECLARE_ASTUPLE(team, land, unit, players) }; struct Tile {