Skip to main content

IUnitInfoParamManagerMethods

Trait IUnitInfoParamManagerMethods 

Source
pub trait IUnitInfoParamManagerMethods: IUnitInfoParamManager {
    // Provided methods
    fn ctor(self) { ... }
    fn copy_value(
        self,
        type: impl Into<UnitParamDetail_ValueDetail>,
    ) -> Array<i32> { ... }
    fn marge_max_enhance_factors(
        self,
        factors: impl Into<UnitEnhanceFactors>,
        unit: impl Into<Unit>,
    ) { ... }
    fn set_unit(
        self,
        unit: impl Into<Unit>,
        x: impl Into<i32>,
        z: impl Into<i32>,
        is_diff_collect: impl Into<bool>,
        f: impl Into<BattleInfo_Flags>,
        is_god_change: impl Into<bool>,
        god: impl Into<GodUnit>,
        ring: impl Into<UnitRing>,
    ) { ... }
    fn clear_unit(self, god: impl Into<GodUnit>, ring: impl Into<UnitRing>) { ... }
    fn get_param(
        self,
        type: impl Into<UnitInfoParamManager_ValueType>,
    ) -> UnitParamDetail { ... }
    fn get_param_2(
        self,
        type: impl Into<CapabilityDefinition_Type>,
    ) -> UnitParamDetail { ... }
    fn get_calc_unit(self) -> Unit { ... }
    fn get_calc_no_god(self) -> Unit { ... }
    fn get_calc_no_enhance(self) -> Unit { ... }
    fn get_capability_rating(
        self,
        unit: impl Into<Unit>,
        info: impl Into<BattleInfoParam>,
    ) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn copy_value(self, type: impl Into<UnitParamDetail_ValueDetail>) -> Array<i32>

CopyValue(crate::app::unitparamdetail::UnitParamDetail_ValueDetail, *mut::unity::Array<i32>) overload

Source

fn marge_max_enhance_factors( self, factors: impl Into<UnitEnhanceFactors>, unit: impl Into<Unit>, )

MargeMaxEnhanceFactors(crate::app::unitenhancefactors::UnitEnhanceFactors, crate::app::unit::Unit) overload

Source

fn set_unit( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, is_diff_collect: impl Into<bool>, f: impl Into<BattleInfo_Flags>, is_god_change: impl Into<bool>, god: impl Into<GodUnit>, ring: impl Into<UnitRing>, )

SetUnit(crate::app::unit::Unit, i32, i32, bool, crate::app::battleinfo::BattleInfo_Flags, bool, crate::app::godunit::GodUnit, crate::app::unitring::UnitRing) overload

Source

fn clear_unit(self, god: impl Into<GodUnit>, ring: impl Into<UnitRing>)

ClearUnit(crate::app::godunit::GodUnit, crate::app::unitring::UnitRing) overload

Source

fn get_param( self, type: impl Into<UnitInfoParamManager_ValueType>, ) -> UnitParamDetail

GetParam(crate::app::unitinfoparammanager::UnitInfoParamManager_ValueType) overload

Source

fn get_param_2( self, type: impl Into<CapabilityDefinition_Type>, ) -> UnitParamDetail

GetParam(crate::app::capabilitydefinition::CapabilityDefinition_Type) overload

Source

fn get_calc_unit(self) -> Unit

GetCalcUnit() overload

Source

fn get_calc_no_god(self) -> Unit

GetCalcNoGod() overload

Source

fn get_calc_no_enhance(self) -> Unit

GetCalcNoEnhance() overload

Source

fn get_capability_rating( self, unit: impl Into<Unit>, info: impl Into<BattleInfoParam>, ) -> i32

GetCapabilityRating(crate::app::unit::Unit, crate::app::battleinfoparam::BattleInfoParam) 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: IUnitInfoParamManager> IUnitInfoParamManagerMethods for __T

Available on crate feature app-unitinfoparammanager only.