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§
Sourcefn get_global_asset_path(self) -> Il2CppString
fn get_global_asset_path(self) -> Il2CppString
get_GlobalAssetPath() overload
Sourcefn load_layout_prefab(self)
fn load_layout_prefab(self)
LoadLayoutPrefab() overload
Sourcefn is_loading_layout_prefab(self) -> bool
fn is_loading_layout_prefab(self) -> bool
IsLoadingLayoutPrefab() overload
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() overload
Sourcefn calc_info_list(self, defence_unit: impl Into<Unit>)
fn calc_info_list(self, defence_unit: impl Into<Unit>)
CalcInfoList(crate::app::unit::Unit) overload
Sourcefn calc_info_list_2(self)
fn calc_info_list_2(self)
CalcInfoList() overload
Sourcefn calc_damage(
self,
offence_unit: impl Into<Unit>,
defence_unit: impl Into<Unit>,
engage_skill: impl Into<SkillData>,
) -> i32
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
Sourcefn get_proc_desc(self) -> Array<ProcDesc>
fn get_proc_desc(self) -> Array<ProcDesc>
GetProcDesc() 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§
impl<__T: IDamageInfo> IDamageInfoMethods for __T
Available on crate feature
app-damageinfo only.