pub enum Event {
Show 31 variants
PlayerReady {
t: SimTime,
},
OffGcdReady {
t: SimTime,
},
CastStart {
t: SimTime,
spell_id: SpellIdx,
empower_rank: u8,
source: ActorId,
target: EnemyIdx,
},
CastComplete {
t: SimTime,
spell_id: SpellIdx,
empower_rank: u8,
source: ActorId,
target: EnemyIdx,
},
TriggeredSpell {
t: SimTime,
spell_id: SpellIdx,
source: ActorId,
target: ActorId,
},
SpellLaunch {
t: SimTime,
impact_id: u32,
source: ActorId,
target: EnemyIdx,
},
SpellImpact {
t: SimTime,
impact_id: u32,
source: ActorId,
target: EnemyIdx,
},
GuardianAction {
t: SimTime,
guardian_id: u32,
guardian_generation: u32,
ability_index: usize,
source: ActorId,
target: EnemyIdx,
},
GuardianExpire {
t: SimTime,
guardian_id: u32,
guardian_generation: u32,
},
PetAction {
t: SimTime,
auto_attack_index: usize,
source: ActorId,
target: EnemyIdx,
},
AuraTick {
t: SimTime,
key: AuraKey,
target: Option<EnemyIdx>,
},
ChannelTick {
t: SimTime,
spell_id: SpellIdx,
source: ActorId,
target: EnemyIdx,
generation: u64,
},
AuraExpire {
t: SimTime,
key: AuraKey,
target: Option<EnemyIdx>,
},
ProcHeartbeat {
t: SimTime,
},
Death {
t: SimTime,
target: EnemyIdx,
scope: DeathEventScope,
},
EncounterDespawn {
t: SimTime,
scope: PullScope,
target: EnemyIdx,
kind: EncounterDespawnKind,
},
GroupComplete {
t: SimTime,
scope: PullScope,
group: GroupId,
},
PullComplete {
t: SimTime,
scope: PullScope,
finalize: bool,
},
EncounterTerminate {
t: SimTime,
reason: EncounterTerminationReason,
},
WaveActivate {
t: SimTime,
scope: PullScope,
wave: WaveId,
},
EnemyActivate {
t: SimTime,
scope: PullScope,
target: EnemyIdx,
},
Retarget {
t: SimTime,
scope: PullScope,
},
EncounterMove {
t: SimTime,
scope: PullScope,
actor: PositionedActorRef,
transform: SpatialTransform,
},
ActorMovement {
t: SimTime,
actor: ActorId,
moving: bool,
generation: u64,
},
RaidEvent {
t: SimTime,
index: usize,
},
RaidAddDespawn {
t: SimTime,
target: EnemyIdx,
activation_generation: u64,
encounter_generation: PullLifecycleGeneration,
},
ExternalBuff {
t: SimTime,
index: usize,
},
HookTimer {
t: SimTime,
timer_id: u32,
source: ActorId,
target: Option<EnemyIdx>,
},
CooldownReady {
t: SimTime,
cooldown_key: SpellIdx,
},
AutoAttack {
t: SimTime,
source: ActorId,
target: EnemyIdx,
},
EnemyAutoAttack {
t: SimTime,
source: EnemyIdx,
target: ActorId,
},
}Expand description
Unified simulation event type.
Variants§
PlayerReady
OffGcdReady
CastStart
CastComplete
TriggeredSpell
Server-triggered cast retaining the exact affected actor identity.
SpellLaunch
SpellImpact
GuardianAction
Fields
GuardianExpire
PetAction
AuraTick
ChannelTick
AuraExpire
ProcHeartbeat
Death
EncounterDespawn
GroupComplete
PullComplete
EncounterTerminate
WaveActivate
EnemyActivate
Retarget
EncounterMove
ActorMovement
RaidEvent
RaidAddDespawn
Fields
§
encounter_generation: PullLifecycleGenerationExternalBuff
HookTimer
CooldownReady
AutoAttack
EnemyAutoAttack
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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
Mutably borrows from an owned value. Read more