pub enum Event {
Show 31 variants
PlayerReady {
t: SimTime,
},
OffGcdReady {
t: SimTime,
},
CastStart {
t: SimTime,
spell: ScheduledSpellBinding,
empower_rank: u8,
source: ActorId,
target: EnemyIdx,
},
CastComplete {
t: SimTime,
spell: ScheduledSpellBinding,
empower_rank: u8,
source: ActorId,
target: EnemyIdx,
},
TriggeredSpell {
t: SimTime,
spell: ScheduledSpellBinding,
source: ActorId,
target: ActorId,
},
SpellLaunch {
t: SimTime,
impact: PendingImpactBinding,
source: ActorId,
target: EnemyIdx,
},
SpellImpact {
t: SimTime,
impact: PendingImpactBinding,
source: ActorId,
target: EnemyIdx,
},
GuardianAction {
t: SimTime,
guardian: GuardianEventBinding,
source: ActorId,
target: EnemyIdx,
},
GuardianExpire {
t: SimTime,
guardian: GuardianEventBinding,
},
PetAction {
t: SimTime,
action: PetActionBinding,
source: ActorId,
target: EnemyIdx,
},
AuraTick {
t: SimTime,
aura: AuraEventBinding,
},
ChannelTick {
t: SimTime,
spell: ScheduledSpellBinding,
source: ActorId,
target: EnemyIdx,
generation: u64,
},
AuraExpire {
t: SimTime,
aura: AuraEventBinding,
},
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,
movement: ActorMovementBinding,
moving: bool,
},
RaidEvent {
t: SimTime,
event: RaidEventBinding,
},
RaidAddDespawn {
t: SimTime,
add: RaidAddBinding,
},
ExternalBuff {
t: SimTime,
buff: ExternalBuffBinding,
},
HookTimer {
t: SimTime,
timer: HookTimerBinding,
source: ActorId,
target: Option<EnemyIdx>,
},
CooldownReady {
t: SimTime,
spell: ScheduledSpellBinding,
},
AutoAttack {
t: SimTime,
source: ActorId,
target: EnemyIdx,
},
EnemyAutoAttack {
t: SimTime,
source: EnemyIdx,
target: ActorId,
},
}Expand description
Unified simulation event type.
Variants§
PlayerReady
Fields
§
t: SimTimeOffGcdReady
Fields
§
t: SimTimeCastStart
CastComplete
TriggeredSpell
Server-triggered cast retaining the exact affected actor identity.
SpellLaunch
SpellImpact
GuardianAction
GuardianExpire
PetAction
AuraTick
ChannelTick
AuraExpire
ProcHeartbeat
Fields
§
t: SimTimeDeath
EncounterDespawn
GroupComplete
PullComplete
EncounterTerminate
WaveActivate
EnemyActivate
Retarget
EncounterMove
ActorMovement
RaidEvent
RaidAddDespawn
ExternalBuff
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