diff options
| author | Daniel Schadt <kingdread@gmx.de> | 2019-02-16 01:04:01 +0100 | 
|---|---|---|
| committer | Daniel Schadt <kingdread@gmx.de> | 2019-02-16 01:04:01 +0100 | 
| commit | 37c4cd0cdc27f2c1313db590b7accfeafacaf658 (patch) | |
| tree | 63e51b120793ee96c69a5380f8b54fbb36af9c3a | |
| parent | 73c496540981f9e155aa4d33f692ab2a5ba58b2d (diff) | |
| download | evtclib-37c4cd0cdc27f2c1313db590b7accfeafacaf658.tar.gz evtclib-37c4cd0cdc27f2c1313db590b7accfeafacaf658.tar.bz2 evtclib-37c4cd0cdc27f2c1313db590b7accfeafacaf658.zip | |
implement new state changes
| -rw-r--r-- | src/event.rs | 2 | ||||
| -rw-r--r-- | src/raw/types.rs | 7 | 
2 files changed, 8 insertions, 1 deletions
| diff --git a/src/event.rs b/src/event.rs index 9329d50..9a838fc 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::AttackTarget | CbtStateChange::Targetable | CbtStateChange::MapId => { +            CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity | CbtStateChange::Facing | CbtStateChange::TeamChange | CbtStateChange::AttackTarget | CbtStateChange::Targetable | CbtStateChange::MapId | CbtStateChange::ReplInfo | CbtStateChange::StackActive | CbtStateChange::StackReset => {                  return None              } diff --git a/src/raw/types.rs b/src/raw/types.rs index 07d4312..ef6ea00 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -138,6 +138,13 @@ pub enum CbtStateChange {      Targetable,      /// src_agent is map id      MapId, +    /// internal use by arcDPS, won't see anywhere +    ReplInfo, +    /// src_agent is agent with buff, dst_agent is the stackid marked active +    StackActive, +    /// src_agent is agent with buff, value is the duration to reset to (also marks inactive), +    /// pad61- is the stackid +    StackReset,  }  /// Combat buff remove type | 
