mirror of https://github.com/MingweiSamuel/Riven
Add Team ID 300 for baron killing herald
parent
fed9c07e7f
commit
ad1b4fd630
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue