Enum evtc::event::EventCategory
source · pub enum EventCategory {
StateChange,
Activation,
BuffRemove,
BuffApply,
BuffDamage,
Strike,
}
Expand description
Possible Event
categories.
Variants§
StateChange
State change event.
See variants of StateChange
for details.
Activation
Activation (cast) event.
is_activation
contains Activation
(except Activation::None
).
For Activation::Start
and Activation::QuicknessUnused
:
value
contains the duration at which all “significant” effects associated with the cast have happened (for example damage hits).
buff_dmg
contains the duration at which control is expected to be returned to the character (for example aftercasts).
For Activation::CancelFire
and Activation::CancelCancel
:
value
contains the time spent in animation.
buff_dmg
contains the duration of the scaled (as if not affected) time spent.
dst_agent
contains x/y of target of skill effect.
overstack_value
contains z of target of skill effect.
All durations and times are given in milliseconds.
For skill data see SkillInfo
and SkillTiming
.
BuffRemove
Buff removed.
is_buffremove
contains BuffRemove
(except BuffRemove::None
).
skill_id
contains the buff id.
buff
will be non-zero.
src_agent
is agent that had buff removed.
dst_agent
is the agent that caused the buff to be removed.
value
contains the remaining time on the removed buff calculated as duration.
buff_dmg
contains the remaining time on the removed buff calculated as intensity
Warning: this can overflow on BuffRemove::All
, use as sum check only!
For BuffRemove::All
result
contains the number of stacks removed
For BuffRemove::Single
pad61
to pad64
contains the buff instance id of buff removed.
For buff data see BuffInfo
and BuffFormula
.
BuffApply
Buff applied.
skill_id
contains the buff id.
buff
will be non-zero.
value
contains the duration in milliseconds applied.
pad61
to pad64
contains the buff instance id of the buff applied.
is_shields
contains the stack active status.
If is_offcycle == 0
, overstack_value
contains the duration of the existing buff stack that is expected to be replaced.
If is_offcycle != 0
, overstack_value
contains the new duration of the existing buff stack and value
contains the duration change (no new buff stack added).
For buff data see BuffInfo
and BuffFormula
.
BuffDamage
Buff damage.
skill_id
contains the buff id.
buff
will be non-zero.
buff_dmg
contains the damage dealt in Arc’s damage simulation.
If is_offcycle == 0
, damage is accumulated by tick (for example Bleeding tick).
If is_offcycle != 0
, damage is accumulated reactively (for example Confusion damage on skill use).
result
contains 0
if expected to hit, 1
for invulnerability by buff and 2
/3
/4
for invulnerability by skill.
For buff data see BuffInfo
and BuffFormula
.
Strike
Direct damage strike.
value
contains the combined shield (barrier) and health damage dealt.
overstack_value
contains the shield (barrier) damage dealt.
is_offcycle == 1
if target is currently downed.
result
contains Strike
.
Trait Implementations§
source§impl Clone for EventCategory
impl Clone for EventCategory
source§fn clone(&self) -> EventCategory
fn clone(&self) -> EventCategory
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EventCategory
impl Debug for EventCategory
source§impl<'de> Deserialize<'de> for EventCategory
impl<'de> Deserialize<'de> for EventCategory
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl From<&Event> for EventCategory
impl From<&Event> for EventCategory
source§impl Hash for EventCategory
impl Hash for EventCategory
source§impl Ord for EventCategory
impl Ord for EventCategory
source§fn cmp(&self, other: &EventCategory) -> Ordering
fn cmp(&self, other: &EventCategory) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for EventCategory
impl PartialEq for EventCategory
source§fn eq(&self, other: &EventCategory) -> bool
fn eq(&self, other: &EventCategory) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EventCategory
impl PartialOrd for EventCategory
source§fn partial_cmp(&self, other: &EventCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &EventCategory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more