Skip to main content

IDamageInfoMethods

Trait IDamageInfoMethods 

Source
pub trait IDamageInfoMethods: IDamageInfo {
    // Provided methods
    fn get_global_asset_path(self) -> Il2CppString { ... }
    fn load_layout_prefab(self) { ... }
    fn is_loading_layout_prefab(self) -> bool { ... }
    fn is_show(self) -> bool { ... }
    fn init(self) { ... }
    fn on_dispose(self) { ... }
    fn tick(self) { ... }
    fn calc_info_list(self, defence_unit: impl Into<Unit>) { ... }
    fn calc_info_list_2(self) { ... }
    fn calc_damage(
        self,
        offence_unit: impl Into<Unit>,
        defence_unit: impl Into<Unit>,
        engage_skill: impl Into<SkillData>,
    ) -> i32 { ... }
    fn get_proc_desc(self) -> Array<ProcDesc> { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_global_asset_path(self) -> Il2CppString

get_GlobalAssetPath() overload

Source

fn load_layout_prefab(self)

LoadLayoutPrefab() overload

Source

fn is_loading_layout_prefab(self) -> bool

IsLoadingLayoutPrefab() overload

Source

fn is_show(self) -> bool

IsShow() overload

Source

fn init(self)

Init() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn tick(self)

Tick() overload

Source

fn calc_info_list(self, defence_unit: impl Into<Unit>)

CalcInfoList(crate::app::unit::Unit) overload

Source

fn calc_info_list_2(self)

CalcInfoList() overload

Source

fn calc_damage( self, offence_unit: impl Into<Unit>, defence_unit: impl Into<Unit>, engage_skill: impl Into<SkillData>, ) -> i32

CalcDamage(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::skilldata::SkillData) overload

Source

fn get_proc_desc(self) -> Array<ProcDesc>

GetProcDesc() 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: IDamageInfo> IDamageInfoMethods for __T

Available on crate feature app-damageinfo only.