New: add AvatarInfo

This commit is contained in:
eigenein committed 2022-12-07 15:40:34 +01:00
1 parent 3913046be7
commit ba28620be7
2 files changed
+33 -1

No files matched your search

+21
View File
@@ -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,
}