diff --git a/riven/src/consts/game_mode.rs b/riven/src/consts/game_mode.rs index 96ea27b..01c0618 100644 --- a/riven/src/consts/game_mode.rs +++ b/riven/src/consts/game_mode.rs @@ -28,6 +28,8 @@ pub enum GameMode { ASCENSION, /// Blood Hunt Assassin games ASSASSINATE, + /// 2v2v2v2 + CHERRY, /// Classic Summoner's Rift and Twisted Treeline games CLASSIC, /// Dark Star: Singularity games diff --git a/riven/src/consts/team.rs b/riven/src/consts/team.rs index 5484a10..0d298b1 100644 --- a/riven/src/consts/team.rs +++ b/riven/src/consts/team.rs @@ -18,6 +18,9 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; )] #[repr(u16)] pub enum Team { + /// Team ID zero for 2v2v2v2 Arena `CHERRY` game mode. (TODO: SUBJECT TO CHANGE?) + ZERO = 0, + /// Blue team (bottom left on Summoner's Rift). BLUE = 100, /// Red team (top right on Summoner's Rift). diff --git a/riven/tests/tests_asia_jp.rs b/riven/tests/tests_asia_jp.rs index 750e0a1..c059a20 100644 --- a/riven/tests/tests_asia_jp.rs +++ b/riven/tests/tests_asia_jp.rs @@ -37,6 +37,10 @@ static MATCHES: &[&str] = &[ // New fields: // `match-v5.ParticipantDto.playerAugment[1234],playerSubteamId,subteamPlacement` "JP1_400700181", + // New field: `match-v5.ParticipantDto.placement` + "JP1_405073638", + // New ARENA 2v2v2v2 game mode, broken `subteamPlacement` + "KR_6604607115", ]; async_tests! { diff --git a/riven/tests/tests_europe.rs b/riven/tests/tests_europe.rs index ddf707f..610bac9 100644 --- a/riven/tests/tests_europe.rs +++ b/riven/tests/tests_europe.rs @@ -17,6 +17,8 @@ static MATCHES: &[&str] = &[ "EUW1_5097963383", "EUW1_5102203800", // https://github.com/MingweiSamuel/Riven/issues/36 "EUW1_5765650307", // https://gist.github.com/MingweiSamuel/d5f9dc40cc5a80a9255e488f27705c56?permalink_comment_id=4088256#gistcomment-4088256 + // New ARENA 2v2v2v2 game mode + "EUW1_6511808246", // https://github.com/MingweiSamuel/Camille/issues/99 ]; async_tests! {