forked from mirror/Riven
1
0
Fork 0

Add Team ID 300 for baron killing herald

users/mingwei/unknown-variant-messy
Mingwei Samuel 2021-10-07 09:24:56 -07:00
parent fed9c07e7f
commit ad1b4fd630
1 changed files with 4 additions and 1 deletions

View File

@ -6,10 +6,13 @@ use num_enum::{ IntoPrimitive, TryFromPrimitive };
#[derive(Eq, PartialEq, Hash, Ord, PartialOrd)] #[derive(Eq, PartialEq, Hash, Ord, PartialOrd)]
#[derive(Serialize_repr, Deserialize_repr)] #[derive(Serialize_repr, Deserialize_repr)]
#[derive(IntoPrimitive, TryFromPrimitive)] #[derive(IntoPrimitive, TryFromPrimitive)]
#[repr(u8)] #[repr(u16)]
pub enum Team { pub enum Team {
/// Blue team (bottom left on Summoner's Rift). /// Blue team (bottom left on Summoner's Rift).
BLUE = 100, BLUE = 100,
/// Red team (top right on Summoner's Rift). /// Red team (top right on Summoner's Rift).
RED = 200, RED = 200,
/// "killerTeamId" when Baron Nashor spawns and kills Rift Herald.
OTHER = 300,
} }