diff options
-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 14365b7..9329d50 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::Facing | CbtStateChange::TeamChange => { + CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity | CbtStateChange::Facing | CbtStateChange::TeamChange | CbtStateChange::AttackTarget | CbtStateChange::Targetable | CbtStateChange::MapId => { return None } diff --git a/src/raw/types.rs b/src/raw/types.rs index fb99708..07d4312 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -132,6 +132,12 @@ pub enum CbtStateChange { Facing, /// src_agent change, dst_agent new team id TeamChange, + /// src_agent is an attacktarget, dst_agent is the parent agent (gadget type), value is the current targetable state + AttackTarget, + /// dst_agent is the new target-able state (0 = no, 1 = yes. default yes) + Targetable, + /// src_agent is map id + MapId, } /// Combat buff remove type |