mirror of https://github.com/MingweiSamuel/Riven
34 lines
987 B
Rust
34 lines
987 B
Rust
|
///////////////////////////////////////////////
|
||
|
// //
|
||
|
// ! //
|
||
|
// This file is automatically generated! //
|
||
|
// Do not directly edit! //
|
||
|
// //
|
||
|
///////////////////////////////////////////////
|
||
|
|
||
|
use serde::{ Serialize, Deserialize };
|
||
|
|
||
|
newtype_enum! {
|
||
|
/// A League of Legends season for competitive matchmaking.
|
||
|
#[derive(Serialize, Deserialize)]
|
||
|
#[serde(transparent)]
|
||
|
pub newtype_enum Season(u8) {
|
||
|
PRESEASON_3 = 0,
|
||
|
SEASON_3 = 1,
|
||
|
PRESEASON_2014 = 2,
|
||
|
SEASON_2014 = 3,
|
||
|
PRESEASON_2015 = 4,
|
||
|
SEASON_2015 = 5,
|
||
|
PRESEASON_2016 = 6,
|
||
|
SEASON_2016 = 7,
|
||
|
PRESEASON_2017 = 8,
|
||
|
SEASON_2017 = 9,
|
||
|
PRESEASON_2018 = 10,
|
||
|
SEASON_2018 = 11,
|
||
|
PRESEASON_2019 = 12,
|
||
|
SEASON_2019 = 13,
|
||
|
PRESEASON_2020 = 14,
|
||
|
SEASON_2020 = 15,
|
||
|
}
|
||
|
}
|