Skip to main content

SpellEffectSemanticExt

Trait SpellEffectSemanticExt 

Source
pub trait SpellEffectSemanticExt {
    // Required methods
    fn effect_is(&self, expected: SpellEffectKind) -> bool;
    fn effect_is_any(&self, expected: &[SpellEffectKind]) -> bool;
    fn aura_is(&self, expected: AuraSubtypeKind) -> bool;
    fn aura_is_any(&self, expected: &[AuraSubtypeKind]) -> bool;
    fn modifier_property_is(&self, expected: ModifierPropertyKind) -> bool;
    fn modifier_property_is_any(
        &self,
        expected: &[ModifierPropertyKind],
    ) -> bool;
}
Expand description

Typed semantic predicates for a resolved DBC spell effect.

Required Methods§

Source

fn effect_is(&self, expected: SpellEffectKind) -> bool

Source

fn effect_is_any(&self, expected: &[SpellEffectKind]) -> bool

Source

fn aura_is(&self, expected: AuraSubtypeKind) -> bool

Source

fn aura_is_any(&self, expected: &[AuraSubtypeKind]) -> bool

Source

fn modifier_property_is(&self, expected: ModifierPropertyKind) -> bool

Source

fn modifier_property_is_any(&self, expected: &[ModifierPropertyKind]) -> bool

Implementations on Foreign Types§

Source§

impl SpellEffectSemanticExt for SpellEffect

Implementors§