forked from mirror/Riven
1
0
Fork 0

updating season enum traits

users/mingwei/surf
Mingwei Samuel 2019-10-25 19:25:48 -07:00
parent 5b4981f227
commit 561eb04c48
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@
// Do not directly edit.
/// League of Legends matchmaking seasons.
#[derive(Debug, Copy, Clone)]
#[derive(Eq, PartialEq, Hash, PartialOrd, Ord)]
#[repr(u8)]
pub enum Season {
Preseason3 = 0,
Season3 = 1,

View File

@ -4,6 +4,9 @@
}}{{= dotUtils.preamble() }}
/// League of Legends matchmaking seasons.
#[derive(Debug, Copy, Clone)]
#[derive(Eq, PartialEq, Hash, PartialOrd, Ord)]
#[repr(u8)]
pub enum Season {
{{
for (const { id, season } of seasons) {