From 755d2275324a1b5268b65917d7af93412f03c409 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Sat, 18 May 2024 23:38:30 -0700 Subject: [PATCH] Regen for various changes --- riven/src/consts/queue.rs | 3 +++ riven/src/endpoints.rs | 2 +- riven/src/meta.rs | 2 +- riven/src/models.rs | 17 ++++++++++++----- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/riven/src/consts/queue.rs b/riven/src/consts/queue.rs index ad7705d..ac8b31c 100644 --- a/riven/src/consts/queue.rs +++ b/riven/src/consts/queue.rs @@ -367,6 +367,9 @@ newtype_enum! { /// Deprecated in patch 9.2 in favor of queueId 1300 #[deprecated(note="Deprecated in patch 9.2 in favor of queueId 1300")] NEXUS_BLITZ_DEPRECATED_1200 = 1200, + /// `1210`. + /// Teamfight Tactics (Choncc's Treasure) games on Convergence + CONVERGENCE_TEAMFIGHT_TACTICS_CHONCCS_TREASURE = 1210, /// `1300`. /// Nexus Blitz games on Nexus Blitz NEXUS_BLITZ = 1300, diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs index 478df36..2182be6 100644 --- a/riven/src/endpoints.rs +++ b/riven/src/endpoints.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 26952273dd9de767dc805b41d363fe8ff8cd0510 +// Version 65bb2e6914e0be5f326abee5b7eb014c3e1b96f6 //! 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 4e8544a..21b838a 100644 --- a/riven/src/meta.rs +++ b/riven/src/meta.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 26952273dd9de767dc805b41d363fe8ff8cd0510 +// Version 65bb2e6914e0be5f326abee5b7eb014c3e1b96f6 //! Metadata about the Riot API and Riven. //! diff --git a/riven/src/models.rs b/riven/src/models.rs index 18b2a4c..700f268 100644 --- a/riven/src/models.rs +++ b/riven/src/models.rs @@ -8,7 +8,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 26952273dd9de767dc805b41d363fe8ff8cd0510 +// Version 65bb2e6914e0be5f326abee5b7eb014c3e1b96f6 #![allow(missing_docs)] @@ -86,9 +86,6 @@ pub mod champion_mastery_v4 { /// Champion level for specified player and champion combination. #[serde(rename = "championLevel")] pub champion_level: i32, - /// Summoner ID for this entry. (Encrypted) - #[serde(rename = "summonerId")] - pub summoner_id: String, /// Total number of champion points for this player and champion combination - they are used to determine championLevel. #[serde(rename = "championPoints")] pub champion_points: i32, @@ -120,7 +117,8 @@ pub mod champion_mastery_v4 { #[serde(rename = "bonus")] pub bonus: bool, #[serde(rename = "rewardConfig")] - pub reward_config: RewardConfig, + #[serde(skip_serializing_if = "Option::is_none")] + pub reward_config: Option, } /// RewardConfig data object. #[derive(Clone, Debug)] @@ -1729,6 +1727,15 @@ pub mod match_v5 { #[serde(rename = "visionScoreAdvantageLaneOpponent")] #[serde(skip_serializing_if = "Option::is_none")] pub vision_score_advantage_lane_opponent: Option, + #[serde(rename = "InfernalScalePickup")] + #[serde(skip_serializing_if = "Option::is_none")] + pub infernal_scale_pickup: Option, + #[serde(rename = "fistBumpParticipation")] + #[serde(skip_serializing_if = "Option::is_none")] + pub fist_bump_participation: Option, + #[serde(rename = "voidMonsterKill")] + #[serde(skip_serializing_if = "Option::is_none")] + pub void_monster_kill: Option, } /// Missions data object. /// # Description