wotbreplay_parser/models/data/entity_method/
update_arena.rs1use prost::Message;
2use serde::Serialize;
3
4#[derive(Message, Serialize)]
5pub struct UpdateArena {
6 #[prost(message, tag = "1")]
7 pub players: Option<Players>,
8}
9
10#[derive(Message, Serialize)]
11pub struct Players {
12 #[prost(message, repeated, tag = "1")]
13 pub players: Vec<Player>,
14}
15
16#[derive(Message, Serialize)]
17pub struct Player {
18 #[prost(string, required, tag = "3")]
19 pub nickname: String,
20
21 #[prost(uint32, required, tag = "4")]
22 pub team_number: u32,
23
24 #[prost(uint32, required, tag = "7")]
25 pub account_id: u32,
26
27 #[prost(string, optional, tag = "8")]
28 pub clan_tag: Option<String>,
29
30 #[prost(uint32, optional, tag = "11")]
31 pub platoon_number: Option<u32>,
32}