diff options
author | Daniel Schadt <kingdread@gmx.de> | 2019-05-15 03:56:40 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2019-05-15 03:56:40 +0200 |
commit | 59e18747cbb50f78d79a19e2edf8ba0f634161c3 (patch) | |
tree | 0342cdd87170041e4fce38d11f813136413a2fa1 /src | |
parent | 0ac0c8d6c7cdb0bef6576a034c52351e7899dff8 (diff) | |
download | evtclib-59e18747cbb50f78d79a19e2edf8ba0f634161c3.tar.gz evtclib-59e18747cbb50f78d79a19e2edf8ba0f634161c3.tar.bz2 evtclib-59e18747cbb50f78d79a19e2edf8ba0f634161c3.zip |
add guild state change
Diffstat (limited to 'src')
-rw-r--r-- | src/event.rs | 2 | ||||
-rw-r--r-- | src/raw/types.rs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs index 9a838fc..bafa43c 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::ReplInfo | CbtStateChange::StackActive | CbtStateChange::StackReset => { + CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity | CbtStateChange::Facing | CbtStateChange::TeamChange | CbtStateChange::AttackTarget | CbtStateChange::Targetable | CbtStateChange::MapId | CbtStateChange::ReplInfo | CbtStateChange::StackActive | CbtStateChange::StackReset | CbtStateChange::Guild=> { return None } diff --git a/src/raw/types.rs b/src/raw/types.rs index ef6ea00..93a75b7 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -145,6 +145,8 @@ pub enum CbtStateChange { /// src_agent is agent with buff, value is the duration to reset to (also marks inactive), /// pad61- is the stackid StackReset, + /// src_agent is agent, dst_agent through buff_dmg is 16 byte guid (client form, needs minor rearrange for api form) + Guild, } /// Combat buff remove type |