Enum arcdps::evtc::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

§

fn clone(&self) -> EventCategory

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for EventCategory

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for EventCategory

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<EventCategory, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for EventCategory

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl EnumCount for EventCategory

§

const COUNT: usize = 6usize

§

impl From<&Event> for EventCategory

§

fn from(event: &Event) -> EventCategory

Converts to this type from the input type.
§

impl<'_derivative_strum> From<&'_derivative_strum EventCategory> for &'static str

§

fn from(x: &'_derivative_strum EventCategory) -> &'static str

Converts to this type from the input type.
§

impl From<EventCategory> for &'static str

§

fn from(x: EventCategory) -> &'static str

Converts to this type from the input type.
§

impl Hash for EventCategory

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl IntoEnumIterator for EventCategory

§

impl Ord for EventCategory

§

fn cmp(&self, other: &EventCategory) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for EventCategory

§

fn eq(&self, other: &EventCategory) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl PartialOrd for EventCategory

§

fn partial_cmp(&self, other: &EventCategory) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
§

impl Serialize for EventCategory

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl VariantNames for EventCategory

§

const VARIANTS: &'static [&'static str] = _

Names of the variants of this enum
§

impl Copy for EventCategory

§

impl Eq for EventCategory

§

impl StructuralPartialEq for EventCategory

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,