From e4af32288d56ace31b88a346940be90140b8ace2 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Fri, 16 Feb 2024 15:57:59 -0800 Subject: [PATCH] Regen for new `endOfGameResult` fields --- riven/src/endpoints.rs | 2 +- riven/src/meta.rs | 2 +- riven/src/models.rs | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs index 98367aa..85ca0e1 100644 --- a/riven/src/endpoints.rs +++ b/riven/src/endpoints.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version d4f02b20da80dd2c869da349ba774ef6eddc22fa +// Version 48735a0c9d1c521d94a20ff0b0b9dc927ab430ca //! 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 98dae89..21b067f 100644 --- a/riven/src/meta.rs +++ b/riven/src/meta.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version d4f02b20da80dd2c869da349ba774ef6eddc22fa +// Version 48735a0c9d1c521d94a20ff0b0b9dc927ab430ca //! Metadata about the Riot API and Riven. //! diff --git a/riven/src/models.rs b/riven/src/models.rs index 4ff3e78..d0c0d04 100644 --- a/riven/src/models.rs +++ b/riven/src/models.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version d4f02b20da80dd2c869da349ba774ef6eddc22fa +// Version 48735a0c9d1c521d94a20ff0b0b9dc927ab430ca #![allow(missing_docs)] @@ -1020,6 +1020,9 @@ pub mod match_v5 { #[serde(rename = "tournamentCode")] #[serde(skip_serializing_if = "Option::is_none")] pub tournament_code: Option, + #[serde(rename = "endOfGameResult")] + #[serde(skip_serializing_if = "Option::is_none")] + pub end_of_game_result: Option, } /// Participant data object. #[derive(Clone, Debug)] @@ -2253,6 +2256,9 @@ pub mod match_v5 { #[serde(rename = "participants")] #[serde(skip_serializing_if = "Option::is_none")] pub participants: Option>, + #[serde(rename = "endOfGameResult")] + #[serde(skip_serializing_if = "Option::is_none")] + pub end_of_game_result: Option, } } @@ -2743,6 +2749,9 @@ pub mod tft_match_v1 { /// Teamfight Tactics set number. #[serde(rename = "tft_set_number")] pub tft_set_number: i32, + #[serde(rename = "endOfGameResult")] + #[serde(skip_serializing_if = "Option::is_none")] + pub end_of_game_result: Option, } /// Participant data object. #[derive(Clone, Debug)]