From ac256d4c9d628bd66db1a8aa343b41089d24c6b1 Mon Sep 17 00:00:00 2001 From: Pavel Perestoronin Date: Mon, 17 Apr 2023 00:05:03 +0200 Subject: [PATCH] New: add `Author::team_number` --- src/models/battle_results.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/models/battle_results.rs b/src/models/battle_results.rs index 438eac7..dc4378d 100644 --- a/src/models/battle_results.rs +++ b/src/models/battle_results.rs @@ -193,6 +193,9 @@ pub struct Author { #[prost(uint32, tag = "101")] pub account_id: u32, + + #[prost(enumeration = "TeamNumber", tag = "102")] + pub team_number: i32, } #[derive(Message, Serialize)]