mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-27 03:16:33 +00:00
Update enum numeric values (fixes #29), update doc links, regen
This commit is contained in:
parent
394e6c72e2
commit
32e70437ab
14 changed files with 296 additions and 15 deletions
|
@ -173,7 +173,7 @@ impl RiotApiConfig {
|
|||
/// evenly.
|
||||
///
|
||||
/// Note that if you have multiple instances hitting _different_ methods,
|
||||
/// you should use [set_app_rate_usage_factor()] and [set_method_rate_usage_factor()]
|
||||
/// you should use [Self::set_app_rate_usage_factor()] and [Self::set_method_rate_usage_factor()]
|
||||
/// separately, as this sets both.
|
||||
///
|
||||
/// This also can be used to reduce the chance of hitting 429s, although
|
||||
|
@ -194,7 +194,7 @@ impl RiotApiConfig {
|
|||
panic!("rate_usage_factor \"{}\" not in range (0, 1].", rate_usage_factor);
|
||||
}
|
||||
|
||||
/// See [set_rate_usage_factor]. Setting this is useful if you have multiple
|
||||
/// See [Self::set_rate_usage_factor]. Setting this is useful if you have multiple
|
||||
/// instances sharing the app rate limit, but are hitting distinct methods
|
||||
/// and therefore do not need their method usage decreased.
|
||||
///
|
||||
|
@ -212,7 +212,7 @@ impl RiotApiConfig {
|
|||
panic!("app_rate_usage_factor \"{}\" not in range (0, 1].", app_rate_usage_factor);
|
||||
}
|
||||
|
||||
/// See [set_rate_usage_factor] and [set_app_rate_usage_factor].
|
||||
/// See [Self::set_rate_usage_factor] and [Self::set_app_rate_usage_factor].
|
||||
/// This method is mainly provided for completeness, though it may be
|
||||
/// useful in advanced use cases.
|
||||
///
|
||||
|
|
|
@ -177,162 +177,319 @@ newtype_enum! {
|
|||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(transparent)]
|
||||
pub newtype_enum Champion(i16) {
|
||||
/// `266`.
|
||||
AATROX = 266,
|
||||
/// `103`.
|
||||
AHRI = 103,
|
||||
/// `84`.
|
||||
AKALI = 84,
|
||||
/// `166`.
|
||||
AKSHAN = 166,
|
||||
/// `12`.
|
||||
ALISTAR = 12,
|
||||
/// `32`.
|
||||
AMUMU = 32,
|
||||
/// `34`.
|
||||
ANIVIA = 34,
|
||||
/// `1`.
|
||||
ANNIE = 1,
|
||||
/// `523`.
|
||||
APHELIOS = 523,
|
||||
/// `22`.
|
||||
ASHE = 22,
|
||||
/// `136`.
|
||||
AURELION_SOL = 136,
|
||||
/// `268`.
|
||||
AZIR = 268,
|
||||
/// `432`.
|
||||
BARD = 432,
|
||||
/// `53`.
|
||||
BLITZCRANK = 53,
|
||||
/// `63`.
|
||||
BRAND = 63,
|
||||
/// `201`.
|
||||
BRAUM = 201,
|
||||
/// `51`.
|
||||
CAITLYN = 51,
|
||||
/// `164`.
|
||||
CAMILLE = 164,
|
||||
/// `69`.
|
||||
CASSIOPEIA = 69,
|
||||
/// `31`.
|
||||
CHO_GATH = 31,
|
||||
/// `42`.
|
||||
CORKI = 42,
|
||||
/// `122`.
|
||||
DARIUS = 122,
|
||||
/// `131`.
|
||||
DIANA = 131,
|
||||
/// `36`.
|
||||
DR_MUNDO = 36,
|
||||
/// `119`.
|
||||
DRAVEN = 119,
|
||||
/// `245`.
|
||||
EKKO = 245,
|
||||
/// `60`.
|
||||
ELISE = 60,
|
||||
/// `28`.
|
||||
EVELYNN = 28,
|
||||
/// `81`.
|
||||
EZREAL = 81,
|
||||
/// `9`.
|
||||
FIDDLESTICKS = 9,
|
||||
/// `114`.
|
||||
FIORA = 114,
|
||||
/// `105`.
|
||||
FIZZ = 105,
|
||||
/// `3`.
|
||||
GALIO = 3,
|
||||
/// `41`.
|
||||
GANGPLANK = 41,
|
||||
/// `86`.
|
||||
GAREN = 86,
|
||||
/// `150`.
|
||||
GNAR = 150,
|
||||
/// `79`.
|
||||
GRAGAS = 79,
|
||||
/// `104`.
|
||||
GRAVES = 104,
|
||||
/// `887`.
|
||||
GWEN = 887,
|
||||
/// `120`.
|
||||
HECARIM = 120,
|
||||
/// `74`.
|
||||
HEIMERDINGER = 74,
|
||||
/// `420`.
|
||||
ILLAOI = 420,
|
||||
/// `39`.
|
||||
IRELIA = 39,
|
||||
/// `427`.
|
||||
IVERN = 427,
|
||||
/// `40`.
|
||||
JANNA = 40,
|
||||
/// `59`.
|
||||
JARVAN_IV = 59,
|
||||
/// `24`.
|
||||
JAX = 24,
|
||||
/// `126`.
|
||||
JAYCE = 126,
|
||||
/// `202`.
|
||||
JHIN = 202,
|
||||
/// `222`.
|
||||
JINX = 222,
|
||||
/// `145`.
|
||||
KAI_SA = 145,
|
||||
/// `429`.
|
||||
KALISTA = 429,
|
||||
/// `43`.
|
||||
KARMA = 43,
|
||||
/// `30`.
|
||||
KARTHUS = 30,
|
||||
/// `38`.
|
||||
KASSADIN = 38,
|
||||
/// `55`.
|
||||
KATARINA = 55,
|
||||
/// `10`.
|
||||
KAYLE = 10,
|
||||
/// `141`.
|
||||
KAYN = 141,
|
||||
/// `85`.
|
||||
KENNEN = 85,
|
||||
/// `121`.
|
||||
KHA_ZIX = 121,
|
||||
/// `203`.
|
||||
KINDRED = 203,
|
||||
/// `240`.
|
||||
KLED = 240,
|
||||
/// `96`.
|
||||
KOG_MAW = 96,
|
||||
/// `7`.
|
||||
LE_BLANC = 7,
|
||||
/// `64`.
|
||||
LEE_SIN = 64,
|
||||
/// `89`.
|
||||
LEONA = 89,
|
||||
/// `876`.
|
||||
LILLIA = 876,
|
||||
/// `127`.
|
||||
LISSANDRA = 127,
|
||||
/// `236`.
|
||||
LUCIAN = 236,
|
||||
/// `117`.
|
||||
LULU = 117,
|
||||
/// `99`.
|
||||
LUX = 99,
|
||||
/// `54`.
|
||||
MALPHITE = 54,
|
||||
/// `90`.
|
||||
MALZAHAR = 90,
|
||||
/// `57`.
|
||||
MAOKAI = 57,
|
||||
/// `11`.
|
||||
MASTER_YI = 11,
|
||||
/// `21`.
|
||||
MISS_FORTUNE = 21,
|
||||
/// `82`.
|
||||
MORDEKAISER = 82,
|
||||
/// `25`.
|
||||
MORGANA = 25,
|
||||
/// `267`.
|
||||
NAMI = 267,
|
||||
/// `75`.
|
||||
NASUS = 75,
|
||||
/// `111`.
|
||||
NAUTILUS = 111,
|
||||
/// `518`.
|
||||
NEEKO = 518,
|
||||
/// `76`.
|
||||
NIDALEE = 76,
|
||||
/// `56`.
|
||||
NOCTURNE = 56,
|
||||
/// `20`.
|
||||
NUNU_WILLUMP = 20,
|
||||
/// `2`.
|
||||
OLAF = 2,
|
||||
/// `61`.
|
||||
ORIANNA = 61,
|
||||
/// `516`.
|
||||
ORNN = 516,
|
||||
/// `80`.
|
||||
PANTHEON = 80,
|
||||
/// `78`.
|
||||
POPPY = 78,
|
||||
/// `555`.
|
||||
PYKE = 555,
|
||||
/// `246`.
|
||||
QIYANA = 246,
|
||||
/// `133`.
|
||||
QUINN = 133,
|
||||
/// `497`.
|
||||
RAKAN = 497,
|
||||
/// `33`.
|
||||
RAMMUS = 33,
|
||||
/// `421`.
|
||||
REK_SAI = 421,
|
||||
/// `526`.
|
||||
RELL = 526,
|
||||
/// `58`.
|
||||
RENEKTON = 58,
|
||||
/// `107`.
|
||||
RENGAR = 107,
|
||||
/// `92`.
|
||||
RIVEN = 92,
|
||||
/// `68`.
|
||||
RUMBLE = 68,
|
||||
/// `13`.
|
||||
RYZE = 13,
|
||||
/// `360`.
|
||||
SAMIRA = 360,
|
||||
/// `113`.
|
||||
SEJUANI = 113,
|
||||
/// `235`.
|
||||
SENNA = 235,
|
||||
/// `147`.
|
||||
SERAPHINE = 147,
|
||||
/// `875`.
|
||||
SETT = 875,
|
||||
/// `35`.
|
||||
SHACO = 35,
|
||||
/// `98`.
|
||||
SHEN = 98,
|
||||
/// `102`.
|
||||
SHYVANA = 102,
|
||||
/// `27`.
|
||||
SINGED = 27,
|
||||
/// `14`.
|
||||
SION = 14,
|
||||
/// `15`.
|
||||
SIVIR = 15,
|
||||
/// `72`.
|
||||
SKARNER = 72,
|
||||
/// `37`.
|
||||
SONA = 37,
|
||||
/// `16`.
|
||||
SORAKA = 16,
|
||||
/// `50`.
|
||||
SWAIN = 50,
|
||||
/// `517`.
|
||||
SYLAS = 517,
|
||||
/// `134`.
|
||||
SYNDRA = 134,
|
||||
/// `223`.
|
||||
TAHM_KENCH = 223,
|
||||
/// `163`.
|
||||
TALIYAH = 163,
|
||||
/// `91`.
|
||||
TALON = 91,
|
||||
/// `44`.
|
||||
TARIC = 44,
|
||||
/// `17`.
|
||||
TEEMO = 17,
|
||||
/// `412`.
|
||||
THRESH = 412,
|
||||
/// `18`.
|
||||
TRISTANA = 18,
|
||||
/// `48`.
|
||||
TRUNDLE = 48,
|
||||
/// `23`.
|
||||
TRYNDAMERE = 23,
|
||||
/// `4`.
|
||||
TWISTED_FATE = 4,
|
||||
/// `29`.
|
||||
TWITCH = 29,
|
||||
/// `77`.
|
||||
UDYR = 77,
|
||||
/// `6`.
|
||||
URGOT = 6,
|
||||
/// `110`.
|
||||
VARUS = 110,
|
||||
/// `67`.
|
||||
VAYNE = 67,
|
||||
/// `45`.
|
||||
VEIGAR = 45,
|
||||
/// `161`.
|
||||
VEL_KOZ = 161,
|
||||
/// `711`.
|
||||
VEX = 711,
|
||||
/// `254`.
|
||||
VI = 254,
|
||||
/// `234`.
|
||||
VIEGO = 234,
|
||||
/// `112`.
|
||||
VIKTOR = 112,
|
||||
/// `8`.
|
||||
VLADIMIR = 8,
|
||||
/// `106`.
|
||||
VOLIBEAR = 106,
|
||||
/// `19`.
|
||||
WARWICK = 19,
|
||||
/// `62`.
|
||||
WUKONG = 62,
|
||||
/// `498`.
|
||||
XAYAH = 498,
|
||||
/// `101`.
|
||||
XERATH = 101,
|
||||
/// `5`.
|
||||
XIN_ZHAO = 5,
|
||||
/// `157`.
|
||||
YASUO = 157,
|
||||
/// `777`.
|
||||
YONE = 777,
|
||||
/// `83`.
|
||||
YORICK = 83,
|
||||
/// `350`.
|
||||
YUUMI = 350,
|
||||
/// `154`.
|
||||
ZAC = 154,
|
||||
/// `238`.
|
||||
ZED = 238,
|
||||
/// `115`.
|
||||
ZIGGS = 115,
|
||||
/// `26`.
|
||||
ZILEAN = 26,
|
||||
/// `142`.
|
||||
ZOE = 142,
|
||||
/// `143`.
|
||||
ZYRA = 143,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,48 +13,63 @@ newtype_enum! {
|
|||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(transparent)]
|
||||
pub newtype_enum Map(u8) {
|
||||
/// `1`.
|
||||
/// Summoner's Rift
|
||||
/// Original Summer variant
|
||||
SUMMONERS_RIFT_ORIGINAL_SUMMER_VARIANT = 1,
|
||||
/// `2`.
|
||||
/// Summoner's Rift
|
||||
/// Original Autumn variant
|
||||
SUMMONERS_RIFT_ORIGINAL_AUTUMN_VARIANT = 2,
|
||||
/// `3`.
|
||||
/// The Proving Grounds
|
||||
/// Tutorial Map
|
||||
THE_PROVING_GROUNDS = 3,
|
||||
/// `4`.
|
||||
/// Twisted Treeline
|
||||
/// Original Version
|
||||
TWISTED_TREELINE_ORIGINAL_VERSION = 4,
|
||||
/// `8`.
|
||||
/// The Crystal Scar
|
||||
/// Dominion map
|
||||
THE_CRYSTAL_SCAR = 8,
|
||||
/// `10`.
|
||||
/// Twisted Treeline
|
||||
/// Last TT map
|
||||
TWISTED_TREELINE = 10,
|
||||
/// `11`.
|
||||
/// Summoner's Rift
|
||||
/// Current Version
|
||||
SUMMONERS_RIFT = 11,
|
||||
/// `12`.
|
||||
/// Howling Abyss
|
||||
/// ARAM map
|
||||
HOWLING_ABYSS = 12,
|
||||
/// `14`.
|
||||
/// Butcher's Bridge
|
||||
/// Alternate ARAM map
|
||||
BUTCHERS_BRIDGE = 14,
|
||||
/// `16`.
|
||||
/// Cosmic Ruins
|
||||
/// Dark Star: Singularity map
|
||||
COSMIC_RUINS = 16,
|
||||
/// `18`.
|
||||
/// Valoran City Park
|
||||
/// Star Guardian Invasion map
|
||||
VALORAN_CITY_PARK = 18,
|
||||
/// `19`.
|
||||
/// Substructure 43
|
||||
/// PROJECT: Hunters map
|
||||
SUBSTRUCTURE_43 = 19,
|
||||
/// `20`.
|
||||
/// Crash Site
|
||||
/// Odyssey: Extraction map
|
||||
CRASH_SITE = 20,
|
||||
/// `21`.
|
||||
/// Nexus Blitz
|
||||
/// Nexus Blitz map
|
||||
NEXUS_BLITZ = 21,
|
||||
/// `22`.
|
||||
/// Convergence
|
||||
/// Teamfight Tactics map
|
||||
CONVERGENCE = 22,
|
||||
|
|
|
@ -13,236 +13,319 @@ newtype_enum! {
|
|||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(transparent)]
|
||||
pub newtype_enum Queue(u16) {
|
||||
/// `0`.
|
||||
/// Games on Custom games
|
||||
CUSTOM = 0,
|
||||
/// `2`.
|
||||
/// 5v5 Blind Pick games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 430
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 430")]
|
||||
SUMMONERS_RIFT_5V5_BLIND_PICK_DEPRECATED_2 = 2,
|
||||
/// `4`.
|
||||
/// 5v5 Ranked Solo games on Summoner's Rift
|
||||
/// Deprecated in favor of queueId 420
|
||||
#[deprecated(note="Deprecated in favor of queueId 420")]
|
||||
SUMMONERS_RIFT_5V5_RANKED_SOLO_DEPRECATED_4 = 4,
|
||||
/// `6`.
|
||||
/// 5v5 Ranked Premade games on Summoner's Rift
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
SUMMONERS_RIFT_5V5_RANKED_PREMADE = 6,
|
||||
/// `7`.
|
||||
/// Co-op vs AI games on Summoner's Rift
|
||||
/// Deprecated in favor of queueId 32 and 33
|
||||
#[deprecated(note="Deprecated in favor of queueId 32 and 33")]
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI = 7,
|
||||
/// `8`.
|
||||
/// 3v3 Normal games on Twisted Treeline
|
||||
/// Deprecated in patch 7.19 in favor of queueId 460
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 460")]
|
||||
TWISTED_TREELINE_3V3_NORMAL = 8,
|
||||
/// `9`.
|
||||
/// 3v3 Ranked Flex games on Twisted Treeline
|
||||
/// Deprecated in patch 7.19 in favor of queueId 470
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 470")]
|
||||
TWISTED_TREELINE_3V3_RANKED_FLEX_DEPRECATED_9 = 9,
|
||||
/// `14`.
|
||||
/// 5v5 Draft Pick games on Summoner's Rift
|
||||
/// Deprecated in favor of queueId 400
|
||||
#[deprecated(note="Deprecated in favor of queueId 400")]
|
||||
SUMMONERS_RIFT_5V5_DRAFT_PICK_DEPRECATED_14 = 14,
|
||||
/// `16`.
|
||||
/// 5v5 Dominion Blind Pick games on Crystal Scar
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
CRYSTAL_SCAR_5V5_DOMINION_BLIND_PICK = 16,
|
||||
/// `17`.
|
||||
/// 5v5 Dominion Draft Pick games on Crystal Scar
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
CRYSTAL_SCAR_5V5_DOMINION_DRAFT_PICK = 17,
|
||||
/// `25`.
|
||||
/// Dominion Co-op vs AI games on Crystal Scar
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
CRYSTAL_SCAR_DOMINION_CO_OP_VS_AI = 25,
|
||||
/// `31`.
|
||||
/// Co-op vs AI Intro Bot games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 830
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 830")]
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI_INTRO_BOT_DEPRECATED_31 = 31,
|
||||
/// `32`.
|
||||
/// Co-op vs AI Beginner Bot games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 840
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 840")]
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI_BEGINNER_BOT_DEPRECATED_32 = 32,
|
||||
/// `33`.
|
||||
/// Co-op vs AI Intermediate Bot games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 850
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 850")]
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI_INTERMEDIATE_BOT_DEPRECATED_33 = 33,
|
||||
/// `41`.
|
||||
/// 3v3 Ranked Team games on Twisted Treeline
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
TWISTED_TREELINE_3V3_RANKED_TEAM = 41,
|
||||
/// `42`.
|
||||
/// 5v5 Ranked Team games on Summoner's Rift
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
SUMMONERS_RIFT_5V5_RANKED_TEAM = 42,
|
||||
/// `52`.
|
||||
/// Co-op vs AI games on Twisted Treeline
|
||||
/// Deprecated in patch 7.19 in favor of queueId 800
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 800")]
|
||||
TWISTED_TREELINE_CO_OP_VS_AI = 52,
|
||||
/// `61`.
|
||||
/// 5v5 Team Builder games on Summoner's Rift
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
SUMMONERS_RIFT_5V5_TEAM_BUILDER = 61,
|
||||
/// `65`.
|
||||
/// 5v5 ARAM games on Howling Abyss
|
||||
/// Deprecated in patch 7.19 in favor of queueId 450
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 450")]
|
||||
HOWLING_ABYSS_5V5_ARAM_DEPRECATED_65 = 65,
|
||||
/// `67`.
|
||||
/// ARAM Co-op vs AI games on Howling Abyss
|
||||
/// Game mode deprecated
|
||||
#[deprecated(note="Game mode deprecated")]
|
||||
HOWLING_ABYSS_ARAM_CO_OP_VS_AI = 67,
|
||||
/// `70`.
|
||||
/// One for All games on Summoner's Rift
|
||||
/// Deprecated in patch 8.6 in favor of queueId 1020
|
||||
#[deprecated(note="Deprecated in patch 8.6 in favor of queueId 1020")]
|
||||
SUMMONERS_RIFT_ONE_FOR_ALL_DEPRECATED_70 = 70,
|
||||
/// `72`.
|
||||
/// 1v1 Snowdown Showdown games on Howling Abyss
|
||||
HOWLING_ABYSS_1V1_SNOWDOWN_SHOWDOWN = 72,
|
||||
/// `73`.
|
||||
/// 2v2 Snowdown Showdown games on Howling Abyss
|
||||
HOWLING_ABYSS_2V2_SNOWDOWN_SHOWDOWN = 73,
|
||||
/// `75`.
|
||||
/// 6v6 Hexakill games on Summoner's Rift
|
||||
SUMMONERS_RIFT_6V6_HEXAKILL = 75,
|
||||
/// `76`.
|
||||
/// Ultra Rapid Fire games on Summoner's Rift
|
||||
SUMMONERS_RIFT_ULTRA_RAPID_FIRE = 76,
|
||||
/// `78`.
|
||||
/// One For All: Mirror Mode games on Howling Abyss
|
||||
HOWLING_ABYSS_ONE_FOR_ALL_MIRROR_MODE = 78,
|
||||
/// `83`.
|
||||
/// Co-op vs AI Ultra Rapid Fire games on Summoner's Rift
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI_ULTRA_RAPID_FIRE = 83,
|
||||
/// `91`.
|
||||
/// Doom Bots Rank 1 games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 950
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 950")]
|
||||
SUMMONERS_RIFT_DOOM_BOTS_RANK_1 = 91,
|
||||
/// `92`.
|
||||
/// Doom Bots Rank 2 games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 950
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 950")]
|
||||
SUMMONERS_RIFT_DOOM_BOTS_RANK_2 = 92,
|
||||
/// `93`.
|
||||
/// Doom Bots Rank 5 games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 950
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 950")]
|
||||
SUMMONERS_RIFT_DOOM_BOTS_RANK_5 = 93,
|
||||
/// `96`.
|
||||
/// Ascension games on Crystal Scar
|
||||
/// Deprecated in patch 7.19 in favor of queueId 910
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 910")]
|
||||
CRYSTAL_SCAR_ASCENSION_DEPRECATED_96 = 96,
|
||||
/// `98`.
|
||||
/// 6v6 Hexakill games on Twisted Treeline
|
||||
TWISTED_TREELINE_6V6_HEXAKILL = 98,
|
||||
/// `100`.
|
||||
/// 5v5 ARAM games on Butcher's Bridge
|
||||
BUTCHERS_BRIDGE_5V5_ARAM = 100,
|
||||
/// `300`.
|
||||
/// Legend of the Poro King games on Howling Abyss
|
||||
/// Deprecated in patch 7.19 in favor of queueId 920
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 920")]
|
||||
HOWLING_ABYSS_LEGEND_OF_THE_PORO_KING_DEPRECATED_300 = 300,
|
||||
/// `310`.
|
||||
/// Nemesis games on Summoner's Rift
|
||||
SUMMONERS_RIFT_NEMESIS = 310,
|
||||
/// `313`.
|
||||
/// Black Market Brawlers games on Summoner's Rift
|
||||
SUMMONERS_RIFT_BLACK_MARKET_BRAWLERS = 313,
|
||||
/// `315`.
|
||||
/// Nexus Siege games on Summoner's Rift
|
||||
/// Deprecated in patch 7.19 in favor of queueId 940
|
||||
#[deprecated(note="Deprecated in patch 7.19 in favor of queueId 940")]
|
||||
SUMMONERS_RIFT_NEXUS_SIEGE_DEPRECATED_315 = 315,
|
||||
/// `317`.
|
||||
/// Definitely Not Dominion games on Crystal Scar
|
||||
CRYSTAL_SCAR_DEFINITELY_NOT_DOMINION = 317,
|
||||
/// `318`.
|
||||
/// 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,
|
||||
/// `325`.
|
||||
/// All Random games on Summoner's Rift
|
||||
SUMMONERS_RIFT_ALL_RANDOM = 325,
|
||||
/// `400`.
|
||||
/// 5v5 Draft Pick games on Summoner's Rift
|
||||
SUMMONERS_RIFT_5V5_DRAFT_PICK = 400,
|
||||
/// `410`.
|
||||
/// 5v5 Ranked Dynamic games on Summoner's Rift
|
||||
/// Game mode deprecated in patch 6.22
|
||||
#[deprecated(note="Game mode deprecated in patch 6.22")]
|
||||
SUMMONERS_RIFT_5V5_RANKED_DYNAMIC = 410,
|
||||
/// `420`.
|
||||
/// 5v5 Ranked Solo games on Summoner's Rift
|
||||
SUMMONERS_RIFT_5V5_RANKED_SOLO = 420,
|
||||
/// `430`.
|
||||
/// 5v5 Blind Pick games on Summoner's Rift
|
||||
SUMMONERS_RIFT_5V5_BLIND_PICK = 430,
|
||||
/// `440`.
|
||||
/// 5v5 Ranked Flex games on Summoner's Rift
|
||||
SUMMONERS_RIFT_5V5_RANKED_FLEX = 440,
|
||||
/// `450`.
|
||||
/// 5v5 ARAM games on Howling Abyss
|
||||
HOWLING_ABYSS_5V5_ARAM = 450,
|
||||
/// `460`.
|
||||
/// 3v3 Blind Pick games on Twisted Treeline
|
||||
/// Deprecated in patch 9.23
|
||||
#[deprecated(note="Deprecated in patch 9.23")]
|
||||
TWISTED_TREELINE_3V3_BLIND_PICK = 460,
|
||||
/// `470`.
|
||||
/// 3v3 Ranked Flex games on Twisted Treeline
|
||||
/// Deprecated in patch 9.23
|
||||
#[deprecated(note="Deprecated in patch 9.23")]
|
||||
TWISTED_TREELINE_3V3_RANKED_FLEX_DEPRECATED_470 = 470,
|
||||
/// `600`.
|
||||
/// Blood Hunt Assassin games on Summoner's Rift
|
||||
SUMMONERS_RIFT_BLOOD_HUNT_ASSASSIN = 600,
|
||||
/// `610`.
|
||||
/// Dark Star: Singularity games on Cosmic Ruins
|
||||
COSMIC_RUINS_DARK_STAR_SINGULARITY = 610,
|
||||
/// `700`.
|
||||
/// Clash games on Summoner's Rift
|
||||
SUMMONERS_RIFT_CLASH = 700,
|
||||
/// `800`.
|
||||
/// Co-op vs. AI Intermediate Bot games on Twisted Treeline
|
||||
/// Deprecated in patch 9.23
|
||||
#[deprecated(note="Deprecated in patch 9.23")]
|
||||
TWISTED_TREELINE_CO_OP_VS_AI_INTERMEDIATE_BOT = 800,
|
||||
/// `810`.
|
||||
/// Co-op vs. AI Intro Bot games on Twisted Treeline
|
||||
/// Deprecated in patch 9.23
|
||||
#[deprecated(note="Deprecated in patch 9.23")]
|
||||
TWISTED_TREELINE_CO_OP_VS_AI_INTRO_BOT = 810,
|
||||
/// `820`.
|
||||
/// Co-op vs. AI Beginner Bot games on Twisted Treeline
|
||||
TWISTED_TREELINE_CO_OP_VS_AI_BEGINNER_BOT = 820,
|
||||
/// `830`.
|
||||
/// Co-op vs. AI Intro Bot games on Summoner's Rift
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI_INTRO_BOT = 830,
|
||||
/// `840`.
|
||||
/// Co-op vs. AI Beginner Bot games on Summoner's Rift
|
||||
SUMMONERS_RIFT_CO_OP_VS_AI_BEGINNER_BOT = 840,
|
||||
/// `850`.
|
||||
/// 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,
|
||||
/// `910`.
|
||||
/// Ascension games on Crystal Scar
|
||||
CRYSTAL_SCAR_ASCENSION = 910,
|
||||
/// `920`.
|
||||
/// Legend of the Poro King games on Howling Abyss
|
||||
HOWLING_ABYSS_LEGEND_OF_THE_PORO_KING = 920,
|
||||
/// `940`.
|
||||
/// Nexus Siege games on Summoner's Rift
|
||||
SUMMONERS_RIFT_NEXUS_SIEGE = 940,
|
||||
/// `950`.
|
||||
/// Doom Bots Voting games on Summoner's Rift
|
||||
SUMMONERS_RIFT_DOOM_BOTS_VOTING = 950,
|
||||
/// `960`.
|
||||
/// Doom Bots Standard games on Summoner's Rift
|
||||
SUMMONERS_RIFT_DOOM_BOTS_STANDARD = 960,
|
||||
/// `980`.
|
||||
/// Star Guardian Invasion: Normal games on Valoran City Park
|
||||
VALORAN_CITY_PARK_STAR_GUARDIAN_INVASION_NORMAL = 980,
|
||||
/// `990`.
|
||||
/// Star Guardian Invasion: Onslaught games on Valoran City Park
|
||||
VALORAN_CITY_PARK_STAR_GUARDIAN_INVASION_ONSLAUGHT = 990,
|
||||
/// `1000`.
|
||||
/// PROJECT: Hunters games on Overcharge
|
||||
OVERCHARGE_PROJECT_HUNTERS = 1000,
|
||||
/// `1010`.
|
||||
/// Snow ARURF games on Summoner's Rift
|
||||
SUMMONERS_RIFT_SNOW_ARURF = 1010,
|
||||
/// `1020`.
|
||||
/// One for All games on Summoner's Rift
|
||||
SUMMONERS_RIFT_ONE_FOR_ALL = 1020,
|
||||
/// `1030`.
|
||||
/// Odyssey Extraction: Intro games on Crash Site
|
||||
CRASH_SITE_ODYSSEY_EXTRACTION_INTRO = 1030,
|
||||
/// `1040`.
|
||||
/// Odyssey Extraction: Cadet games on Crash Site
|
||||
CRASH_SITE_ODYSSEY_EXTRACTION_CADET = 1040,
|
||||
/// `1050`.
|
||||
/// Odyssey Extraction: Crewmember games on Crash Site
|
||||
CRASH_SITE_ODYSSEY_EXTRACTION_CREWMEMBER = 1050,
|
||||
/// `1060`.
|
||||
/// Odyssey Extraction: Captain games on Crash Site
|
||||
CRASH_SITE_ODYSSEY_EXTRACTION_CAPTAIN = 1060,
|
||||
/// `1070`.
|
||||
/// Odyssey Extraction: Onslaught games on Crash Site
|
||||
CRASH_SITE_ODYSSEY_EXTRACTION_ONSLAUGHT = 1070,
|
||||
/// `1090`.
|
||||
/// Teamfight Tactics games on Convergence
|
||||
CONVERGENCE_TEAMFIGHT_TACTICS = 1090,
|
||||
/// `1100`.
|
||||
/// Ranked Teamfight Tactics games on Convergence
|
||||
CONVERGENCE_RANKED_TEAMFIGHT_TACTICS = 1100,
|
||||
/// `1110`.
|
||||
/// Teamfight Tactics Tutorial games on Convergence
|
||||
CONVERGENCE_TEAMFIGHT_TACTICS_TUTORIAL = 1110,
|
||||
/// `1111`.
|
||||
/// Teamfight Tactics 1v0 testing games on Convergence
|
||||
CONVERGENCE_TEAMFIGHT_TACTICS_1V0_TESTING = 1111,
|
||||
/// `1200`.
|
||||
/// Nexus Blitz games on Nexus Blitz
|
||||
/// Deprecated in patch 9.2 in favor of queueId 1300
|
||||
#[deprecated(note="Deprecated in patch 9.2 in favor of queueId 1300")]
|
||||
NEXUS_BLITZ_NEXUS_BLITZ_DEPRECATED_1200 = 1200,
|
||||
/// `1300`.
|
||||
/// Nexus Blitz games on Nexus Blitz
|
||||
NEXUS_BLITZ_NEXUS_BLITZ = 1300,
|
||||
/// `1400`.
|
||||
/// Ultimate Spellbook games on Summoner's Rift
|
||||
SUMMONERS_RIFT_ULTIMATE_SPELLBOOK = 1400,
|
||||
/// `2000`.
|
||||
/// Tutorial 1 games on Summoner's Rift
|
||||
SUMMONERS_RIFT_TUTORIAL_1 = 2000,
|
||||
/// `2010`.
|
||||
/// Tutorial 2 games on Summoner's Rift
|
||||
SUMMONERS_RIFT_TUTORIAL_2 = 2010,
|
||||
/// `2020`.
|
||||
/// Tutorial 3 games on Summoner's Rift
|
||||
SUMMONERS_RIFT_TUTORIAL_3 = 2020,
|
||||
}
|
||||
|
|
|
@ -13,21 +13,37 @@ newtype_enum! {
|
|||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(transparent)]
|
||||
pub newtype_enum Season(u8) {
|
||||
/// `0`.
|
||||
PRESEASON_3 = 0,
|
||||
/// `1`.
|
||||
SEASON_3 = 1,
|
||||
/// `2`.
|
||||
PRESEASON_2014 = 2,
|
||||
/// `3`.
|
||||
SEASON_2014 = 3,
|
||||
/// `4`.
|
||||
PRESEASON_2015 = 4,
|
||||
/// `5`.
|
||||
SEASON_2015 = 5,
|
||||
/// `6`.
|
||||
PRESEASON_2016 = 6,
|
||||
/// `7`.
|
||||
SEASON_2016 = 7,
|
||||
/// `8`.
|
||||
PRESEASON_2017 = 8,
|
||||
/// `9`.
|
||||
SEASON_2017 = 9,
|
||||
/// `10`.
|
||||
PRESEASON_2018 = 10,
|
||||
/// `11`.
|
||||
SEASON_2018 = 11,
|
||||
/// `12`.
|
||||
PRESEASON_2019 = 12,
|
||||
/// `13`.
|
||||
SEASON_2019 = 13,
|
||||
/// `14`.
|
||||
PRESEASON_2020 = 14,
|
||||
/// `15`.
|
||||
SEASON_2020 = 15,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 12e3bc69894adde9001edb3c64126cd90d4531bd
|
||||
// Version 595cfab83bc31def1d3d161df5ca26f99033f539
|
||||
|
||||
//! Automatically generated endpoint handles.
|
||||
|
||||
|
@ -1135,7 +1135,7 @@ impl<'a> MatchV5<'a> {
|
|||
/// # Parameters
|
||||
/// * `route` - Route to query.
|
||||
/// * `puuid` (required, in path)
|
||||
/// * `start_time` (optional, in query) - Epoch timestamp in seconds.
|
||||
/// * `start_time` (optional, in query) - Epoch timestamp in seconds. The matchlist started storing timestamps on June 16th, 2021. Any matches played before June 16th, 2021 won't be included in the results if the startTime filter is set.
|
||||
/// * `end_time` (optional, in query) - Epoch timestamp in seconds.
|
||||
/// * `queue` (optional, in query) - Filter the list of match ids by a specific queue id. This filter is mutually inclusive of the type filter meaning any match ids returned must match both the queue and type filters.
|
||||
/// * `type` (optional, in query) - Filter the list of match ids by the type of match. This filter is mutually inclusive of the queue filter meaning any match ids returned must match both the queue and type filters.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
//! <a href="https://github.com/MingweiSamuel/Riven/"><img src="https://cdn.communitydragon.org/latest/champion/Riven/square" width="20" height="20" alt="Riven Github"></a>
|
||||
//! <a href="https://crates.io/crates/riven"><img src="https://img.shields.io/crates/v/riven?style=flat-square&logo=rust" alt="Crates.io"></a>
|
||||
//! <a href="https://docs.rs/riven/"><img src="https://img.shields.io/badge/docs.rs-Riven-blue?style=flat-square&logo=read-the-docs&logoColor=white" alt="Docs.rs"></a>
|
||||
//! <a href="https://travis-ci.com/MingweiSamuel/Riven"><img src="https://img.shields.io/travis/com/mingweisamuel/riven?style=flat-square" alt="Travis CI"></a>
|
||||
//! <!--<a href="https://travis-ci.com/MingweiSamuel/Riven"><img src="https://img.shields.io/travis/com/mingweisamuel/riven?style=flat-square" alt="Travis CI"></a>-->
|
||||
//! <a href="https://github.com/rust-secure-code/safety-dance/"><img src="https://img.shields.io/badge/unsafe-forbidden-green.svg?style=flat-square" alt="unsafe forbidden"></a>
|
||||
//! </p>
|
||||
//!
|
||||
|
@ -29,7 +29,7 @@
|
|||
//!
|
||||
//! * Fast, asynchronous, thread-safe.
|
||||
//! * Automatically retries failed requests.
|
||||
//! * TFT API Support.
|
||||
//! * Supports all endpoints, kept up-to-date using [riotapi-schema](https://github.com/MingweiSamuel/riotapi-schema).
|
||||
//!
|
||||
//! ## Usage
|
||||
//!
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 12e3bc69894adde9001edb3c64126cd90d4531bd
|
||||
// Version 595cfab83bc31def1d3d161df5ca26f99033f539
|
||||
|
||||
//! Metadata about the Riot API and Riven.
|
||||
//!
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
///////////////////////////////////////////////
|
||||
|
||||
// http://www.mingweisamuel.com/riotapi-schema/tool/
|
||||
// Version 12e3bc69894adde9001edb3c64126cd90d4531bd
|
||||
// Version 595cfab83bc31def1d3d161df5ca26f99033f539
|
||||
|
||||
//! Data transfer structs.
|
||||
//!
|
||||
|
@ -1557,6 +1557,7 @@ pub mod match_v5 {
|
|||
pub champion_id: i32,
|
||||
#[serde(rename = "championName")]
|
||||
pub champion_name: String,
|
||||
/// This field is currently only utilized for Kayn's transformations. (Legal values: 0 - None, 1 - Slayer, 2 - Assassin)
|
||||
#[serde(rename = "championTransform")]
|
||||
pub champion_transform: i32,
|
||||
#[serde(rename = "consumablesPurchased")]
|
||||
|
@ -1593,6 +1594,7 @@ pub mod match_v5 {
|
|||
pub gold_earned: i32,
|
||||
#[serde(rename = "goldSpent")]
|
||||
pub gold_spent: i32,
|
||||
/// Both individualPosition and teamPosition are computed by the game server and are different versions of the most likely position played by a player. The individualPosition is the best guess for which position the player actually played in isolation of anything else. The teamPosition is the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc. Generally the recommendation is to use the teamPosition field over the individualPosition field.
|
||||
#[serde(rename = "individualPosition")]
|
||||
pub individual_position: String,
|
||||
#[serde(rename = "inhibitorKills")]
|
||||
|
@ -1703,6 +1705,7 @@ pub mod match_v5 {
|
|||
pub team_early_surrendered: bool,
|
||||
#[serde(rename = "teamId")]
|
||||
pub team_id: i32,
|
||||
/// Both individualPosition and teamPosition are computed by the game server and are different versions of the most likely position played by a player. The individualPosition is the best guess for which position the player actually played in isolation of anything else. The teamPosition is the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc. Generally the recommendation is to use the teamPosition field over the individualPosition field.
|
||||
#[serde(rename = "teamPosition")]
|
||||
pub team_position: String,
|
||||
#[serde(rename = "timeCCingOthers")]
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
"title": "Riot API",
|
||||
"description": "\nOpenAPI/Swagger version of the [Riot API](https://developer.riotgames.com/). Automatically generated daily.\n## OpenAPI Spec File\nThe following versions of the Riot API spec file are available:\n- `openapi-3.0.0.json` ([view file](../openapi-3.0.0.json), [ui select](?url=../openapi-3.0.0.json))\n- `openapi-3.0.0.min.json` ([view file](../openapi-3.0.0.min.json), [ui select](?url=../openapi-3.0.0.min.json))\n- `openapi-3.0.0.yml` ([view file](../openapi-3.0.0.yml), [ui select](?url=../openapi-3.0.0.yml))\n- `openapi-3.0.0.min.yml` ([view file](../openapi-3.0.0.min.yml), [ui select](?url=../openapi-3.0.0.min.yml))\n- `swaggerspec-2.0.json` ([view file](../swaggerspec-2.0.json), [ui select](?url=../swaggerspec-2.0.json))\n- `swaggerspec-2.0.min.json` ([view file](../swaggerspec-2.0.min.json), [ui select](?url=../swaggerspec-2.0.min.json))\n- `swaggerspec-2.0.yml` ([view file](../swaggerspec-2.0.yml), [ui select](?url=../swaggerspec-2.0.yml))\n- `swaggerspec-2.0.min.yml` ([view file](../swaggerspec-2.0.min.yml), [ui select](?url=../swaggerspec-2.0.min.yml))\n## Other Files\n- Missing DTOs: [`missing.json`](../missing.json)\n- [Enum Files](../enums/)\n## Source Code\nSource code on [GitHub](https://github.com/MingweiSamuel/riotapi-schema). Pull requests welcome!\n## Automatically Generated\nRebuilt on [Travis CI](https://travis-ci.com/MingweiSamuel/riotapi-schema/builds) daily.\n***\n",
|
||||
"termsOfService": "https://developer.riotgames.com/terms",
|
||||
"version": "12e3bc69894adde9001edb3c64126cd90d4531bd",
|
||||
"x-hash": "12e3bc69894adde9001edb3c64126cd90d4531bdc8c941dd94e4ffc441a7a82f0cb5c90ee9d1e0f9",
|
||||
"version": "595cfab83bc31def1d3d161df5ca26f99033f539",
|
||||
"x-hash": "595cfab83bc31def1d3d161df5ca26f99033f539c8c941dd94e4ffc441a7a82f0cb5c90ee9d1e0f9",
|
||||
"x-enumsHash": "c8c941dd94e4ffc441a7a82f0cb5c90ee9d1e0f9"
|
||||
},
|
||||
"servers": [
|
||||
|
@ -3682,7 +3682,7 @@
|
|||
"format": "int64",
|
||||
"x-type": "long"
|
||||
},
|
||||
"description": "Epoch timestamp in seconds."
|
||||
"description": "Epoch timestamp in seconds. The matchlist started storing timestamps on June 16th, 2021. Any matches played before June 16th, 2021 won't be included in the results if the startTime filter is set."
|
||||
},
|
||||
{
|
||||
"name": "endTime",
|
||||
|
@ -10940,7 +10940,8 @@
|
|||
"championTransform": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"x-type": "int"
|
||||
"x-type": "int",
|
||||
"description": "This field is currently only utilized for Kayn's transformations. (Legal values: 0 - None, 1 - Slayer, 2 - Assassin)"
|
||||
},
|
||||
"consumablesPurchased": {
|
||||
"type": "integer",
|
||||
|
@ -11023,7 +11024,8 @@
|
|||
},
|
||||
"individualPosition": {
|
||||
"type": "string",
|
||||
"x-type": "string"
|
||||
"x-type": "string",
|
||||
"description": "Both individualPosition and teamPosition are computed by the game server and are different versions of the most likely position played by a player. The individualPosition is the best guess for which position the player actually played in isolation of anything else. The teamPosition is the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc. Generally the recommendation is to use the teamPosition field over the individualPosition field."
|
||||
},
|
||||
"inhibitorKills": {
|
||||
"type": "integer",
|
||||
|
@ -11283,7 +11285,8 @@
|
|||
},
|
||||
"teamPosition": {
|
||||
"type": "string",
|
||||
"x-type": "string"
|
||||
"x-type": "string",
|
||||
"description": "Both individualPosition and teamPosition are computed by the game server and are different versions of the most likely position played by a player. The individualPosition is the best guess for which position the player actually played in isolation of anything else. The teamPosition is the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc. Generally the recommendation is to use the teamPosition field over the individualPosition field."
|
||||
},
|
||||
"timeCCingOthers": {
|
||||
"type": "integer",
|
||||
|
|
|
@ -40,6 +40,7 @@ newtype_enum! {
|
|||
{{
|
||||
for (const { id, alias, name } of champions) {
|
||||
}}
|
||||
/// `{{= id }}`.
|
||||
{{= constName(name) }} = {{= id }},
|
||||
{{
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ newtype_enum! {
|
|||
for (const e of maps) {
|
||||
const desc = e['x-desc'] ? e['x-desc'].split('\n') : [];
|
||||
}}
|
||||
/// `{{= e['x-value'] }}`.
|
||||
{{~ desc :line }}
|
||||
/// {{= line }}
|
||||
{{~}}
|
||||
|
|
|
@ -14,6 +14,7 @@ newtype_enum! {
|
|||
for (const e of queues) {
|
||||
const desc = e['x-desc'] ? e['x-desc'].split('\n') : [];
|
||||
}}
|
||||
/// `{{= e['x-value'] }}`.
|
||||
{{~ desc :line }}
|
||||
/// {{= line }}
|
||||
{{~}}
|
||||
|
|
|
@ -14,6 +14,7 @@ newtype_enum! {
|
|||
for (const e of seasons) {
|
||||
const desc = e['x-desc'] ? e['x-desc'].split('\n') : [];
|
||||
}}
|
||||
/// `{{= e['x-value'] }}`.
|
||||
{{~ desc :line }}
|
||||
/// {{= line }}
|
||||
{{~}}
|
||||
|
|
Loading…
Reference in a new issue