Regen for Zeri, Renata Glasc, and ARURF queue ID updates.

This commit is contained in:
Mingwei Samuel 2022-02-08 16:52:17 -08:00
parent cb145bea0f
commit 7865a439e1
5 changed files with 22 additions and 6 deletions

View file

@ -112,6 +112,7 @@ newtype_enum! {
/// `RAMMUS` | "Rammus" | "Rammus" | 33 /// `RAMMUS` | "Rammus" | "Rammus" | 33
/// `REK_SAI` | "Rek'Sai" | "RekSai" | 421 /// `REK_SAI` | "Rek'Sai" | "RekSai" | 421
/// `RELL` | "Rell" | "Rell" | 526 /// `RELL` | "Rell" | "Rell" | 526
/// `RENATA_GLASC` | "Renata Glasc" | "Renata" | 888
/// `RENEKTON` | "Renekton" | "Renekton" | 58 /// `RENEKTON` | "Renekton" | "Renekton" | 58
/// `RENGAR` | "Rengar" | "Rengar" | 107 /// `RENGAR` | "Rengar" | "Rengar" | 107
/// `RIVEN` | "Riven" | "Riven" | 92 /// `RIVEN` | "Riven" | "Riven" | 92
@ -168,6 +169,7 @@ newtype_enum! {
/// `YUUMI` | "Yuumi" | "Yuumi" | 350 /// `YUUMI` | "Yuumi" | "Yuumi" | 350
/// `ZAC` | "Zac" | "Zac" | 154 /// `ZAC` | "Zac" | "Zac" | 154
/// `ZED` | "Zed" | "Zed" | 238 /// `ZED` | "Zed" | "Zed" | 238
/// `ZERI` | "Zeri" | "Zeri" | 221
/// `ZIGGS` | "Ziggs" | "Ziggs" | 115 /// `ZIGGS` | "Ziggs" | "Ziggs" | 115
/// `ZILEAN` | "Zilean" | "Zilean" | 26 /// `ZILEAN` | "Zilean" | "Zilean" | 26
/// `ZOE` | "Zoe" | "Zoe" | 142 /// `ZOE` | "Zoe" | "Zoe" | 142
@ -369,6 +371,8 @@ newtype_enum! {
REK_SAI = 421, REK_SAI = 421,
/// `526`. /// `526`.
RELL = 526, RELL = 526,
/// `888`.
RENATA_GLASC = 888,
/// `58`. /// `58`.
RENEKTON = 58, RENEKTON = 58,
/// `107`. /// `107`.
@ -481,6 +485,8 @@ newtype_enum! {
ZAC = 154, ZAC = 154,
/// `238`. /// `238`.
ZED = 238, ZED = 238,
/// `221`.
ZERI = 221,
/// `115`. /// `115`.
ZIGGS = 115, ZIGGS = 115,
/// `26`. /// `26`.
@ -593,6 +599,7 @@ impl Champion {
Self::RAMMUS => Some("Rammus"), Self::RAMMUS => Some("Rammus"),
Self::REK_SAI => Some("Rek'Sai"), Self::REK_SAI => Some("Rek'Sai"),
Self::RELL => Some("Rell"), Self::RELL => Some("Rell"),
Self::RENATA_GLASC => Some("Renata Glasc"),
Self::RENEKTON => Some("Renekton"), Self::RENEKTON => Some("Renekton"),
Self::RENGAR => Some("Rengar"), Self::RENGAR => Some("Rengar"),
Self::RIVEN => Some("Riven"), Self::RIVEN => Some("Riven"),
@ -649,6 +656,7 @@ impl Champion {
Self::YUUMI => Some("Yuumi"), Self::YUUMI => Some("Yuumi"),
Self::ZAC => Some("Zac"), Self::ZAC => Some("Zac"),
Self::ZED => Some("Zed"), Self::ZED => Some("Zed"),
Self::ZERI => Some("Zeri"),
Self::ZIGGS => Some("Ziggs"), Self::ZIGGS => Some("Ziggs"),
Self::ZILEAN => Some("Zilean"), Self::ZILEAN => Some("Zilean"),
Self::ZOE => Some("Zoe"), Self::ZOE => Some("Zoe"),
@ -671,6 +679,7 @@ impl Champion {
/// `KHA_ZIX` | "Kha'Zix" | "Khazix" | 121 /// `KHA_ZIX` | "Kha'Zix" | "Khazix" | 121
/// `LE_BLANC` | "LeBlanc" | "Leblanc" | 7 /// `LE_BLANC` | "LeBlanc" | "Leblanc" | 7
/// `NUNU_WILLUMP` | "Nunu & Willump" | "Nunu" | 20 /// `NUNU_WILLUMP` | "Nunu & Willump" | "Nunu" | 20
/// `RENATA_GLASC` | "Renata Glasc" | "Renata" | 888
/// `VEL_KOZ` | "Vel'Koz" | "Velkoz" | 161 /// `VEL_KOZ` | "Vel'Koz" | "Velkoz" | 161
/// `WUKONG` | "Wukong" | "MonkeyKing" | 62 /// `WUKONG` | "Wukong" | "MonkeyKing" | 62
pub const fn identifier(self) -> Option<&'static str> { pub const fn identifier(self) -> Option<&'static str> {
@ -772,6 +781,7 @@ impl Champion {
Self::RAMMUS => Some("Rammus"), Self::RAMMUS => Some("Rammus"),
Self::REK_SAI => Some("RekSai"), Self::REK_SAI => Some("RekSai"),
Self::RELL => Some("Rell"), Self::RELL => Some("Rell"),
Self::RENATA_GLASC => Some("Renata"),
Self::RENEKTON => Some("Renekton"), Self::RENEKTON => Some("Renekton"),
Self::RENGAR => Some("Rengar"), Self::RENGAR => Some("Rengar"),
Self::RIVEN => Some("Riven"), Self::RIVEN => Some("Riven"),
@ -828,6 +838,7 @@ impl Champion {
Self::YUUMI => Some("Yuumi"), Self::YUUMI => Some("Yuumi"),
Self::ZAC => Some("Zac"), Self::ZAC => Some("Zac"),
Self::ZED => Some("Zed"), Self::ZED => Some("Zed"),
Self::ZERI => Some("Zeri"),
Self::ZIGGS => Some("Ziggs"), Self::ZIGGS => Some("Ziggs"),
Self::ZILEAN => Some("Zilean"), Self::ZILEAN => Some("Zilean"),
Self::ZOE => Some("Zoe"), Self::ZOE => Some("Zoe"),
@ -985,6 +996,7 @@ impl std::str::FromStr for Champion {
/* REKS */ [ 'R', 'E', 'K', 'S'] => Ok(Champion::REK_SAI), /* REKS */ [ 'R', 'E', 'K', 'S'] => Ok(Champion::REK_SAI),
/* REK */ [ 'R', 'E', 'K', '\0'] => Ok(Champion::REK_SAI), /* REK */ [ 'R', 'E', 'K', '\0'] => Ok(Champion::REK_SAI),
/* RELL */ [ 'R', 'E', 'L', 'L'] => Ok(Champion::RELL), /* RELL */ [ 'R', 'E', 'L', 'L'] => Ok(Champion::RELL),
/* RENA */ [ 'R', 'E', 'N', 'A'] => Ok(Champion::RENATA_GLASC),
/* RENE */ [ 'R', 'E', 'N', 'E'] => Ok(Champion::RENEKTON), /* RENE */ [ 'R', 'E', 'N', 'E'] => Ok(Champion::RENEKTON),
/* RENG */ [ 'R', 'E', 'N', 'G'] => Ok(Champion::RENGAR), /* RENG */ [ 'R', 'E', 'N', 'G'] => Ok(Champion::RENGAR),
/* RIVE */ [ 'R', 'I', 'V', 'E'] => Ok(Champion::RIVEN), /* RIVE */ [ 'R', 'I', 'V', 'E'] => Ok(Champion::RIVEN),
@ -1044,6 +1056,7 @@ impl std::str::FromStr for Champion {
/* YUUM */ [ 'Y', 'U', 'U', 'M'] => Ok(Champion::YUUMI), /* YUUM */ [ 'Y', 'U', 'U', 'M'] => Ok(Champion::YUUMI),
/* ZAC */ [ 'Z', 'A', 'C', '\0'] => Ok(Champion::ZAC), /* ZAC */ [ 'Z', 'A', 'C', '\0'] => Ok(Champion::ZAC),
/* ZED */ [ 'Z', 'E', 'D', '\0'] => Ok(Champion::ZED), /* ZED */ [ 'Z', 'E', 'D', '\0'] => Ok(Champion::ZED),
/* ZERI */ [ 'Z', 'E', 'R', 'I'] => Ok(Champion::ZERI),
/* ZIGG */ [ 'Z', 'I', 'G', 'G'] => Ok(Champion::ZIGGS), /* ZIGG */ [ 'Z', 'I', 'G', 'G'] => Ok(Champion::ZIGGS),
/* ZILE */ [ 'Z', 'I', 'L', 'E'] => Ok(Champion::ZILEAN), /* ZILE */ [ 'Z', 'I', 'L', 'E'] => Ok(Champion::ZILEAN),
/* ZOE */ [ 'Z', 'O', 'E', '\0'] => Ok(Champion::ZOE), /* ZOE */ [ 'Z', 'O', 'E', '\0'] => Ok(Champion::ZOE),

View file

@ -183,7 +183,7 @@ newtype_enum! {
/// ARURF games on Summoner's Rift /// ARURF games on Summoner's Rift
/// Deprecated in patch 7.19 in favor of queueId 900 /// Deprecated in patch 7.19 in favor of queueId 900
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 900")] #[deprecated(note="Deprecated in patch 7.19 in favor of queueId 900")]
SUMMONERS_RIFT_ARURF = 318, SUMMONERS_RIFT_ARURF_DEPRECATED_318 = 318,
/// `325`. /// `325`.
/// All Random games on Summoner's Rift /// All Random games on Summoner's Rift
SUMMONERS_RIFT_ALL_RANDOM = 325, SUMMONERS_RIFT_ALL_RANDOM = 325,
@ -249,8 +249,8 @@ newtype_enum! {
/// Co-op vs. AI Intermediate Bot games on Summoner's Rift /// Co-op vs. AI Intermediate Bot games on Summoner's Rift
SUMMONERS_RIFT_CO_OP_VS_AI_INTERMEDIATE_BOT = 850, SUMMONERS_RIFT_CO_OP_VS_AI_INTERMEDIATE_BOT = 850,
/// `900`. /// `900`.
/// URF games on Summoner's Rift /// ARURF games on Summoner's Rift
SUMMONERS_RIFT_URF = 900, SUMMONERS_RIFT_ARURF = 900,
/// `910`. /// `910`.
/// Ascension games on Crystal Scar /// Ascension games on Crystal Scar
CRYSTAL_SCAR_ASCENSION = 910, CRYSTAL_SCAR_ASCENSION = 910,
@ -331,6 +331,9 @@ newtype_enum! {
/// `1400`. /// `1400`.
/// Ultimate Spellbook games on Summoner's Rift /// Ultimate Spellbook games on Summoner's Rift
SUMMONERS_RIFT_ULTIMATE_SPELLBOOK = 1400, SUMMONERS_RIFT_ULTIMATE_SPELLBOOK = 1400,
/// `1900`.
/// Pick URF games on Summoner's Rift
SUMMONERS_RIFT_PICK_URF = 1900,
/// `2000`. /// `2000`.
/// Tutorial 1 games on Summoner's Rift /// Tutorial 1 games on Summoner's Rift
SUMMONERS_RIFT_TUTORIAL_1 = 2000, SUMMONERS_RIFT_TUTORIAL_1 = 2000,

View file

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 517bb1adbfb393d65b8829b208ebe331bb6e73dc // Version be7cba85eef6d2262d61d1befff94fe2d6628d8e
//! Automatically generated endpoint handles. //! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)] #![allow(clippy::let_and_return, clippy::too_many_arguments)]

View file

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 517bb1adbfb393d65b8829b208ebe331bb6e73dc // Version be7cba85eef6d2262d61d1befff94fe2d6628d8e
//! Metadata about the Riot API and Riven. //! Metadata about the Riot API and Riven.
//! //!

View file

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 517bb1adbfb393d65b8829b208ebe331bb6e73dc // Version be7cba85eef6d2262d61d1befff94fe2d6628d8e
//! Data transfer structs. //! Data transfer structs.
//! //!