pub trait IItemUseSequenceMethods: IItemUseSequence {
Show 20 methods
// Provided methods
fn ctor(self) { ... }
fn branch(self) { ... }
fn get_target_unit(self) -> Unit { ... }
fn play_effect(self) { ... }
fn heal_hp_2(self) -> IEnumerator { ... }
fn item_use(self) { ... }
fn gain_exp(self) { ... }
fn get_use_type(self) -> ItemData_UseTypes { ... }
fn is_weapon_enchant(self) -> bool { ... }
fn weapon_enchant(self) { ... }
fn show_message(self) { ... }
fn try_expend(self, unit_item: impl Into<UnitItem>) -> bool { ... }
fn expend(self) -> IEnumerator { ... }
fn class_change(self) { ... }
fn class_change_rescue(self) { ... }
fn get_heal_hp(self, target: impl Into<Unit>) -> i32 { ... }
fn can_heal_hp(self, target: impl Into<Unit>) -> bool { ... }
fn can_gain(self, target: impl Into<Unit>) -> bool { ... }
fn try_next_target(self) { ... }
fn try_grow(self) { ... }
}Provided Methods§
Sourcefn get_target_unit(self) -> Unit
fn get_target_unit(self) -> Unit
GetTargetUnit() overload
Sourcefn play_effect(self)
fn play_effect(self)
PlayEffect() overload
Sourcefn heal_hp_2(self) -> IEnumerator
fn heal_hp_2(self) -> IEnumerator
HealHp() overload
Sourcefn get_use_type(self) -> ItemData_UseTypes
fn get_use_type(self) -> ItemData_UseTypes
GetUseType() overload
Sourcefn is_weapon_enchant(self) -> bool
fn is_weapon_enchant(self) -> bool
IsWeaponEnchant() overload
Sourcefn weapon_enchant(self)
fn weapon_enchant(self)
WeaponEnchant() overload
Sourcefn show_message(self)
fn show_message(self)
ShowMessage() overload
Sourcefn try_expend(self, unit_item: impl Into<UnitItem>) -> bool
fn try_expend(self, unit_item: impl Into<UnitItem>) -> bool
TryExpend(crate::app::unititem::UnitItem) overload
Sourcefn expend(self) -> IEnumerator
fn expend(self) -> IEnumerator
Expend() overload
Sourcefn class_change(self)
fn class_change(self)
ClassChange() overload
Sourcefn class_change_rescue(self)
fn class_change_rescue(self)
ClassChangeRescue() overload
Sourcefn get_heal_hp(self, target: impl Into<Unit>) -> i32
fn get_heal_hp(self, target: impl Into<Unit>) -> i32
GetHealHp(crate::app::unit::Unit) overload
Sourcefn can_heal_hp(self, target: impl Into<Unit>) -> bool
fn can_heal_hp(self, target: impl Into<Unit>) -> bool
CanHealHp(crate::app::unit::Unit) overload
Sourcefn try_next_target(self)
fn try_next_target(self)
TryNextTarget() 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: IItemUseSequence> IItemUseSequenceMethods for __T
Available on crate feature
app-itemusesequence only.