From 41a00d68f64aeeba6f23edc049ccfd128808bdf1 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Sat, 22 Jul 2023 22:07:55 -0700 Subject: [PATCH] Regen for the Arena 2v2v2v2 `CHERRY` game mode --- riven/src/consts/map.rs | 4 ++++ riven/src/consts/queue.rs | 3 +++ riven/src/endpoints.rs | 2 +- riven/src/meta.rs | 2 +- riven/src/models.rs | 13 ++++++++++--- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/riven/src/consts/map.rs b/riven/src/consts/map.rs index 5fb82f4..0d9e638 100644 --- a/riven/src/consts/map.rs +++ b/riven/src/consts/map.rs @@ -69,5 +69,9 @@ newtype_enum! { /// Convergence /// Teamfight Tactics map CONVERGENCE = 22, + /// `30`. + /// Arena + /// Map for 2v2v2v2 (`CHERRY`). Team up with a friend or venture solo in this new game mode. Face against multiple teams in chaotic battles across diverse arenas + ARENA = 30, } } diff --git a/riven/src/consts/queue.rs b/riven/src/consts/queue.rs index 77d4c98..f588e45 100644 --- a/riven/src/consts/queue.rs +++ b/riven/src/consts/queue.rs @@ -335,6 +335,9 @@ newtype_enum! { /// `1400`. /// Ultimate Spellbook games on Summoner's Rift SUMMONERS_RIFT_ULTIMATE_SPELLBOOK = 1400, + /// `1700`. + /// 2v2v2v2 `CHERRY` games on Arena + ARENA_2V2V2V2_CHERRY_ = 1700, /// `1900`. /// Pick URF games on Summoner's Rift SUMMONERS_RIFT_PICK_URF = 1900, diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs index 0510c60..c54b158 100644 --- a/riven/src/endpoints.rs +++ b/riven/src/endpoints.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 7d71fe40a50ce14ad12ed6db791a4d0bae0f810e +// Version 55e76c61b6feb1298719d6f55d89f2229e88e4eb //! 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 e02f32c..033bdeb 100644 --- a/riven/src/meta.rs +++ b/riven/src/meta.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 7d71fe40a50ce14ad12ed6db791a4d0bae0f810e +// Version 55e76c61b6feb1298719d6f55d89f2229e88e4eb //! Metadata about the Riot API and Riven. //! diff --git a/riven/src/models.rs b/riven/src/models.rs index 97c94ae..046c594 100644 --- a/riven/src/models.rs +++ b/riven/src/models.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 7d71fe40a50ce14ad12ed6db791a4d0bae0f810e +// Version 55e76c61b6feb1298719d6f55d89f2229e88e4eb #![allow(missing_docs)] @@ -1320,6 +1320,9 @@ pub mod match_v5 { #[serde(rename = "subteamPlacement")] #[serde(skip_serializing_if = "Option::is_none")] pub subteam_placement: Option, + #[serde(rename = "placement")] + #[serde(skip_serializing_if = "Option::is_none")] + pub placement: Option, } /// Perks data object. #[derive(Clone, Debug)] @@ -2097,10 +2100,14 @@ pub mod match_v5 { pub x7: MatchTimelineInfoFrameParticipantFrame, #[serde(rename = "8")] pub x8: MatchTimelineInfoFrameParticipantFrame, + /// Possibly null for the Arena 2v2v2v2 (`CHERRY`) game mode. #[serde(rename = "9")] - pub x9: MatchTimelineInfoFrameParticipantFrame, + #[serde(skip_serializing_if = "Option::is_none")] + pub x9: Option, + /// Possibly null for the Arena 2v2v2v2 (`CHERRY`) game mode. #[serde(rename = "10")] - pub x10: MatchTimelineInfoFrameParticipantFrame, + #[serde(skip_serializing_if = "Option::is_none")] + pub x10: Option, } /// MatchTimelineInfoFrame data object. #[derive(Clone, Debug)]