💥 Add more maps and result fields

This commit is contained in:
eigenein committed 2023-05-16 21:37:07 +02:00
1 parent da0646f40a
commit 50f15b9ae9
3 files changed
+25 -4

No files matched your search

+20 -2
View File
@@ -197,13 +197,31 @@ impl PlayerResultsInfo {
#[derive(Message, Serialize)]
pub struct Author {
/// # Note
///
/// The field is `-2` if the player is auto-destroyed by inactivity.
#[prost(int32, tag = "2")]
pub hitpoints_left: i32,
/// Earned credits, including premium and special awards and medals.
#[prost(uint32, tag = "2")]
pub credits_earned: u32,
pub total_credits: u32,
/// Combat XP, including premium.
#[prost(uint32, tag = "3")]
pub combat_xp: u32,
pub total_xp: u32,
#[prost(uint32, tag = "4")]
pub n_shots: u32,
#[prost(uint32, tag = "5")]
pub n_hits: u32,
#[prost(uint32, tag = "6")]
pub n_splashes: u32,
#[prost(uint32, tag = "7")]
pub n_penetrations: u32,
#[prost(uint32, tag = "8")]
pub damage_dealt: u32,
+3
View File
@@ -12,12 +12,15 @@ pub enum MapId {
DeadRail = 7,
FortDespair = 8,
Himmelsdorf = 9,
BlackGoldville = 10,
OasisPalms = 11,
GhostFactory = 12,
Molendijk = 14,
PortBay = 15,
WinterMalinovka = 19,
Castilla = 20,
Canal = 21,
Vineyards = 23,
YamatoHarbor = 25,
Canyon = 27,
MayanRuins = 30,