mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-23 19:29:48 +02:00
Break: rename author_results into author and add author.account_id
This commit is contained in:
1 parent
d2fb61425a
commit
e1d9c27bda
2 files changed
+9
-5
No files matched your search
@@ -26,7 +26,7 @@ pub struct BattleResults {
|
||||
|
||||
/// Replay's author results.
|
||||
#[prost(message, required, tag = "8")]
|
||||
pub author_results: AuthorResults,
|
||||
pub author: Author,
|
||||
|
||||
/// Author's free XP, including premium.
|
||||
#[prost(uint32, tag = "137")]
|
||||
@@ -176,7 +176,7 @@ impl PlayerResultsInfo {
|
||||
}
|
||||
|
||||
#[derive(Message, Serialize)]
|
||||
pub struct AuthorResults {
|
||||
pub struct Author {
|
||||
/// Earned credits, including premium and special awards and medals.
|
||||
#[prost(uint32, tag = "2")]
|
||||
pub credits_earned: u32,
|
||||
@@ -187,4 +187,7 @@ pub struct AuthorResults {
|
||||
|
||||
#[prost(uint32, tag = "8")]
|
||||
pub damage_dealt: u32,
|
||||
|
||||
#[prost(uint32, tag = "101")]
|
||||
pub account_id: u32,
|
||||
}
|
||||
Reference in new issue
Block a user