Skip to main content

IActionDamageMethods

Trait IActionDamageMethods 

Source
pub trait IActionDamageMethods: IActionDamage {
    // Provided methods
    fn get_name(self) -> Il2CppString { ... }
    fn get_abort_by_interrupt(self) -> bool { ... }
    fn ctor(
        self,
        attacker: impl Into<Character>,
        damager: impl Into<Character>,
        phase: impl Into<Phase>,
        ev: impl Into<AnimationEvent>,
    ) { ... }
    fn run_lying_when_die(self) { ... }
    fn on_update(self) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_abort_by_interrupt(self) -> bool

get_AbortByInterrupt() overload

Source

fn ctor( self, attacker: impl Into<Character>, damager: impl Into<Character>, phase: impl Into<Phase>, ev: impl Into<AnimationEvent>, )

.ctor(crate::combat::character::Character, crate::combat::character::Character, crate::combat::phase::Phase, crate::unity_engine::animationevent::AnimationEvent) overload

Source

fn run_lying_when_die(self)

RunLyingWhenDie() overload

Source

fn on_update(self)

OnUpdate() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IActionDamage> IActionDamageMethods for __T

Available on crate feature combat-actiondamage only.