forked from mirror/Riven
Regen for Zeri, Renata Glasc, and ARURF queue ID updates.
This commit is contained in:
parent
cb145bea0f
commit
7865a439e1
5 changed files with 22 additions and 6 deletions
|
@ -112,6 +112,7 @@ newtype_enum! {
|
|||
/// `RAMMUS` | "Rammus" | "Rammus" | 33
|
||||
/// `REK_SAI` | "Rek'Sai" | "RekSai" | 421
|
||||
/// `RELL` | "Rell" | "Rell" | 526
|
||||
/// `RENATA_GLASC` | "Renata Glasc" | "Renata" | 888
|
||||
/// `RENEKTON` | "Renekton" | "Renekton" | 58
|
||||
/// `RENGAR` | "Rengar" | "Rengar" | 107
|
||||
/// `RIVEN` | "Riven" | "Riven" | 92
|
||||
|
@ -168,6 +169,7 @@ newtype_enum! {
|
|||
/// `YUUMI` | "Yuumi" | "Yuumi" | 350
|
||||
/// `ZAC` | "Zac" | "Zac" | 154
|
||||
/// `ZED` | "Zed" | "Zed" | 238
|
||||
/// `ZERI` | "Zeri" | "Zeri" | 221
|
||||
/// `ZIGGS` | "Ziggs" | "Ziggs" | 115
|
||||
/// `ZILEAN` | "Zilean" | "Zilean" | 26
|
||||
/// `ZOE` | "Zoe" | "Zoe" | 142
|
||||
|
@ -369,6 +371,8 @@ newtype_enum! {
|
|||
REK_SAI = 421,
|
||||
/// `526`.
|
||||
RELL = 526,
|
||||
/// `888`.
|
||||
RENATA_GLASC = 888,
|
||||
/// `58`.
|
||||
RENEKTON = 58,
|
||||
/// `107`.
|
||||
|
@ -481,6 +485,8 @@ newtype_enum! {
|
|||
ZAC = 154,
|
||||
/// `238`.
|
||||
ZED = 238,
|
||||
/// `221`.
|
||||
ZERI = 221,
|
||||
/// `115`.
|
||||
ZIGGS = 115,
|
||||
/// `26`.
|
||||
|
@ -593,6 +599,7 @@ impl Champion {
|
|||
Self::RAMMUS => Some("Rammus"),
|
||||
Self::REK_SAI => Some("Rek'Sai"),
|
||||
Self::RELL => Some("Rell"),
|
||||
Self::RENATA_GLASC => Some("Renata Glasc"),
|
||||
Self::RENEKTON => Some("Renekton"),
|
||||
Self::RENGAR => Some("Rengar"),
|
||||
Self::RIVEN => Some("Riven"),
|
||||
|
@ -649,6 +656,7 @@ impl Champion {
|
|||
Self::YUUMI => Some("Yuumi"),
|
||||
Self::ZAC => Some("Zac"),
|
||||
Self::ZED => Some("Zed"),
|
||||
Self::ZERI => Some("Zeri"),
|
||||
Self::ZIGGS => Some("Ziggs"),
|
||||
Self::ZILEAN => Some("Zilean"),
|
||||
Self::ZOE => Some("Zoe"),
|
||||
|
@ -671,6 +679,7 @@ impl Champion {
|
|||
/// `KHA_ZIX` | "Kha'Zix" | "Khazix" | 121
|
||||
/// `LE_BLANC` | "LeBlanc" | "Leblanc" | 7
|
||||
/// `NUNU_WILLUMP` | "Nunu & Willump" | "Nunu" | 20
|
||||
/// `RENATA_GLASC` | "Renata Glasc" | "Renata" | 888
|
||||
/// `VEL_KOZ` | "Vel'Koz" | "Velkoz" | 161
|
||||
/// `WUKONG` | "Wukong" | "MonkeyKing" | 62
|
||||
pub const fn identifier(self) -> Option<&'static str> {
|
||||
|
@ -772,6 +781,7 @@ impl Champion {
|
|||
Self::RAMMUS => Some("Rammus"),
|
||||
Self::REK_SAI => Some("RekSai"),
|
||||
Self::RELL => Some("Rell"),
|
||||
Self::RENATA_GLASC => Some("Renata"),
|
||||
Self::RENEKTON => Some("Renekton"),
|
||||
Self::RENGAR => Some("Rengar"),
|
||||
Self::RIVEN => Some("Riven"),
|
||||
|
@ -828,6 +838,7 @@ impl Champion {
|
|||
Self::YUUMI => Some("Yuumi"),
|
||||
Self::ZAC => Some("Zac"),
|
||||
Self::ZED => Some("Zed"),
|
||||
Self::ZERI => Some("Zeri"),
|
||||
Self::ZIGGS => Some("Ziggs"),
|
||||
Self::ZILEAN => Some("Zilean"),
|
||||
Self::ZOE => Some("Zoe"),
|
||||
|
@ -985,6 +996,7 @@ impl std::str::FromStr for Champion {
|
|||
/* REKS */ [ 'R', 'E', 'K', 'S'] => Ok(Champion::REK_SAI),
|
||||
/* REK */ [ 'R', 'E', 'K', '\0'] => Ok(Champion::REK_SAI),
|
||||
/* 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),
|
||||
/* RENG */ [ 'R', 'E', 'N', 'G'] => Ok(Champion::RENGAR),
|
||||
/* 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),
|
||||
/* ZAC */ [ 'Z', 'A', 'C', '\0'] => Ok(Champion::ZAC),
|
||||
/* ZED */ [ 'Z', 'E', 'D', '\0'] => Ok(Champion::ZED),
|
||||
/* ZERI */ [ 'Z', 'E', 'R', 'I'] => Ok(Champion::ZERI),
|
||||
/* ZIGG */ [ 'Z', 'I', 'G', 'G'] => Ok(Champion::ZIGGS),
|
||||
/* ZILE */ [ 'Z', 'I', 'L', 'E'] => Ok(Champion::ZILEAN),
|
||||
/* ZOE */ [ 'Z', 'O', 'E', '\0'] => Ok(Champion::ZOE),
|
||||
|
|
|
@ -183,7 +183,7 @@ newtype_enum! {
|
|||
/// ARURF games on Summoner's Rift
|
||||
/// 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`.
|
||||
/// All Random games on Summoner's Rift
|
||||
SUMMONERS_RIFT_ALL_RANDOM = 325,
|
||||
|
@ -249,8 +249,8 @@ newtype_enum! {
|
|||
/// Co-op vs. AI Intermediate Bot games on Summoner's Rift
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI_INTERMEDIATE_BOT = 850,
|
||||
/// `900`.
|
||||
/// URF games on Summoner's Rift
|
||||
SUMMONERS_RIFT_URF = 900,
|
||||
/// ARURF games on Summoner's Rift
|
||||
SUMMONERS_RIFT_ARURF = 900,
|
||||
/// `910`.
|
||||
/// Ascension games on Crystal Scar
|
||||
CRYSTAL_SCAR_ASCENSION = 910,
|
||||
|
@ -331,6 +331,9 @@ newtype_enum! {
|
|||
/// `1400`.
|
||||
/// Ultimate Spellbook games on Summoner's Rift
|
||||
SUMMONERS_RIFT_ULTIMATE_SPELLBOOK = 1400,
|
||||
/// `1900`.
|
||||
/// Pick URF games on Summoner's Rift
|
||||
SUMMONERS_RIFT_PICK_URF = 1900,
|
||||
/// `2000`.
|
||||
/// Tutorial 1 games on Summoner's Rift
|
||||
SUMMONERS_RIFT_TUTORIAL_1 = 2000,
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 517bb1adbfb393d65b8829b208ebe331bb6e73dc
|
||||
// Version be7cba85eef6d2262d61d1befff94fe2d6628d8e
|
||||
|
||||
//! Automatically generated endpoint handles.
|
||||
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 517bb1adbfb393d65b8829b208ebe331bb6e73dc
|
||||
// Version be7cba85eef6d2262d61d1befff94fe2d6628d8e
|
||||
|
||||
//! Metadata about the Riot API and Riven.
|
||||
//!
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 517bb1adbfb393d65b8829b208ebe331bb6e73dc
|
||||
// Version be7cba85eef6d2262d61d1befff94fe2d6628d8e
|
||||
|
||||
//! Data transfer structs.
|
||||
//!
|
||||
|
|
Loading…
Reference in a new issue