diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/event.rs | 2 | ||||
-rw-r--r-- | src/raw/types.rs | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs index 02f4686..0e83660 100644 --- a/src/event.rs +++ b/src/event.rs @@ -199,6 +199,8 @@ impl Event { reward_id: raw_event.dst_agent, reward_type: raw_event.value, }, + // XXX: implement proper handling of those events! + CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity => return None, CbtStateChange::None => if let Some(kind) = check_activation(raw_event) { kind diff --git a/src/raw/types.rs b/src/raw/types.rs index e3a80af..f131eb1 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -123,6 +123,13 @@ pub enum CbtStateChange { /// * `dst_agent` is reward id. /// * `value` is reward type. Reward, + /// Combat event that will appear once per buff per agent on logging start (zero duration, + /// buff==18) + BuffInitial, + /// src_agent changed, cast float* p = (float*)&dst_agent, access as x/y/z (float[3]) + Position, + /// src_agent changed, cast float* v = (float*)&dst_agent, access as x/y/z (float[3]) + Velocity, } /// Combat buff remove type |