Skip to main content

IUnitStatusSetterMethods

Trait IUnitStatusSetterMethods 

Source
pub trait IUnitStatusSetterMethods: IUnitStatusSetter {
Show 20 methods // Provided methods fn init(self) { ... } fn set_data(self, unit: impl Into<Unit>, flags: impl Into<BattleInfo_Flags>) { ... } fn set_data_impl(self, unit: impl Into<Unit>) { ... } fn set_data_temp_ring( self, unit: impl Into<Unit>, god: impl Into<GodUnit>, ring: impl Into<UnitRing>, ) { ... } fn set_data_no_enhance(self, unit: impl Into<Unit>) { ... } fn set_data_class_change( self, before: impl Into<Unit>, after: impl Into<Unit>, ) { ... } fn set_god_name( self, unit: impl Into<Unit>, god: impl Into<GodUnit>, ring: impl Into<UnitRing>, ) { ... } fn set_image_color(self, unit: impl Into<Unit>, god: impl Into<GodUnit>) { ... } fn set_god_info(self, unit: impl Into<Unit>, god: impl Into<GodUnit>) { ... } fn set_item_icons(self, unit: impl Into<Unit>) { ... } fn set_skill(self, unit: impl Into<Unit>) { ... } fn set_level(self, unit: impl Into<Unit>, unit_no_enhance: impl Into<Unit>) { ... } fn set_sp(self, unit: impl Into<Unit>) { ... } fn set_efficacy(self, unit: impl Into<Unit>) { ... } fn set_weapon_level( self, base_unit: impl Into<Unit>, temp_unit: impl Into<Unit>, ) { ... } fn set_battle_status( self, unit: impl Into<Unit>, is_god_change: impl Into<bool>, ) { ... } fn set_capability( self, unit: impl Into<Unit>, unit_no_enhance: impl Into<Unit>, is_god_change: impl Into<bool>, is_no_enhance: impl Into<bool>, ) { ... } fn set_attack_title(self, unit: impl Into<Unit>) { ... } fn get_efficacy_skill( self, unit: impl Into<Unit>, icon_index: impl Into<i32>, ) -> SkillData { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn init(self)

Init() overload

Source

fn set_data(self, unit: impl Into<Unit>, flags: impl Into<BattleInfo_Flags>)

SetData(crate::app::unit::Unit, crate::app::battleinfo::BattleInfo_Flags) overload

Source

fn set_data_impl(self, unit: impl Into<Unit>)

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

Source

fn set_data_temp_ring( self, unit: impl Into<Unit>, god: impl Into<GodUnit>, ring: impl Into<UnitRing>, )

SetDataTempRing(crate::app::unit::Unit, crate::app::godunit::GodUnit, crate::app::unitring::UnitRing) overload

Source

fn set_data_no_enhance(self, unit: impl Into<Unit>)

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

Source

fn set_data_class_change(self, before: impl Into<Unit>, after: impl Into<Unit>)

SetDataClassChange(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn set_god_name( self, unit: impl Into<Unit>, god: impl Into<GodUnit>, ring: impl Into<UnitRing>, )

SetGodName(crate::app::unit::Unit, crate::app::godunit::GodUnit, crate::app::unitring::UnitRing) overload

Source

fn set_image_color(self, unit: impl Into<Unit>, god: impl Into<GodUnit>)

SetImageColor(crate::app::unit::Unit, crate::app::godunit::GodUnit) overload

Source

fn set_god_info(self, unit: impl Into<Unit>, god: impl Into<GodUnit>)

SetGodInfo(crate::app::unit::Unit, crate::app::godunit::GodUnit) overload

Source

fn set_item_icons(self, unit: impl Into<Unit>)

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

Source

fn set_skill(self, unit: impl Into<Unit>)

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

Source

fn set_level(self, unit: impl Into<Unit>, unit_no_enhance: impl Into<Unit>)

SetLevel(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn set_sp(self, unit: impl Into<Unit>)

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

Source

fn set_efficacy(self, unit: impl Into<Unit>)

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

Source

fn set_weapon_level( self, base_unit: impl Into<Unit>, temp_unit: impl Into<Unit>, )

SetWeaponLevel(crate::app::unit::Unit, crate::app::unit::Unit) overload

Source

fn set_battle_status( self, unit: impl Into<Unit>, is_god_change: impl Into<bool>, )

SetBattleStatus(crate::app::unit::Unit, bool) overload

Source

fn set_capability( self, unit: impl Into<Unit>, unit_no_enhance: impl Into<Unit>, is_god_change: impl Into<bool>, is_no_enhance: impl Into<bool>, )

SetCapability(crate::app::unit::Unit, crate::app::unit::Unit, bool, bool) overload

Source

fn set_attack_title(self, unit: impl Into<Unit>)

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

Source

fn get_efficacy_skill( self, unit: impl Into<Unit>, icon_index: impl Into<i32>, ) -> SkillData

GetEfficacySkill(crate::app::unit::Unit, i32) 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: IUnitStatusSetter> IUnitStatusSetterMethods for __T

Available on crate feature app-unitstatussetter only.