Skip to main content

IDeco_SkillMethods

Trait IDeco_SkillMethods 

Source
pub trait IDeco_SkillMethods: IDeco_Skill {
    // Provided methods
    fn get_name(self) -> Il2CppString { ... }
    fn set_pair(self, value: impl Into<SkillStack_Packet>) { ... }
    fn on_enter(self) { ... }
    fn on_enter_attack(self) { ... }
    fn on_enemy_damage(self, ev: impl Into<AnimationEvent>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn set_pair(self, value: impl Into<SkillStack_Packet>)

set_Pair(crate::combat::skillstack::SkillStack_Packet) overload

Source

fn on_enter(self)

OnEnter() overload

Source

fn on_enter_attack(self)

OnEnterAttack() overload

Source

fn on_enemy_damage(self, ev: impl Into<AnimationEvent>)

OnEnemyDamage_(crate::unity_engine::animationevent::AnimationEvent) overload

Source

fn ctor(self)

.ctor() 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: IDeco_Skill> IDeco_SkillMethods for __T

Available on crate feature combat-deco_skill only.