Add Team ID 300 for baron killing herald

This commit is contained in:
Mingwei Samuel 2021-10-07 09:24:56 -07:00
parent fed9c07e7f
commit ad1b4fd630

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,
} }