Add Team ID 300 for baron killing herald

pull/34/head
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(Serialize_repr, Deserialize_repr)]
#[derive(IntoPrimitive, TryFromPrimitive)]
#[repr(u8)]
#[repr(u16)]
pub enum Team {
/// Blue team (bottom left on Summoner's Rift).
BLUE = 100,
/// Red team (top right on Summoner's Rift).
RED = 200,
/// "killerTeamId" when Baron Nashor spawns and kills Rift Herald.
OTHER = 300,
}