1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
/////////////////////////////////////////////// // // // ! // // This file is automatically generated! // // Do not directly edit! // // // /////////////////////////////////////////////// use strum_macros::{ EnumString, Display, AsRefStr, IntoStaticStr }; /// League of Legends game mode, such as Classic, /// ARAM, URF, One For All, Ascension, etc. #[cfg_attr(feature = "nightly", non_exhaustive)] #[derive(Debug, Copy, Clone)] #[derive(Eq, PartialEq, Hash)] #[derive(EnumString, Display, AsRefStr, IntoStaticStr)] #[repr(u8)] pub enum GameMode { /// Classic Summoner's Rift and Twisted Treeline games CLASSIC, /// Dominion/Crystal Scar games ODIN, /// ARAM games ARAM, /// Tutorial games TUTORIAL, /// URF games URF, /// Doom Bot games DOOMBOTSTEEMO, /// One for All games ONEFORALL, /// Ascension games ASCENSION, /// Snowdown Showdown games FIRSTBLOOD, /// Legend of the Poro King games KINGPORO, /// Nexus Siege games SIEGE, /// Blood Hunt Assassin games ASSASSINATE, /// All Random Summoner's Rift games ARSR, /// Dark Star: Singularity games DARKSTAR, /// Star Guardian Invasion games STARGUARDIAN, /// PROJECT: Hunters games PROJECT, /// Nexus Blitz games GAMEMODEX, /// Odyssey: Extraction games ODYSSEY, } serde_string!(GameMode);