Skip to main content

IUnitItemMethods

Trait IUnitItemMethods 

Source
pub trait IUnitItemMethods: IUnitItem {
Show 112 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, item: impl Into<ItemData>) { ... } fn ctor_3(self, iid: impl Into<Il2CppString>) { ... } fn ctor_4(self, index: impl Into<i32>) { ... } fn ctor_5(self, unit_item: impl Into<UnitItem>) { ... } fn dispose(self) { ... } fn new(self, item: impl Into<ItemData>) { ... } fn new_2(self, iid: impl Into<Il2CppString>) { ... } fn new_3(self, index: impl Into<i32>) { ... } fn new_4(self, unit_item: impl Into<UnitItem>) { ... } fn clear(self) { ... } fn expend(self) -> bool { ... } fn do_trade(self) { ... } fn do_transporter(self) { ... } fn do_drop(self) { ... } fn do_transfer(self) { ... } fn can_expend(self) -> bool { ... } fn get_expend(self) -> i32 { ... } fn can_enchant(self) -> bool { ... } fn can_enchant_2(self, unit: impl Into<Unit>) -> bool { ... } fn is_empty(self) -> bool { ... } fn is_exist(self) -> bool { ... } fn is_integrate(self, other_item: impl Into<UnitItem>) -> bool { ... } fn is_long_range(self) -> bool { ... } fn get_data(self) -> ItemData { ... } fn get_price(self) -> i32 { ... } fn get_selling(self) -> i32 { ... } fn is_flag(self, flags: impl Into<ItemData_Flags>) -> bool { ... } fn not_flag(self, flags: impl Into<ItemData_Flags>) -> bool { ... } fn is_none(self) -> bool { ... } fn is_inventory(self) -> bool { ... } fn get_kind(self) -> ItemData_Kinds { ... } fn get_use_type(self) -> ItemData_UseTypes { ... } fn get_rod_type(self) -> ItemData_RodTypes { ... } fn is_range_target(self) -> bool { ... } fn is_range_heal(self) -> bool { ... } fn is_range_rest_heal(self) -> bool { ... } fn is_range_again(self) -> bool { ... } fn is_range_engage_add(self) -> bool { ... } fn is_bless(self) -> bool { ... } fn is_bullet(self) -> bool { ... } fn get_shoot_effect(self) -> EffectData { ... } fn get_hit_effect(self) -> EffectData { ... } fn get_cannon_effect(self) -> EffectSequence { ... } fn get_attr(self) -> ItemData_Attrs { ... } fn get_weapon_attr(self) -> ItemData_WeaponAttrs { ... } fn is_weapon(self) -> bool { ... } fn is_physical(self) -> bool { ... } fn is_magic(self) -> bool { ... } fn is_breath(self) -> bool { ... } fn is_surehit(self) -> bool { ... } fn is_rod(self) -> bool { ... } fn is_single_rod(self) -> bool { ... } fn is_efficacy(self, target: impl Into<Unit>) -> bool { ... } fn get_name(self, with_refine_level: impl Into<bool>) -> Il2CppString { ... } fn get_original_name(self) -> Il2CppString { ... } fn get_power(self) -> i32 { ... } fn get_weight(self) -> i32 { ... } fn get_hit(self) -> i32 { ... } fn get_critical(self) -> i32 { ... } fn get_avoid(self) -> i32 { ... } fn get_secure(self) -> i32 { ... } fn get_enhance(self) -> CapabilitySbyte { ... } fn get_times(self) -> i32 { ... } fn get_equip_skills(self) -> SkillArray { ... } fn get_sort(self) -> i64 { ... } fn is_refined(self) -> bool { ... } fn get_max_refine_level(self) -> i32 { ... } fn is_exist_refine_data(self) -> bool { ... } fn get_current_refine_data(self) -> ItemRefineData { ... } fn get_next_refine_data(self) -> ItemRefineData { ... } fn get_refine_data_list(self) -> List_1<ItemRefineData> { ... } fn can_evolve(self) -> bool { ... } fn is_exist_evolve_data(self) -> bool { ... } fn get_evolve_data_list(self) -> List_1<ItemEvolveData> { ... } fn can_engrave(self) -> bool { ... } fn is_engraved(self) -> bool { ... } fn set_engrave(self, god_data: impl Into<GodData>) { ... } fn get_engrave(self) -> GodData { ... } fn get_menu_text( self, with_max_endurance: impl Into<bool>, ) -> (Il2CppString, Il2CppString, Il2CppString) { ... } fn get_engage_weapon_god(self) -> GodUnit { ... } fn set_engage_weapon_god(self, unit: impl Into<Unit>) { ... } fn set_engage_weapon_god_2(self, god_unit: impl Into<GodUnit>) { ... } fn clear_engage_weapon_god(self) { ... } fn update_engage_weapon_param(self) { ... } fn serialize(self, stream: impl Into<Stream_2>) { ... } fn deserialize(self, stream: impl Into<Stream_2>) { ... } fn get_iid(self) -> Il2CppString { ... } fn get_index(self) -> i32 { ... } fn is_flags(self, flags: impl Into<UnitItem_Flags>) -> bool { ... } fn set_flags(self, flags: impl Into<UnitItem_Flags>) { ... } fn clear_flags(self, flags: impl Into<UnitItem_Flags>) { ... } fn set_flags_2( self, flags: impl Into<UnitItem_Flags>, enable: impl Into<bool>, ) { ... } fn get_is_equipped(self) -> bool { ... } fn set_is_equipped(self, value: impl Into<bool>) { ... } fn get_is_drop(self) -> bool { ... } fn set_is_drop(self, value: impl Into<bool>) { ... } fn get_is_skip_log(self) -> bool { ... } fn set_is_skip_log(self, value: impl Into<bool>) { ... } fn get_is_enchant(self) -> bool { ... } fn get_flags_value(self) -> UnitItem_Flags { ... } fn set_flags_value(self, value: impl Into<UnitItem_Flags>) { ... } fn get_endurance(self) -> i32 { ... } fn set_endurance(self, value: impl Into<i32>) { ... } fn get_refine_level(self) -> i32 { ... } fn set_refine_level(self, value: impl Into<i32>) { ... } fn get_give_skills(self) -> SkillArray { ... } fn get_font_color(self, is_active: impl Into<bool>) -> Color { ... } fn equals(self, rhs_obj: impl Into<Object>) -> bool { ... } fn equals_2(self, rhs: impl Into<UnitItem>) -> bool { ... } fn get_hash_code(self) -> i32 { ... } fn equals_impl(self, rhs: impl Into<UnitItem>) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, item: impl Into<ItemData>)

