Skip to main content

IUnitCalculator_WeaponLevelCommandMethods

Trait IUnitCalculator_WeaponLevelCommandMethods 

Source
pub trait IUnitCalculator_WeaponLevelCommandMethods: IUnitCalculator_WeaponLevelCommand {
    // Provided methods
    fn get_name(self) -> Il2CppString { ... }
    fn get_weapon_level(self, item: impl Into<ItemData>) -> WeaponLevel_Kind { ... }
    fn get_impl(self, side: impl Into<BattleInfoSide>) -> f32 { ... }
    fn get_impl_2(self, unit: impl Into<Unit>) -> f32 { ... }
    fn is_visible(self) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn get_weapon_level(self, item: impl Into<ItemData>) -> WeaponLevel_Kind

GetWeaponLevel(crate::app::itemdata::ItemData) overload

Source

fn get_impl(self, side: impl Into<BattleInfoSide>) -> f32

GetImpl(crate::app::battleinfoside::BattleInfoSide) overload

Source

fn get_impl_2(self, unit: impl Into<Unit>) -> f32

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

Source

fn is_visible(self) -> bool

IsVisible() 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: IUnitCalculator_WeaponLevelCommand> IUnitCalculator_WeaponLevelCommandMethods for __T

Available on crate feature app-unitcalculator only.