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§
Sourcefn set_data(self, unit: impl Into<Unit>, flags: impl Into<BattleInfo_Flags>)
fn set_data(self, unit: impl Into<Unit>, flags: impl Into<BattleInfo_Flags>)
SetData(crate::app::unit::Unit, crate::app::battleinfo::BattleInfo_Flags) overload
Sourcefn set_data_impl(self, unit: impl Into<Unit>)
fn set_data_impl(self, unit: impl Into<Unit>)
SetDataImpl(crate::app::unit::Unit) overload
Sourcefn set_data_temp_ring(
self,
unit: impl Into<Unit>,
god: impl Into<GodUnit>,
ring: impl Into<UnitRing>,
)
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
Sourcefn set_data_no_enhance(self, unit: impl Into<Unit>)
fn set_data_no_enhance(self, unit: impl Into<Unit>)
SetDataNoEnhance(crate::app::unit::Unit) overload
Sourcefn set_data_class_change(self, before: impl Into<Unit>, after: impl Into<Unit>)
fn set_data_class_change(self, before: impl Into<Unit>, after: impl Into<Unit>)
SetDataClassChange(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn set_god_name(
self,
unit: impl Into<Unit>,
god: impl Into<GodUnit>,
ring: impl Into<UnitRing>,
)
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
Sourcefn set_image_color(self, unit: impl Into<Unit>, god: impl Into<GodUnit>)
fn set_image_color(self, unit: impl Into<Unit>, god: impl Into<GodUnit>)
SetImageColor(crate::app::unit::Unit, crate::app::godunit::GodUnit) overload
Sourcefn set_god_info(self, unit: impl Into<Unit>, god: impl Into<GodUnit>)
fn set_god_info(self, unit: impl Into<Unit>, god: impl Into<GodUnit>)
SetGodInfo(crate::app::unit::Unit, crate::app::godunit::GodUnit) overload
Sourcefn set_item_icons(self, unit: impl Into<Unit>)
fn set_item_icons(self, unit: impl Into<Unit>)
SetItemIcons(crate::app::unit::Unit) overload
Sourcefn set_level(self, unit: impl Into<Unit>, unit_no_enhance: impl Into<Unit>)
fn set_level(self, unit: impl Into<Unit>, unit_no_enhance: impl Into<Unit>)
SetLevel(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcefn set_efficacy(self, unit: impl Into<Unit>)
fn set_efficacy(self, unit: impl Into<Unit>)
SetEfficacy(crate::app::unit::Unit) overload
Sourcefn set_weapon_level(
self,
base_unit: impl Into<Unit>,
temp_unit: impl Into<Unit>,
)
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
Sourcefn set_battle_status(
self,
unit: impl Into<Unit>,
is_god_change: impl Into<bool>,
)
fn set_battle_status( self, unit: impl Into<Unit>, is_god_change: impl Into<bool>, )
SetBattleStatus(crate::app::unit::Unit, bool) overload
Sourcefn 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_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
Sourcefn set_attack_title(self, unit: impl Into<Unit>)
fn set_attack_title(self, unit: impl Into<Unit>)
SetAttackTitle(crate::app::unit::Unit) overload
Sourcefn get_efficacy_skill(
self,
unit: impl Into<Unit>,
icon_index: impl Into<i32>,
) -> SkillData
fn get_efficacy_skill( self, unit: impl Into<Unit>, icon_index: impl Into<i32>, ) -> SkillData
GetEfficacySkill(crate::app::unit::Unit, i32) 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: IUnitStatusSetter> IUnitStatusSetterMethods for __T
app-unitstatussetter only.