pub(crate) struct BuilderAuraDef {Show 40 fields
pub(crate) aura_id: u32,
pub(crate) name: String,
pub(crate) on: AuraOn,
pub(crate) propagates_to_pet: bool,
pub(crate) base_duration_ms: u32,
pub(crate) doses: u8,
pub(crate) max_stacks: u8,
pub(crate) pandemic: bool,
pub(crate) refresh_behavior: RefreshBehavior,
pub(crate) duration_hasted: bool,
pub(crate) shapeshift_form: i32,
pub(crate) shapeshift_form_flags: i32,
pub(crate) shapeshift_combat_round_time_ms: u32,
pub(crate) effects: [Option<BuffEffect>; 16],
pub(crate) periodic: Option<PeriodicDef>,
pub(crate) spell_group: Option<SpellGroup>,
pub(crate) granted_aura_state: Option<AuraState>,
pub(crate) crowd_control: Option<CrowdControlSemantic>,
pub(crate) is_snapshot: bool,
pub(crate) dynamic_tick_action: DynamicTickAction,
pub(crate) apply_at_max_stacks: bool,
pub(crate) reverse: bool,
pub(crate) freeze_stacks: bool,
pub(crate) tick_behavior: AuraTickBehavior,
pub(crate) tick_stack_change: u8,
pub(crate) async_stacks: bool,
pub(crate) periodic_damage_scales_with_stacks: bool,
pub(crate) interrupt_flags: SpellAuraInterruptFlags,
pub(crate) reapply_on_expire: bool,
pub(crate) application_excluded_auras: [u32; 5],
pub(crate) application_followup_aura_id: u32,
pub(crate) apply_effects: Vec<BuilderSpellEffect>,
pub(crate) apply_profile_spell_id: u32,
pub(crate) on_consume: Vec<BuilderSpellEffect>,
pub(crate) tick_effects: Vec<BuilderSpellEffect>,
pub(crate) tick_profile_spell_id: u32,
pub(crate) expire_trigger_spell_id: u32,
pub(crate) expire_trigger_from_caster: bool,
pub(crate) on_expire: Option<CastHookFn>,
pub(crate) on_tick: Option<CastHookFn>,
}Fields§
§aura_id: u32§name: String§on: AuraOn§propagates_to_pet: bool§base_duration_ms: u32§doses: u8§max_stacks: u8§pandemic: bool§refresh_behavior: RefreshBehavior§duration_hasted: bool§shapeshift_form: i32§shapeshift_form_flags: i32§shapeshift_combat_round_time_ms: u32§effects: [Option<BuffEffect>; 16]§periodic: Option<PeriodicDef>§spell_group: Option<SpellGroup>§granted_aura_state: Option<AuraState>§crowd_control: Option<CrowdControlSemantic>§is_snapshot: bool§dynamic_tick_action: DynamicTickAction§apply_at_max_stacks: bool§reverse: bool§freeze_stacks: bool§tick_behavior: AuraTickBehavior§tick_stack_change: u8§async_stacks: bool§periodic_damage_scales_with_stacks: bool§interrupt_flags: SpellAuraInterruptFlags§reapply_on_expire: bool§application_excluded_auras: [u32; 5]§application_followup_aura_id: u32§apply_effects: Vec<BuilderSpellEffect>§apply_profile_spell_id: u32§on_consume: Vec<BuilderSpellEffect>§tick_effects: Vec<BuilderSpellEffect>§tick_profile_spell_id: u32§expire_trigger_spell_id: u32§expire_trigger_from_caster: bool§on_expire: Option<CastHookFn>§on_tick: Option<CastHookFn>Implementations§
Source§impl BuilderAuraDef
impl BuilderAuraDef
Sourcepub(crate) fn into_data(&self, ctx: &mut BuilderToRuntimeCtx<'_>) -> AuraData
pub(crate) fn into_data(&self, ctx: &mut BuilderToRuntimeCtx<'_>) -> AuraData
Lower this builder def into its Copy engine-side data struct.
Generated by #[derive(LowerData)].
Source§impl BuilderAuraDef
impl BuilderAuraDef
Sourcepub(crate) fn from_draft(source: AuraDefinitionDraft) -> Self
pub(crate) fn from_draft(source: AuraDefinitionDraft) -> Self
Finalize an owned builder draft into this definition.
Generated by #[derive(LowerData)].
Trait Implementations§
Source§impl Clone for BuilderAuraDef
impl Clone for BuilderAuraDef
Source§fn clone(&self) -> BuilderAuraDef
fn clone(&self) -> BuilderAuraDef
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 moreAuto Trait Implementations§
impl Freeze for BuilderAuraDef
impl RefUnwindSafe for BuilderAuraDef
impl Send for BuilderAuraDef
impl Sync for BuilderAuraDef
impl Unpin for BuilderAuraDef
impl UnsafeUnpin for BuilderAuraDef
impl UnwindSafe for BuilderAuraDef
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