1
0
Fork 1
mirror of https://github.com/MingweiSamuel/Riven.git synced 2025-04-11 08:23:16 -07:00

updating season enum traits

This commit is contained in:
Mingwei Samuel 2019-10-25 19:25:48 -07:00
parent 5b4981f227
commit 561eb04c48
2 changed files with 6 additions and 0 deletions
src/consts
srcgen/consts

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) {