.ctor(crate::app::itemdata::ItemData) overload

Source

fn ctor_3(self, iid: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn ctor_4(self, index: impl Into<i32>)

.ctor(i32) overload

Source

fn ctor_5(self, unit_item: impl Into<UnitItem>)

.ctor(crate::app::unititem::UnitItem) overload

Source

fn dispose(self)

Dispose() overload

Source

fn new(self, item: impl Into<ItemData>)

New(crate::app::itemdata::ItemData) overload

Source

fn new_2(self, iid: impl Into<Il2CppString>)

New(::unity::Il2CppString) overload

Source

fn new_3(self, index: impl Into<i32>)

New(i32) overload

Source

fn new_4(self, unit_item: impl Into<UnitItem>)

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

Source

fn clear(self)

Clear() overload

Source

fn expend(self) -> bool

Expend() overload

Source

fn do_trade(self)

DoTrade() overload

Source

fn do_transporter(self)

DoTransporter() overload

Source

fn do_drop(self)

DoDrop() overload

Source

fn do_transfer(self)

DoTransfer() overload

Source

fn can_expend(self) -> bool

CanExpend() overload

Source

fn get_expend(self) -> i32

GetExpend() overload

Source

fn can_enchant(self) -> bool

CanEnchant() overload

Source

fn can_enchant_2(self, unit: impl Into<Unit>) -> bool

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

Source

fn is_empty(self) -> bool

IsEmpty() overload

Source

fn is_exist(self) -> bool

IsExist() overload

Source

fn is_integrate(self, other_item: impl Into<UnitItem>) -> bool

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

Source

fn is_long_range(self) -> bool

IsLongRange() overload

Source

fn get_data(self) -> ItemData

GetData() overload

Source

fn get_price(self) -> i32

GetPrice() overload

Source

fn get_selling(self) -> i32

GetSelling() overload

Source

fn is_flag(self, flags: impl Into<ItemData_Flags>) -> bool

IsFlag(crate::app::itemdata::ItemData_Flags) overload

Source

fn not_flag(self, flags: impl Into<ItemData_Flags>) -> bool

NotFlag(crate::app::itemdata::ItemData_Flags) overload

Source

fn is_none(self) -> bool

IsNone() overload

Source

fn is_inventory(self) -> bool

IsInventory() overload

Source

fn get_kind(self) -> ItemData_Kinds

get_Kind() overload

Source

fn get_use_type(self) -> ItemData_UseTypes

get_UseType() overload

Source

fn get_rod_type(self) -> ItemData_RodTypes

get_RodType() overload

Source

fn is_range_target(self) -> bool

IsRangeTarget() overload

Source

fn is_range_heal(self) -> bool

IsRangeHeal() overload

Source

fn is_range_rest_heal(self) -> bool

IsRangeRestHeal() overload

Source

fn is_range_again(self) -> bool

IsRangeAgain() overload

Source

fn is_range_engage_add(self) -> bool

IsRangeEngageAdd() overload

Source

fn is_bless(self) -> bool

IsBless() overload

Source

fn is_bullet(self) -> bool

IsBullet() overload

Source

fn get_shoot_effect(self) -> EffectData

GetShootEffect() overload

Source

fn get_hit_effect(self) -> EffectData

GetHitEffect() overload

Source

fn get_cannon_effect(self) -> EffectSequence

GetCannonEffect() overload

Source

fn get_attr(self) -> ItemData_Attrs

GetAttr() overload

Source

fn get_weapon_attr(self) -> ItemData_WeaponAttrs

GetWeaponAttr() overload

Source

fn is_weapon(self) -> bool

IsWeapon() overload

Source

fn is_physical(self) -> bool

IsPhysical() overload

Source

fn is_magic(self) -> bool

IsMagic() overload

Source

fn is_breath(self) -> bool

IsBreath() overload

Source

fn is_surehit(self) -> bool

IsSurehit() overload

Source

fn is_rod(self) -> bool

IsRod() overload

Source

fn is_single_rod(self) -> bool

IsSingleRod() overload

Source

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

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

Source

fn get_name(self, with_refine_level: impl Into<bool>) -> Il2CppString

GetName(bool) overload

Source

fn get_original_name(self) -> Il2CppString

GetOriginalName() overload

Source

fn get_power(self) -> i32

GetPower() overload

Source

fn get_weight(self) -> i32

GetWeight() overload

Source

fn get_hit(self) -> i32

GetHit() overload

Source

fn get_critical(self) -> i32

GetCritical() overload

Source

fn get_avoid(self) -> i32

GetAvoid() overload

Source

fn get_secure(self) -> i32

GetSecure() overload

Source

fn get_enhance(self) -> CapabilitySbyte

GetEnhance() overload

Source

fn get_times(self) -> i32

GetTimes() overload

Source

fn get_equip_skills(self) -> SkillArray

GetEquipSkills() overload

Source

fn get_sort(self) -> i64

GetSort() overload

Source

fn is_refined(self) -> bool

IsRefined() overload

Source

fn get_max_refine_level(self) -> i32

GetMaxRefineLevel() overload

Source

fn is_exist_refine_data(self) -> bool

IsExistRefineData() overload

Source

fn get_current_refine_data(self) -> ItemRefineData

GetCurrentRefineData() overload

Source

fn get_next_refine_data(self) -> ItemRefineData

GetNextRefineData() overload

Source

fn get_refine_data_list(self) -> List_1<ItemRefineData>

GetRefineDataList() overload

Source

fn can_evolve(self) -> bool

CanEvolve() overload

Source

fn is_exist_evolve_data(self) -> bool

IsExistEvolveData() overload

Source

fn get_evolve_data_list(self) -> List_1<ItemEvolveData>

GetEvolveDataList() overload

Source

fn can_engrave(self) -> bool

CanEngrave() overload

Source

fn is_engraved(self) -> bool

IsEngraved() overload

Source

fn set_engrave(self, god_data: impl Into<GodData>)

SetEngrave(crate::app::goddata::GodData) overload

Source

fn get_engrave(self) -> GodData

GetEngrave() overload

Source

fn get_menu_text( self, with_max_endurance: impl Into<bool>, ) -> (Il2CppString, Il2CppString, Il2CppString)

GetMenuText(*mut::unity::Il2CppString, *mut::unity::Il2CppString, *mut::unity::Il2CppString, bool) overload

Source

fn get_engage_weapon_god(self) -> GodUnit

GetEngageWeaponGod() overload

Source

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

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

Source

fn set_engage_weapon_god_2(self, god_unit: impl Into<GodUnit>)

SetEngageWeaponGod(crate::app::godunit::GodUnit) overload

Source

fn clear_engage_weapon_god(self)

ClearEngageWeaponGod() overload

Source

fn update_engage_weapon_param(self)

UpdateEngageWeaponParam() overload

Source

fn serialize(self, stream: impl Into<Stream_2>)

Serialize(crate::app::stream_2::Stream_2) overload

Source

fn deserialize(self, stream: impl Into<Stream_2>)

Deserialize(crate::app::stream_2::Stream_2) overload

Source

fn get_iid(self) -> Il2CppString

get_Iid() overload

Source

fn get_index(self) -> i32

get_Index() overload

Source

fn is_flags(self, flags: impl Into<UnitItem_Flags>) -> bool

IsFlags(crate::app::unititem::UnitItem_Flags) overload

Source

fn set_flags(self, flags: impl Into<UnitItem_Flags>)

SetFlags(crate::app::unititem::UnitItem_Flags) overload

Source

fn clear_flags(self, flags: impl Into<UnitItem_Flags>)

ClearFlags(crate::app::unititem::UnitItem_Flags) overload

Source

fn set_flags_2(self, flags: impl Into<UnitItem_Flags>, enable: impl Into<bool>)

SetFlags(crate::app::unititem::UnitItem_Flags, bool) overload

Source

fn get_is_equipped(self) -> bool

get_IsEquipped() overload

Source

fn set_is_equipped(self, value: impl Into<bool>)

set_IsEquipped(bool) overload

Source

fn get_is_drop(self) -> bool

get_IsDrop() overload

Source

fn set_is_drop(self, value: impl Into<bool>)

set_IsDrop(bool) overload

Source

fn get_is_skip_log(self) -> bool

get_IsSkipLog() overload

Source

fn set_is_skip_log(self, value: impl Into<bool>)

set_IsSkipLog(bool) overload

Source

fn get_is_enchant(self) -> bool

get_IsEnchant() overload

Source

fn get_flags_value(self) -> UnitItem_Flags

get_FlagsValue() overload

Source

fn set_flags_value(self, value: impl Into<UnitItem_Flags>)

set_FlagsValue(crate::app::unititem::UnitItem_Flags) overload

Source

fn get_endurance(self) -> i32

get_Endurance() overload

Source

fn set_endurance(self, value: impl Into<i32>)

set_Endurance(i32) overload

Source

fn get_refine_level(self) -> i32

get_RefineLevel() overload

Source

fn set_refine_level(self, value: impl Into<i32>)

set_RefineLevel(i32) overload

Source

fn get_give_skills(self) -> SkillArray

GetGiveSkills() overload

Source

fn get_font_color(self, is_active: impl Into<bool>) -> Color

GetFontColor(bool) overload

Source

fn equals(self, rhs_obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn equals_2(self, rhs: impl Into<UnitItem>) -> bool

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

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn equals_impl(self, rhs: impl Into<UnitItem>) -> bool

EqualsImpl(crate::app::unititem::UnitItem) 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: IUnitItem> IUnitItemMethods for __T

Available on crate feature app-unititem only.