pub(crate) struct CastProfile {Show 34 fields
pub(crate) local: LocalSpellIdx,
pub(crate) spell_id: u32,
pub(crate) hostile_min_range: f64,
pub(crate) hostile_max_range: f64,
pub(crate) requires_hostile_target: bool,
pub(crate) ignores_line_of_sight: bool,
pub(crate) school_mask: SpellSchoolMask,
pub(crate) damage_pushback: bool,
pub(crate) channel_duration_pushback: bool,
pub(crate) main_hand_available: bool,
pub(crate) off_hand_available: bool,
pub(crate) equipped_item_matches: bool,
pub(crate) primary_resource: Option<ResourceSlotHandle>,
pub(crate) secondary_resource: Option<ResourceSlotHandle>,
pub(crate) gating_aura: Option<CastAuraRequirement>,
pub(crate) cost_bypass_aura: Option<CastAuraRequirement>,
pub(crate) cooldown_bypass_aura: Option<CastAuraRequirement>,
pub(crate) consume_aura_on_cast: Option<CastAuraRequirement>,
pub(crate) max_empower_aura: Option<CastAuraRequirement>,
pub(crate) instant_cast_aura: Option<CastAuraRequirement>,
pub(crate) channel_tick_cost_aura: Option<CastAuraRequirement>,
pub(crate) channel_tick_damage_aura: Option<CastAuraRequirement>,
pub(crate) required_caster_aura: Option<CastAuraRequirement>,
pub(crate) required_target_aura: Option<CastAuraRequirement>,
pub(crate) excluded_caster_aura: Option<CastAuraRequirement>,
pub(crate) excluded_target_aura: Option<CastAuraRequirement>,
pub(crate) aura_states: CastAuraStateProfile,
pub(crate) shapeshift_required_mask: u64,
pub(crate) shapeshift_excluded_mask: u64,
pub(crate) allow_while_unshifted: bool,
pub(crate) requires_unshifted: bool,
pub(crate) requires_stealth: bool,
stance_exceptions: CastAuraHandleRange,
passive_stance_exception: bool,
}Expand description
Finalized cast scalars and typed coordinates indexed directly by local spell identity.
Fields§
§local: LocalSpellIdx§spell_id: u32§hostile_min_range: f64§hostile_max_range: f64§requires_hostile_target: bool§ignores_line_of_sight: bool§school_mask: SpellSchoolMask§damage_pushback: bool§channel_duration_pushback: bool§main_hand_available: bool§off_hand_available: bool§equipped_item_matches: bool§primary_resource: Option<ResourceSlotHandle>§secondary_resource: Option<ResourceSlotHandle>§gating_aura: Option<CastAuraRequirement>§cost_bypass_aura: Option<CastAuraRequirement>§cooldown_bypass_aura: Option<CastAuraRequirement>§consume_aura_on_cast: Option<CastAuraRequirement>§max_empower_aura: Option<CastAuraRequirement>§instant_cast_aura: Option<CastAuraRequirement>§channel_tick_cost_aura: Option<CastAuraRequirement>§channel_tick_damage_aura: Option<CastAuraRequirement>§required_caster_aura: Option<CastAuraRequirement>§required_target_aura: Option<CastAuraRequirement>§excluded_caster_aura: Option<CastAuraRequirement>§excluded_target_aura: Option<CastAuraRequirement>§aura_states: CastAuraStateProfile§shapeshift_required_mask: u64§shapeshift_excluded_mask: u64§allow_while_unshifted: bool§requires_unshifted: bool§requires_stealth: bool§stance_exceptions: CastAuraHandleRange§passive_stance_exception: boolTrait Implementations§
Source§impl Clone for CastProfile
impl Clone for CastProfile
Source§fn clone(&self) -> CastProfile
fn clone(&self) -> CastProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CastProfile
impl Debug for CastProfile
impl Copy for CastProfile
Auto Trait Implementations§
impl Freeze for CastProfile
impl RefUnwindSafe for CastProfile
impl Send for CastProfile
impl Sync for CastProfile
impl Unpin for CastProfile
impl UnsafeUnpin for CastProfile
impl UnwindSafe for CastProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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