forked from mirror/Riven
Add new Arena 2v2v2v2 CHERRY
game mode, tests
This commit is contained in:
parent
7c0fff55ae
commit
800f9c83f4
4 changed files with 11 additions and 0 deletions
|
@ -28,6 +28,8 @@ pub enum GameMode {
|
||||||
ASCENSION,
|
ASCENSION,
|
||||||
/// Blood Hunt Assassin games
|
/// Blood Hunt Assassin games
|
||||||
ASSASSINATE,
|
ASSASSINATE,
|
||||||
|
/// 2v2v2v2
|
||||||
|
CHERRY,
|
||||||
/// Classic Summoner's Rift and Twisted Treeline games
|
/// Classic Summoner's Rift and Twisted Treeline games
|
||||||
CLASSIC,
|
CLASSIC,
|
||||||
/// Dark Star: Singularity games
|
/// Dark Star: Singularity games
|
||||||
|
|
|
@ -18,6 +18,9 @@ use serde_repr::{Deserialize_repr, Serialize_repr};
|
||||||
)]
|
)]
|
||||||
#[repr(u16)]
|
#[repr(u16)]
|
||||||
pub enum Team {
|
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 team (bottom left on Summoner's Rift).
|
||||||
BLUE = 100,
|
BLUE = 100,
|
||||||
/// Red team (top right on Summoner's Rift).
|
/// Red team (top right on Summoner's Rift).
|
||||||
|
|
|
@ -37,6 +37,10 @@ static MATCHES: &[&str] = &[
|
||||||
// New fields:
|
// New fields:
|
||||||
// `match-v5.ParticipantDto.playerAugment[1234],playerSubteamId,subteamPlacement`
|
// `match-v5.ParticipantDto.playerAugment[1234],playerSubteamId,subteamPlacement`
|
||||||
"JP1_400700181",
|
"JP1_400700181",
|
||||||
|
// New field: `match-v5.ParticipantDto.placement`
|
||||||
|
"JP1_405073638",
|
||||||
|
// New ARENA 2v2v2v2 game mode, broken `subteamPlacement`
|
||||||
|
"KR_6604607115",
|
||||||
];
|
];
|
||||||
|
|
||||||
async_tests! {
|
async_tests! {
|
||||||
|
|
|
@ -17,6 +17,8 @@ static MATCHES: &[&str] = &[
|
||||||
"EUW1_5097963383",
|
"EUW1_5097963383",
|
||||||
"EUW1_5102203800", // https://github.com/MingweiSamuel/Riven/issues/36
|
"EUW1_5102203800", // https://github.com/MingweiSamuel/Riven/issues/36
|
||||||
"EUW1_5765650307", // https://gist.github.com/MingweiSamuel/d5f9dc40cc5a80a9255e488f27705c56?permalink_comment_id=4088256#gistcomment-4088256
|
"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! {
|
async_tests! {
|
||||||
|
|
Loading…
Reference in a new issue