forked from mirror/Riven
17 lines
No EOL
408 B
Text
17 lines
No EOL
408 B
Text
{{
|
|
const dotUtils = require('./dotUtils.js');
|
|
const seasons = require('./.seasons.json');
|
|
}}{{= dotUtils.preamble() }}
|
|
|
|
/// League of Legends matchmaking seasons.
|
|
pub enum Season {
|
|
{{
|
|
for (const { id, season } of seasons) {
|
|
let name = season.replace(' ', '');
|
|
name = dotUtils.changeCase.pascalCase(name).padEnd(13);
|
|
}}
|
|
{{= name }} = {{= id }},
|
|
{{
|
|
}
|
|
}}
|
|
} |