From 0b8477ffbb8a4576dc29522f8ccd119bf89e10a3 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Wed, 20 Mar 2024 17:17:21 -0700 Subject: [PATCH] Regen for new `tft-match-v1.ParticipantMissionsDto` fields --- riven/src/endpoints.rs | 2 +- riven/src/meta.rs | 2 +- riven/src/models.rs | 29 ++++++++++++++++++++++++++++- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs index d797bfd..0632402 100644 --- a/riven/src/endpoints.rs +++ b/riven/src/endpoints.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version ad82c899701ee846ad2a22d04ad2f746aa5987b0 +// Version 17d2130981b1c9afd7f3143bff7d109f23910066 //! Automatically generated endpoint handles. #![allow(clippy::let_and_return, clippy::too_many_arguments)] diff --git a/riven/src/meta.rs b/riven/src/meta.rs index ca02201..c8ea456 100644 --- a/riven/src/meta.rs +++ b/riven/src/meta.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version ad82c899701ee846ad2a22d04ad2f746aa5987b0 +// Version 17d2130981b1c9afd7f3143bff7d109f23910066 //! Metadata about the Riot API and Riven. //! diff --git a/riven/src/models.rs b/riven/src/models.rs index 4fe7806..8215a8b 100644 --- a/riven/src/models.rs +++ b/riven/src/models.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version ad82c899701ee846ad2a22d04ad2f746aa5987b0 +// Version 17d2130981b1c9afd7f3143bff7d109f23910066 #![allow(missing_docs)] @@ -3430,6 +3430,33 @@ pub mod tft_match_v1 { pub vision_score: i32, #[serde(rename = "WardsKilled")] pub wards_killed: i32, + #[serde(rename = "Deaths")] + #[serde(skip_serializing_if = "Option::is_none")] + pub deaths: Option, + #[serde(rename = "KillingSprees")] + #[serde(skip_serializing_if = "Option::is_none")] + pub killing_sprees: Option, + #[serde(rename = "MagicDamageTaken")] + #[serde(skip_serializing_if = "Option::is_none")] + pub magic_damage_taken: Option, + #[serde(rename = "PentaKills")] + #[serde(skip_serializing_if = "Option::is_none")] + pub penta_kills: Option, + #[serde(rename = "PhysicalDamageDealtToChampions")] + #[serde(skip_serializing_if = "Option::is_none")] + pub physical_damage_dealt_to_champions: Option, + #[serde(rename = "TotalDamageDealtToChampions")] + #[serde(skip_serializing_if = "Option::is_none")] + pub total_damage_dealt_to_champions: Option, + #[serde(rename = "TripleKills")] + #[serde(skip_serializing_if = "Option::is_none")] + pub triple_kills: Option, + #[serde(rename = "TrueDamageDealt")] + #[serde(skip_serializing_if = "Option::is_none")] + pub true_damage_dealt: Option, + #[serde(rename = "TrueDamageTaken")] + #[serde(skip_serializing_if = "Option::is_none")] + pub true_damage_taken: Option, } }