From 33803631cbf0a490a60b19ae794f4d4b532eddbb Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Wed, 23 Oct 2019 01:24:15 -0700 Subject: [PATCH] Adjust season enum --- src/consts/champion.rs | 2 +- src/consts/queue.rs | 89 +++++++++++++-------------------------- src/consts/season.rs | 2 +- src/endpoints.rs | 2 +- src/endpoints/dto.rs | 2 +- srcgen/consts/queue.rs.dt | 3 +- 6 files changed, 35 insertions(+), 65 deletions(-) diff --git a/src/consts/champion.rs b/src/consts/champion.rs index 7ee5713..6dc30b2 100644 --- a/src/consts/champion.rs +++ b/src/consts/champion.rs @@ -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; diff --git a/src/consts/queue.rs b/src/consts/queue.rs index 762bbdf..420540d 100644 --- a/src/consts/queue.rs +++ b/src/consts/queue.rs @@ -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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
Game mode deprecated #[deprecated(note="Game mode deprecated")] CrystalScar5v5DominionBlindPickGames = 16, /// 5v5 Dominion Draft Pick games games on Crystal Scar. - /// # Notes - /// Game mode deprecated + ///
Game mode deprecated #[deprecated(note="Game mode deprecated")] CrystalScar5v5DominionDraftPickGames = 17, /// Dominion Co-op vs AI games games on Crystal Scar. - /// # Notes - /// Game mode deprecated + ///
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 + ///
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 + ///
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 + ///
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 + ///
Game mode deprecated #[deprecated(note="Game mode deprecated")] TwistedTreeline3v3RankedTeamGames = 41, /// 5v5 Ranked Team games games on Summoner's Rift. - /// # Notes - /// Game mode deprecated + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
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 + ///
Deprecated in patch 9.2 #[deprecated(note="Deprecated in patch 9.2")] NexusBlitzNexusBlitzGames = 1200, } \ No newline at end of file diff --git a/src/consts/season.rs b/src/consts/season.rs index 8eb70ac..e9332d5 100644 --- a/src/consts/season.rs +++ b/src/consts/season.rs @@ -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 { diff --git a/src/endpoints.rs b/src/endpoints.rs index 93fe419..b56fa8f 100644 --- a/src/endpoints.rs +++ b/src/endpoints.rs @@ -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 diff --git a/src/endpoints/dto.rs b/src/endpoints/dto.rs index 01e0467..27cea37 100644 --- a/src/endpoints/dto.rs +++ b/src/endpoints/dto.rs @@ -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 diff --git a/srcgen/consts/queue.rs.dt b/srcgen/consts/queue.rs.dt index 121e911..125f978 100644 --- a/srcgen/consts/queue.rs.dt +++ b/srcgen/consts/queue.rs.dt @@ -23,8 +23,7 @@ pub enum Queue { }} /// {{= doc }}. {{? notes }} - /// # Notes - /// {{= notes }} + ///
{{= notes }} {{?}} {{? deprecated}} #[deprecated(note="{{= notes }}")]