forked from mirror/Riven
1
0
Fork 0

Adjust season enum

users/mingwei/surf
Mingwei Samuel 2019-10-23 01:24:15 -07:00
parent 143e45e5d5
commit 33803631cb
6 changed files with 35 additions and 65 deletions

View File

@ -1,6 +1,6 @@
// This file is automatically generated.
// Do not directly edit.
// Generated on 2019-10-23T08:20:11.100Z.
// Generated on 2019-10-23T08:22:48.171Z.
use std::fmt;
use num_derive;

View File

@ -1,6 +1,6 @@
// This file is automatically generated.
// Do not directly edit.
// Generated on 2019-10-23T08:20:11.107Z.
// Generated on 2019-10-23T08:22:48.180Z.
/// League of Legends matchmaking queue.
pub enum Queue {
@ -9,138 +9,118 @@ pub enum Queue {
CustomGames = 0,
/// 5v5 Blind Pick games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 430
/// <br>Deprecated in patch 7.19 in favor of queueId 430
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 430")]
SummonersRift5v5BlindPickGames2 = 2,
/// 5v5 Blind Pick games games on Summoner's Rift.
SummonersRift5v5BlindPickGames430 = 430,
/// 5v5 Ranked Solo games games on Summoner's Rift.
/// # Notes
/// Deprecated in favor of queueId 420
/// <br>Deprecated in favor of queueId 420
#[deprecated(note="Deprecated in favor of queueId 420")]
SummonersRift5v5RankedSoloGames4 = 4,
/// 5v5 Ranked Solo games games on Summoner's Rift.
SummonersRift5v5RankedSoloGames420 = 420,
/// 5v5 Ranked Premade games games on Summoner's Rift.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
SummonersRift5v5RankedPremadeGames = 6,
/// Co-op vs AI games games on Summoner's Rift.
/// # Notes
/// Deprecated in favor of queueId 32 and 33
/// <br>Deprecated in favor of queueId 32 and 33
#[deprecated(note="Deprecated in favor of queueId 32 and 33")]
SummonersRiftCoOpVsAiGames = 7,
/// 3v3 Normal games games on Twisted Treeline.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 460
/// <br>Deprecated in patch 7.19 in favor of queueId 460
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 460")]
TwistedTreeline3v3NormalGames = 8,
/// 3v3 Ranked Flex games games on Twisted Treeline.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 470
/// <br>Deprecated in patch 7.19 in favor of queueId 470
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 470")]
TwistedTreeline3v3RankedFlexGames9 = 9,
/// 3v3 Ranked Flex games games on Twisted Treeline.
TwistedTreeline3v3RankedFlexGames470 = 470,
/// 5v5 Draft Pick games games on Summoner's Rift.
/// # Notes
/// Deprecated in favor of queueId 400
/// <br>Deprecated in favor of queueId 400
#[deprecated(note="Deprecated in favor of queueId 400")]
SummonersRift5v5DraftPickGames14 = 14,
/// 5v5 Draft Pick games games on Summoner's Rift.
SummonersRift5v5DraftPickGames400 = 400,
/// 5v5 Dominion Blind Pick games games on Crystal Scar.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
CrystalScar5v5DominionBlindPickGames = 16,
/// 5v5 Dominion Draft Pick games games on Crystal Scar.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
CrystalScar5v5DominionDraftPickGames = 17,
/// Dominion Co-op vs AI games games on Crystal Scar.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
CrystalScarDominionCoOpVsAiGames = 25,
/// Co-op vs AI Intro Bot games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 830
/// <br>Deprecated in patch 7.19 in favor of queueId 830
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 830")]
SummonersRiftCoOpVsAiIntroBotGames31 = 31,
/// Co-op vs. AI Intro Bot games games on Summoner's Rift.
SummonersRiftCoOpVsAiIntroBotGames830 = 830,
/// Co-op vs AI Beginner Bot games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 840
/// <br>Deprecated in patch 7.19 in favor of queueId 840
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 840")]
SummonersRiftCoOpVsAiBeginnerBotGames32 = 32,
/// Co-op vs. AI Beginner Bot games games on Summoner's Rift.
SummonersRiftCoOpVsAiBeginnerBotGames840 = 840,
/// Co-op vs AI Intermediate Bot games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 850
/// <br>Deprecated in patch 7.19 in favor of queueId 850
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 850")]
SummonersRiftCoOpVsAiIntermediateBotGames33 = 33,
/// Co-op vs. AI Intermediate Bot games games on Summoner's Rift.
SummonersRiftCoOpVsAiIntermediateBotGames850 = 850,
/// 3v3 Ranked Team games games on Twisted Treeline.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
TwistedTreeline3v3RankedTeamGames = 41,
/// 5v5 Ranked Team games games on Summoner's Rift.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
SummonersRift5v5RankedTeamGames = 42,
/// Co-op vs AI games games on Twisted Treeline.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 800
/// <br>Deprecated in patch 7.19 in favor of queueId 800
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 800")]
TwistedTreelineCoOpVsAiGames = 52,
/// 5v5 Team Builder games games on Summoner's Rift.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
SummonersRift5v5TeamBuilderGames = 61,
/// 5v5 ARAM games games on Howling Abyss.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 450
/// <br>Deprecated in patch 7.19 in favor of queueId 450
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 450")]
HowlingAbyss5v5AramGames65 = 65,
/// 5v5 ARAM games games on Howling Abyss.
HowlingAbyss5v5AramGames450 = 450,
/// ARAM Co-op vs AI games games on Howling Abyss.
/// # Notes
/// Game mode deprecated
/// <br>Game mode deprecated
#[deprecated(note="Game mode deprecated")]
HowlingAbyssAramCoOpVsAiGames = 67,
/// One for All games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 8.6 in favor of queueId 1020
/// <br>Deprecated in patch 8.6 in favor of queueId 1020
#[deprecated(note="Deprecated in patch 8.6 in favor of queueId 1020")]
SummonersRiftOneForAllGames70 = 70,
/// One for All games games on Summoner's Rift.
@ -165,26 +145,22 @@ pub enum Queue {
SummonersRiftCoOpVsAiUltraRapidFireGames = 83,
/// Doom Bots Rank 1 games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 950
/// <br>Deprecated in patch 7.19 in favor of queueId 950
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 950")]
SummonersRiftDoomBotsRank1Games = 91,
/// Doom Bots Rank 2 games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 950
/// <br>Deprecated in patch 7.19 in favor of queueId 950
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 950")]
SummonersRiftDoomBotsRank2Games = 92,
/// Doom Bots Rank 5 games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 950
/// <br>Deprecated in patch 7.19 in favor of queueId 950
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 950")]
SummonersRiftDoomBotsRank5Games = 93,
/// Ascension games games on Crystal Scar.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 910
/// <br>Deprecated in patch 7.19 in favor of queueId 910
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 910")]
CrystalScarAscensionGames96 = 96,
/// Ascension games games on Crystal Scar.
@ -197,8 +173,7 @@ pub enum Queue {
ButchersBridge5v5AramGames = 100,
/// Legend of the Poro King games games on Howling Abyss.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 920
/// <br>Deprecated in patch 7.19 in favor of queueId 920
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 920")]
HowlingAbyssLegendOfThePoroKingGames300 = 300,
/// Legend of the Poro King games games on Howling Abyss.
@ -211,8 +186,7 @@ pub enum Queue {
SummonersRiftBlackMarketBrawlersGames = 313,
/// Nexus Siege games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 940
/// <br>Deprecated in patch 7.19 in favor of queueId 940
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 940")]
SummonersRiftNexusSiegeGames315 = 315,
/// Nexus Siege games games on Summoner's Rift.
@ -222,8 +196,7 @@ pub enum Queue {
CrystalScarDefinitelyNotDominionGames = 317,
/// ARURF games games on Summoner's Rift.
/// # Notes
/// Deprecated in patch 7.19 in favor of queueId 900
/// <br>Deprecated in patch 7.19 in favor of queueId 900
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 900")]
SummonersRiftArurfGames = 318,
@ -231,8 +204,7 @@ pub enum Queue {
SummonersRiftAllRandomGames = 325,
/// 5v5 Ranked Dynamic games games on Summoner's Rift.
/// # Notes
/// Game mode deprecated in patch 6.22
/// <br>Game mode deprecated in patch 6.22
#[deprecated(note="Game mode deprecated in patch 6.22")]
SummonersRift5v5RankedDynamicGames = 410,
@ -303,8 +275,7 @@ pub enum Queue {
ConvergenceRankedTeamfightTacticsGames = 1100,
/// Nexus Blitz games games on Nexus Blitz.
/// # Notes
/// Deprecated in patch 9.2
/// <br>Deprecated in patch 9.2
#[deprecated(note="Deprecated in patch 9.2")]
NexusBlitzNexusBlitzGames = 1200,
}

View File

@ -1,6 +1,6 @@
// This file is automatically generated.
// Do not directly edit.
// Generated on 2019-10-23T08:20:11.113Z.
// Generated on 2019-10-23T08:22:48.177Z.
/// League of Legends matchmaking seasons.
pub enum Season {

View File

@ -1,6 +1,6 @@
// This file is automatically generated.
// Do not directly edit.
// Generated on 2019-10-23T08:20:11.108Z.
// Generated on 2019-10-23T08:22:48.183Z.
// http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f

View File

@ -1,6 +1,6 @@
// This file is automatically generated.
// Do not directly edit.
// Generated on 2019-10-23T08:20:11.091Z.
// Generated on 2019-10-23T08:22:48.166Z.
// http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f

View File

@ -23,8 +23,7 @@ pub enum Queue {
}}
/// {{= doc }}.
{{? notes }}
/// # Notes
/// {{= notes }}
/// <br>{{= notes }}
{{?}}
{{? deprecated}}
#[deprecated(note="{{= notes }}")]