diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-04-04 14:30:18 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-04-04 14:30:18 +0200 |
commit | 5eb6f439793ef1157fde26335e444208bfbde170 (patch) | |
tree | 3b021f32e8ad0c326809d2ea80af23cd488160be | |
parent | f556d4ea10eaa68206a9736ec4534ca3a5c49a9c (diff) | |
download | evtclib-5eb6f439793ef1157fde26335e444208bfbde170.tar.gz evtclib-5eb6f439793ef1157fde26335e444208bfbde170.tar.bz2 evtclib-5eb6f439793ef1157fde26335e444208bfbde170.zip |
add more events
The amount of non-properly-implemented events is growing
-rw-r--r-- | src/event.rs | 2 | ||||
-rw-r--r-- | src/raw/types.rs | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs index 5800414..558985e 100644 --- a/src/event.rs +++ b/src/event.rs @@ -215,7 +215,7 @@ impl Event { api_guild_id: get_api_guild_string(&get_guild_id_bytes(raw_event)), }, // 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::BuffInfo | CbtStateChange::BuffFormula | CbtStateChange::SkillInfo | CbtStateChange::SkillTiming => { return None } diff --git a/src/raw/types.rs b/src/raw/types.rs index 2fbdabc..abb8a14 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -148,6 +148,14 @@ pub enum CbtStateChange { StackReset, /// src_agent is agent, dst_agent through buff_dmg is 16 byte guid (client form, needs minor rearrange for api form) Guild, + /// is_flanking = probably invuln, is_shields = probably invert, is_offcycle = category, pad61 = stacking type, src_master_instid = max stacks (not in realtime) + BuffInfo, + /// (float*)&time [9]: type attr1 attr2 param1 param2 param3 trait_src trait_self, is_flanking = !npc, is_shields = !player, is_offcycle = break (not in realtime, one per formula) + BuffFormula, + /// (float*)&time [9]: recharge range0 range1 tooltiptime (not in realtime) + SkillInfo, + /// src_agent = action, dst_agent = at millisecond (not in realtime, one per timing) + SkillTiming, } /// Combat buff remove type |