pub(super) struct ActionOverrideRegistration<'a> {
pub(super) definition: &'a mut CombatSystemBuilder,
}Fields§
§definition: &'a mut CombatSystemBuilderImplementations§
Source§impl ActionOverrideRegistration<'_>
impl ActionOverrideRegistration<'_>
pub(super) fn apply_dbc_action_overrides(&mut self)
Sourcefn is_unselected_talent_spell(&self, spell_id: u32) -> bool
fn is_unselected_talent_spell(&self, spell_id: u32) -> bool
Whether spell_id is a talent-gated spell the decoded loadout did not select.
These are exactly the spells populate_spell_slots initializes with is_enabled = 0.
fn replacement_aura( &mut self, base_spell_index: usize, replacement: SpellIdx, ) -> Option<LocalAuraIdx>
fn ensure_replacement_spell( &mut self, base_spell_index: usize, replacement: SpellIdx, )
Auto Trait Implementations§
impl<'a> Freeze for ActionOverrideRegistration<'a>
impl<'a> !RefUnwindSafe for ActionOverrideRegistration<'a>
impl<'a> Send for ActionOverrideRegistration<'a>
impl<'a> Sync for ActionOverrideRegistration<'a>
impl<'a> Unpin for ActionOverrideRegistration<'a>
impl<'a> UnsafeUnpin for ActionOverrideRegistration<'a>
impl<'a> !UnwindSafe for ActionOverrideRegistration<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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