Skip to main content

IItemUseSequenceMethods

Trait IItemUseSequenceMethods 

Source
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§

Source

fn ctor(self)

.ctor() overload

Source

fn branch(self)

Branch() overload

Source

fn get_target_unit(self) -> Unit

GetTargetUnit() overload

Source

fn play_effect(self)

PlayEffect() overload

Source

fn heal_hp_2(self) -> IEnumerator

HealHp() overload

Source

fn item_use(self)

ItemUse() overload

Source

fn gain_exp(self)

GainExp() overload

Source

fn get_use_type(self) -> ItemData_UseTypes

GetUseType() overload

Source

fn is_weapon_enchant(self) -> bool

IsWeaponEnchant() overload

Source

fn weapon_enchant(self)

WeaponEnchant() overload

Source

fn show_message(self)

ShowMessage() overload

Source

fn try_expend(self, unit_item: impl Into<UnitItem>) -> bool

TryExpend(crate::app::unititem::UnitItem) overload

Source

fn expend(self) -> IEnumerator

Expend() overload

Source

fn class_change(self)

ClassChange() overload

Source

fn class_change_rescue(self)

ClassChangeRescue() overload

Source

fn get_heal_hp(self, target: impl Into<Unit>) -> i32

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

Source

fn can_heal_hp(self, target: impl Into<Unit>) -> bool

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

Source

fn can_gain(self, target: impl Into<Unit>) -> bool

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

Source

fn try_next_target(self)

TryNextTarget() overload

Source

fn try_grow(self)

TryGrow() 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: IItemUseSequence> IItemUseSequenceMethods for __T

Available on crate feature app-itemusesequence only.