From d01c2e8d58ef8fbf366bb548a0c1e7b46f60fb71 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Sun, 3 Nov 2024 22:01:08 -0800 Subject: [PATCH] Regen again for missing fields --- riven/src/endpoints.rs | 2 +- riven/src/meta.rs | 2 +- riven/src/models.rs | 18 +++++++++++++++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs index d88ddfe..0f7b82b 100644 --- a/riven/src/endpoints.rs +++ b/riven/src/endpoints.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 91e4e0e66537fdebe7117ee0589a16627335b056 +// Version ebc454ceebe6e7642609d4c7280bde93b93adba0 //! 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 5b9ba61..835b07f 100644 --- a/riven/src/meta.rs +++ b/riven/src/meta.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 91e4e0e66537fdebe7117ee0589a16627335b056 +// Version ebc454ceebe6e7642609d4c7280bde93b93adba0 //! Metadata about the Riot API and Riven. //! diff --git a/riven/src/models.rs b/riven/src/models.rs index 0bc9604..07cf1c8 100644 --- a/riven/src/models.rs +++ b/riven/src/models.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 91e4e0e66537fdebe7117ee0589a16627335b056 +// Version ebc454ceebe6e7642609d4c7280bde93b93adba0 #![allow(missing_docs)] @@ -1386,6 +1386,10 @@ pub mod match_v5 { #[serde(rename = "riotIdName")] #[serde(skip_serializing_if = "Option::is_none")] pub riot_id_name: Option, + /// https://github.com/RiotGames/developer-relations/issues/814 + #[serde(rename = "retreatPings")] + #[serde(skip_serializing_if = "Option::is_none")] + pub retreat_pings: Option, } /// Challenges data object. /// # Description @@ -1836,6 +1840,9 @@ pub mod match_v5 { #[serde(rename = "wardTakedownsBefore20M")] #[serde(skip_serializing_if = "Option::is_none")] pub ward_takedowns_before20_m: Option, + #[serde(rename = "HealFromMapSources")] + #[serde(skip_serializing_if = "Option::is_none")] + pub heal_from_map_sources: Option, } /// Missions data object. /// # Description @@ -3072,9 +3079,11 @@ pub mod tft_match_v1 { #[serde(rename = "puuid")] pub puuid: String, #[serde(rename = "riotIdGameName")] - pub riot_id_game_name: String, + #[serde(skip_serializing_if = "Option::is_none")] + pub riot_id_game_name: Option, #[serde(rename = "riotIdTagline")] - pub riot_id_tagline: String, + #[serde(skip_serializing_if = "Option::is_none")] + pub riot_id_tagline: Option, /// The number of seconds before the participant was eliminated. #[serde(rename = "time_eliminated")] pub time_eliminated: f32, @@ -3096,6 +3105,9 @@ pub mod tft_match_v1 { #[serde(rename = "missions")] #[serde(skip_serializing_if = "Option::is_none")] pub missions: Option, + #[serde(rename = "win")] + #[serde(skip_serializing_if = "Option::is_none")] + pub win: Option, } /// Trait data object. #[derive(Clone, Debug)]