Enum evtc::event::EventKind

source ·
pub enum EventKind {
Show 57 variants EnterCombat(EnterCombatEvent), ExitCombat(AgentStatusEvent), ChangeUp(AgentStatusEvent), ChangeDead(AgentStatusEvent), ChangeDown(AgentStatusEvent), Spawn(AgentStatusEvent), Despawn(AgentStatusEvent), HealthUpdate(HealthUpdateEvent), LogStart(LogEvent), LogEnd(LogEvent), WeaponSwap(WeaponSwapEvent), MaxHealthUpdate(MaxHealthEvent), PointOfView(AgentStatusEvent), Language { time: u64, language: Result<Language, u64>, }, GWBuild { time: u64, build: u64, }, ShardId { time: u64, shard: u64, }, Reward(RewardEvent), BuffInitial(BuffInitialEvent), Position(PositionEvent), Velocity(PositionEvent), Facing(PositionEvent), TeamChange(TeamChangeEvent), AttackTarget(AttackTargetEvent), Targetable(TargetableEvent), MapId { time: u64, map: u64, }, StackActive(StackActiveEvent), StackReset(StackResetEvent), Guild(GuildEvent), BuffInfo(BuffInfo), BuffFormula(BuffFormula), SkillInfo(SkillInfo), SkillTiming(SkillTiming), BreakbarState(BreakbarStateEvent), BreakbarPercent(BreakbarPercentEvent), Error(ErrorEvent), AgentMarker(AgentMarkerEvent), BarrierUpdate(BarrierUpdateEvent), StatReset { time: u64, target: u64, }, Extension { sig: u32, event: Event, }, ApiDelayed { event: Box<EventKind>, }, InstanceStart { time: u64, start: u64, }, Tickrate { time: u64, rate: u64, }, Last90BeforeDown(DownContributionEvent), EffectOld(EffectOld), IdToGUID(ContentGUID), LogNPCUpdate(LogEvent), ExtensionCombat { sig: u32, event: Event, }, FractalScale { time: u64, scale: u64, }, Effect(Effect), Ruleset(Ruleset), Activation(ActivationEvent), BuffRemove(BuffRemoveEvent), BuffApply(BuffApplyEvent), BuffDamage(BuffDamageEvent), Strike(StrikeEvent), SquadMarker(SquadMarkerEvent), Unknown(Event),
}
Expand description

Possible Event kinds.

Variants§

§

EnterCombat(EnterCombatEvent)

Agent entered combat.

§

ExitCombat(AgentStatusEvent)

Agent left combat.

§

ChangeUp(AgentStatusEvent)

Agent is now alive.

§

ChangeDead(AgentStatusEvent)

Agent is now dead.

§

ChangeDown(AgentStatusEvent)

Agent is now downed.

§

Spawn(AgentStatusEvent)

Agent is now in game tracking range.

§

Despawn(AgentStatusEvent)

Agent is no longer being tracked or out of game tracking range.

§

HealthUpdate(HealthUpdateEvent)

Agent health change.

§

LogStart(LogEvent)

Log started.

§

LogEnd(LogEvent)

Log ended.

§

WeaponSwap(WeaponSwapEvent)

Agent swapped weapon set.

§

MaxHealthUpdate(MaxHealthEvent)

Agent maximum health change.

§

PointOfView(AgentStatusEvent)

Agent is “recording” player.

§

Language

Fields

§time: u64
§language: Result<Language, u64>

Game text language.

§

GWBuild

Fields

§time: u64
§build: u64

Game build.

§

ShardId

Fields

§time: u64
§shard: u64

Sever shard id.

§

Reward(RewardEvent)

Agent got a reward chest.

§

BuffInitial(BuffInitialEvent)

Appears once per buff per agent on logging start.

§

Position(PositionEvent)

Agent position change.

§

Velocity(PositionEvent)

Agent velocity change.

§

Facing(PositionEvent)

Agent facing change.

§

TeamChange(TeamChangeEvent)

Agent team change.

§

AttackTarget(AttackTargetEvent)

Agent is now an attack target.

§

Targetable(TargetableEvent)

Agent targetability change.

§

MapId

Fields

§time: u64
§map: u64

Map id.

§

StackActive(StackActiveEvent)

Agent with active buff.

§

StackReset(StackResetEvent)

Agent with reset buff.

§

Guild(GuildEvent)

Agent is in guild.

§

BuffInfo(BuffInfo)

Buff information.

§

BuffFormula(BuffFormula)

Buff formula.

§

SkillInfo(SkillInfo)

Skill information.

§

SkillTiming(SkillTiming)

Skill action.

§

BreakbarState(BreakbarStateEvent)

Agent breakbar state change.

§

BreakbarPercent(BreakbarPercentEvent)

Breakbar percentage.

§

Error(ErrorEvent)

Error.

§

AgentMarker(AgentMarkerEvent)

Agent has marker.

§

BarrierUpdate(BarrierUpdateEvent)

Agent barrier change.

§

StatReset

Fields

§time: u64
§target: u64

Arc UI stats reset.

§

Extension

Fields

§sig: u32
§event: Event

A custom event created by an extension (addon/plugin).

§

ApiDelayed

Fields

Delayed combat event.

§

InstanceStart

Fields

§time: u64
§start: u64

Instance started.

§

Tickrate

Fields

§time: u64
§rate: u64

Tick rate.

§

Last90BeforeDown(DownContributionEvent)

Last 90% before down for downs contribution.

§

EffectOld(EffectOld)

Effect created or ended.

§

IdToGUID(ContentGUID)

Id to GUID.

This maps a volatile content id to a stable GUID.

§

LogNPCUpdate(LogEvent)

Log NPC changed.

§

ExtensionCombat

Fields

§sig: u32
§event: Event

A custom combat event created by an extension (addon/plugin).

§

FractalScale

Fields

§time: u64
§scale: u64

Fractal scale.

§

Effect(Effect)

Effect created or ended.

§

Ruleset(Ruleset)

Combat ruleset.

§

Activation(ActivationEvent)

Activation (cast) event.

§

BuffRemove(BuffRemoveEvent)

Buff removed.

§

BuffApply(BuffApplyEvent)

Buff applied.

§

BuffDamage(BuffDamageEvent)

Buff damage.

§

Strike(StrikeEvent)

Direct (strike) damage.

§

SquadMarker(SquadMarkerEvent)

Squad marker placed or removed.

§

Unknown(Event)

Unknown event.

Trait Implementations§

source§

impl Clone for EventKind

source§

fn clone(&self) -> EventKind

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
source§

impl Debug for EventKind

source§

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

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EventKind

source§

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

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

impl From<Event> for EventKind

source§

fn from(event: Event) -> Self

Converts to this type from the input type.
source§

impl Serialize for EventKind

source§

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

Serialize this value into the given Serde serializer. Read more

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> 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,

§

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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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>,