diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/event.rs | 2 | ||||
-rw-r--r-- | src/raw/types.rs | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs index 4d25a9f..f24df69 100644 --- a/src/event.rs +++ b/src/event.rs @@ -200,7 +200,7 @@ impl Event { reward_type: raw_event.value, }, // XXX: implement proper handling of those events! - CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity => { + CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity | CbtStateChange::Facing | CbtStateChange::TeamChange => { return None } diff --git a/src/raw/types.rs b/src/raw/types.rs index 2453350..5d4ee10 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -36,6 +36,8 @@ pub enum CbtResult { Blind, /// Physical hit was the killing blow KillingBlow, + /// Hit was downing hit. + Downed, /// Field is not used in this kind of event. None, } @@ -130,6 +132,10 @@ pub enum CbtStateChange { Position, /// src_agent changed, cast float* v = (float*)&dst_agent, access as x/y/z (float[3]) Velocity, + /// src_agent changed, cast float* f = (float*)&dst_agent, access as x/y (float[2]) + Facing, + /// src_agent change, dst_agent new team id + TeamChange, } /// Combat buff remove type |