Adjust season enum

pull/5/head
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. // This file is automatically generated.
// Do not directly edit. // Do not directly edit.
// Generated on 2019-10-23T08:20:11.100Z. // Generated on 2019-10-23T08:22:48.171Z.
use std::fmt; use std::fmt;
use num_derive; use num_derive;

View File

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

View File

@ -1,6 +1,6 @@
// This file is automatically generated. // This file is automatically generated.
// Do not directly edit. // 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. /// League of Legends matchmaking seasons.
pub enum Season { pub enum Season {

View File

@ -1,6 +1,6 @@
// This file is automatically generated. // This file is automatically generated.
// Do not directly edit. // 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/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f // Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f

View File

@ -1,6 +1,6 @@
// This file is automatically generated. // This file is automatically generated.
// Do not directly edit. // 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/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f // Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f

View File

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