mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-23 11:19:47 +02:00
New: add AvatarInfo
This commit is contained in:
1 parent
3913046be7
commit
ba28620be7
2 files changed
+33
-1
No files matched your search
@@ -72,6 +72,9 @@ pub struct PlayerInfo {
|
||||
|
||||
#[prost(string, optional, tag = "5")]
|
||||
pub clan_tag: Option<String>,
|
||||
|
||||
#[prost(message, required, tag = "7")]
|
||||
pub avatar: Avatar,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
@@ -191,3 +194,21 @@ pub struct Author {
|
||||
#[prost(uint32, tag = "101")]
|
||||
pub account_id: u32,
|
||||
}
|
||||
|
||||
#[derive(Message, Serialize)]
|
||||
pub struct Avatar {
|
||||
#[prost(message, required, tag = "2")]
|
||||
pub info: AvatarInfo,
|
||||
}
|
||||
|
||||
#[derive(Message, Serialize)]
|
||||
pub struct AvatarInfo {
|
||||
#[prost(string, tag = "2")]
|
||||
pub gfx_url: String,
|
||||
|
||||
#[prost(string, tag = "3")]
|
||||
pub gfx2_url: String,
|
||||
|
||||
#[prost(string, tag = "4")]
|
||||
pub kind: String,
|
||||
}
|
||||
Reference in new issue
Block a user