Skip to main content

ShadowPriestHandler

Struct ShadowPriestHandler 

Source
pub(crate) struct ShadowPriestHandler {
    inner: CombatHandler,
}

Fields§

§inner: CombatHandler

Implementations§

Source§

impl ShadowPriestHandler

Source

pub(crate) fn new( parts: ContentHandlerParts, params: &HandlerParams<'_>, ) -> Self

Finishes the specialization handler from the shared-content composition stage.

Trait Implementations§

Source§

impl Debug for ShadowPriestHandler

Source§

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

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

impl SpecHandler for ShadowPriestHandler

Source§

fn on_sim_start(&mut self, ctx: &mut SimContext<'_>)

Source§

fn on_player_ready(&mut self, ctx: &mut SimContext<'_>) -> Option<SpecAction>

Source§

fn on_cast_complete(&mut self, event: Event, ctx: &mut SimContext<'_>)

Source§

fn on_triggered_spell( &mut self, _spell_id: SpellIdx, _source: ActorId, _target: ActorId, _ctx: &mut SimContext<'_>, )

Source§

fn on_spell_impact(&mut self, _impact_id: u32, _ctx: &mut SimContext<'_>)

Source§

fn on_spell_launch(&mut self, _impact_id: u32, _ctx: &mut SimContext<'_>)

Source§

fn on_guardian_action( &mut self, _guardian_id: u32, _guardian_generation: u32, _ability_index: usize, _ctx: &mut SimContext<'_>, )

Source§

fn on_guardian_expire( &mut self, _guardian_id: u32, _guardian_generation: u32, _ctx: &mut SimContext<'_>, )

Source§

fn on_pet_action( &mut self, _auto_attack_index: usize, _ctx: &mut SimContext<'_>, )

Source§

fn on_aura_tick(&mut self, _event: AuraEventRef, _ctx: &mut SimContext<'_>)

Source§

fn on_channel_tick( &mut self, _spell_id: SpellIdx, _source: ActorId, _target: EnemyIdx, _generation: u64, _ctx: &mut SimContext<'_>, )

Source§

fn on_aura_expire(&mut self, _event: AuraEventRef, _ctx: &mut SimContext<'_>)

Source§

fn on_proc_heartbeat(&mut self, _ctx: &mut SimContext<'_>)

Source§

fn on_death( &mut self, _target: EnemyIdx, _scope: DeathEventScope, _ctx: &mut SimContext<'_>, )

Source§

fn on_encounter_despawn( &mut self, _scope: PullScope, _target: EnemyIdx, _kind: EncounterDespawnKind, _ctx: &mut SimContext<'_>, )

Source§

fn on_group_complete( &mut self, _scope: PullScope, _group: GroupId, _ctx: &mut SimContext<'_>, )

Source§

fn on_pull_complete( &mut self, _scope: PullScope, _finalize: bool, _ctx: &mut SimContext<'_>, )

Source§

fn on_encounter_terminate( &mut self, _reason: EncounterTerminationReason, _ctx: &mut SimContext<'_>, )

Source§

fn on_wave_activate( &mut self, _scope: PullScope, _wave: WaveId, _ctx: &mut SimContext<'_>, )

Source§

fn on_enemy_activate( &mut self, _scope: PullScope, _target: EnemyIdx, _ctx: &mut SimContext<'_>, )

Source§

fn on_retarget(&mut self, _scope: PullScope, _ctx: &mut SimContext<'_>)

Source§

fn on_encounter_move( &mut self, _scope: PullScope, _actor: PositionedActorRef, _transform: SpatialTransform, _ctx: &mut SimContext<'_>, )

Source§

fn on_actor_movement( &mut self, _actor: ActorId, _moving: bool, _generation: u64, _ctx: &mut SimContext<'_>, )

Source§

fn on_raid_event(&mut self, _index: usize, _ctx: &mut SimContext<'_>)

Source§

fn on_raid_add_despawn( &mut self, _target: EnemyIdx, _activation_generation: u64, _encounter_generation: PullLifecycleGeneration, _ctx: &mut SimContext<'_>, )

Source§

fn on_external_buff(&mut self, _index: usize, _ctx: &mut SimContext<'_>)

Source§

fn on_event_queue_empty(&mut self, _ctx: &mut SimContext<'_>)

Called only when the shared event queue is empty.
Source§

fn encounter_termination_time(&self) -> Option<SimTime>

Exact termination timestamp once the encounter policy is satisfied.
Source§

fn on_despawn( &mut self, _target: EnemyIdx, _ctx: &mut SimContext<'_>, ) -> EnemyDespawnOutcome

Despawn an enemy through the canonical combat cleanup boundary.
Source§

fn on_hook_timer( &mut self, _timer_id: u32, _source: ActorId, _target: Option<EnemyIdx>, _ctx: &mut SimContext<'_>, )

A HookTimer scheduled via the combat layer’s schedule_hook came due.
Source§

fn on_auto_attack( &mut self, _source: ActorId, _target: EnemyIdx, _ctx: &mut SimContext<'_>, )

Source§

fn on_enemy_auto_attack( &mut self, _source: EnemyIdx, _target: ActorId, _ctx: &mut SimContext<'_>, )

Source§

fn on_cooldown_ready( &mut self, _cooldown_key: SpellIdx, _ctx: &mut SimContext<'_>, )

Source§

fn reset(&mut self)

Reset mutable per-iteration state without reallocating.
Source§

fn flush_scheduled(&mut self, _push: &mut dyn FnMut(Event))

Source§

fn take_runtime_error(&mut self) -> Option<SpecRuntimeError>

Take a fatal event-processing failure, if the handler recorded one.
Source§

fn total_damage(&self) -> f64

Source§

fn cast_time_ms(&self, spell_id: SpellIdx, empower_rank: u8) -> u32

Cast time in milliseconds; 0 for instants.
Source§

fn paperdoll(&self) -> Option<Paperdoll>

Source§

fn introspect(&self) -> SpecIntrospection

Source§

fn attach_decision_trace(&mut self, _sink: Arc<dyn DecisionTraceSink>)

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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> SpecConfig for T
where T: Any + Debug + Send,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

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<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more