From 59e18747cbb50f78d79a19e2edf8ba0f634161c3 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 15 May 2019 03:56:40 +0200 Subject: add guild state change --- src/event.rs | 2 +- src/raw/types.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3