Enum arcdps::evtc::event::EventCategory
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§
§impl Clone for EventCategory
impl Clone for EventCategory
§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 more§impl Debug for EventCategory
impl Debug for EventCategory
§impl<'de> Deserialize<'de> for EventCategory
impl<'de> Deserialize<'de> for EventCategory
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl Display for EventCategory
impl Display for EventCategory
§impl EnumCount for EventCategory
impl EnumCount for EventCategory
§impl From<&Event> for EventCategory
impl From<&Event> for EventCategory
§fn from(event: &Event) -> EventCategory
fn from(event: &Event) -> EventCategory
§impl<'_derivative_strum> From<&'_derivative_strum EventCategory> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum EventCategory> for &'static str
§fn from(x: &'_derivative_strum EventCategory) -> &'static str
fn from(x: &'_derivative_strum EventCategory) -> &'static str
§impl From<EventCategory> for &'static str
impl From<EventCategory> for &'static str
§fn from(x: EventCategory) -> &'static str
fn from(x: EventCategory) -> &'static str
§impl Hash for EventCategory
impl Hash for EventCategory
§impl IntoEnumIterator for EventCategory
impl IntoEnumIterator for EventCategory
type Iterator = EventCategoryIter
fn iter() -> EventCategoryIter ⓘ
§impl Ord for EventCategory
impl Ord for EventCategory
§impl PartialEq for EventCategory
impl PartialEq for EventCategory
§impl PartialOrd for EventCategory
impl PartialOrd for EventCategory
§impl Serialize for EventCategory
impl Serialize for EventCategory
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
§impl VariantNames for EventCategory
impl VariantNames for EventCategory
impl Copy for EventCategory
impl Eq for EventCategory
impl StructuralPartialEq for EventCategory
Auto Trait Implementations§
impl Freeze for EventCategory
impl RefUnwindSafe for EventCategory
impl Send for EventCategory
impl Sync for EventCategory
impl Unpin for EventCategory
impl UnwindSafe for EventCategory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)