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§
Sourcefn ctor_3(self, iid: impl Into<Il2CppString>)
fn ctor_3(self, iid: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn new_2(self, iid: impl Into<Il2CppString>)
fn new_2(self, iid: impl Into<Il2CppString>)
New(::unity::Il2CppString) overload
Sourcefn do_transporter(self)
fn do_transporter(self)
DoTransporter() overload
Sourcefn do_transfer(self)
fn do_transfer(self)
DoTransfer() overload
Sourcefn can_expend(self) -> bool
fn can_expend(self) -> bool
CanExpend() overload
Sourcefn get_expend(self) -> i32
fn get_expend(self) -> i32
GetExpend() overload
Sourcefn can_enchant(self) -> bool
fn can_enchant(self) -> bool
CanEnchant() overload
Sourcefn can_enchant_2(self, unit: impl Into<Unit>) -> bool
fn can_enchant_2(self, unit: impl Into<Unit>) -> bool
CanEnchant(crate::app::unit::Unit) overload
Sourcefn is_integrate(self, other_item: impl Into<UnitItem>) -> bool
fn is_integrate(self, other_item: impl Into<UnitItem>) -> bool
IsIntegrate(crate::app::unititem::UnitItem) overload
Sourcefn is_long_range(self) -> bool
fn is_long_range(self) -> bool
IsLongRange() overload
Sourcefn get_selling(self) -> i32
fn get_selling(self) -> i32
GetSelling() overload
Sourcefn is_flag(self, flags: impl Into<ItemData_Flags>) -> bool
fn is_flag(self, flags: impl Into<ItemData_Flags>) -> bool
IsFlag(crate::app::itemdata::ItemData_Flags) overload
Sourcefn not_flag(self, flags: impl Into<ItemData_Flags>) -> bool
fn not_flag(self, flags: impl Into<ItemData_Flags>) -> bool
NotFlag(crate::app::itemdata::ItemData_Flags) overload
Sourcefn is_inventory(self) -> bool
fn is_inventory(self) -> bool
IsInventory() overload
Sourcefn get_kind(self) -> ItemData_Kinds
fn get_kind(self) -> ItemData_Kinds
get_Kind() overload
Sourcefn get_use_type(self) -> ItemData_UseTypes
fn get_use_type(self) -> ItemData_UseTypes
get_UseType() overload
Sourcefn get_rod_type(self) -> ItemData_RodTypes
fn get_rod_type(self) -> ItemData_RodTypes
get_RodType() overload
Sourcefn is_range_target(self) -> bool
fn is_range_target(self) -> bool
IsRangeTarget() overload
Sourcefn is_range_heal(self) -> bool
fn is_range_heal(self) -> bool
IsRangeHeal() overload
Sourcefn is_range_rest_heal(self) -> bool
fn is_range_rest_heal(self) -> bool
IsRangeRestHeal() overload
Sourcefn is_range_again(self) -> bool
fn is_range_again(self) -> bool
IsRangeAgain() overload
Sourcefn is_range_engage_add(self) -> bool
fn is_range_engage_add(self) -> bool
IsRangeEngageAdd() overload
Sourcefn get_shoot_effect(self) -> EffectData
fn get_shoot_effect(self) -> EffectData
GetShootEffect() overload
Sourcefn get_hit_effect(self) -> EffectData
fn get_hit_effect(self) -> EffectData
GetHitEffect() overload
Sourcefn get_cannon_effect(self) -> EffectSequence
fn get_cannon_effect(self) -> EffectSequence
GetCannonEffect() overload
Sourcefn get_attr(self) -> ItemData_Attrs
fn get_attr(self) -> ItemData_Attrs
GetAttr() overload
Sourcefn get_weapon_attr(self) -> ItemData_WeaponAttrs
fn get_weapon_attr(self) -> ItemData_WeaponAttrs
GetWeaponAttr() overload
Sourcefn is_physical(self) -> bool
fn is_physical(self) -> bool
IsPhysical() overload
Sourcefn is_surehit(self) -> bool
fn is_surehit(self) -> bool
IsSurehit() overload
Sourcefn is_single_rod(self) -> bool
fn is_single_rod(self) -> bool
IsSingleRod() overload
Sourcefn is_efficacy(self, target: impl Into<Unit>) -> bool
fn is_efficacy(self, target: impl Into<Unit>) -> bool
IsEfficacy(crate::app::unit::Unit) overload
Sourcefn get_name(self, with_refine_level: impl Into<bool>) -> Il2CppString
fn get_name(self, with_refine_level: impl Into<bool>) -> Il2CppString
GetName(bool) overload
Sourcefn get_original_name(self) -> Il2CppString
fn get_original_name(self) -> Il2CppString
GetOriginalName() overload
Sourcefn get_weight(self) -> i32
fn get_weight(self) -> i32
GetWeight() overload
Sourcefn get_critical(self) -> i32
fn get_critical(self) -> i32
GetCritical() overload
Sourcefn get_secure(self) -> i32
fn get_secure(self) -> i32
GetSecure() overload
Sourcefn get_enhance(self) -> CapabilitySbyte
fn get_enhance(self) -> CapabilitySbyte
GetEnhance() overload
Sourcefn get_equip_skills(self) -> SkillArray
fn get_equip_skills(self) -> SkillArray
GetEquipSkills() overload
Sourcefn is_refined(self) -> bool
fn is_refined(self) -> bool
IsRefined() overload
Sourcefn get_max_refine_level(self) -> i32
fn get_max_refine_level(self) -> i32
GetMaxRefineLevel() overload
Sourcefn is_exist_refine_data(self) -> bool
fn is_exist_refine_data(self) -> bool
IsExistRefineData() overload
Sourcefn get_current_refine_data(self) -> ItemRefineData
fn get_current_refine_data(self) -> ItemRefineData
GetCurrentRefineData() overload
Sourcefn get_next_refine_data(self) -> ItemRefineData
fn get_next_refine_data(self) -> ItemRefineData
GetNextRefineData() overload
Sourcefn get_refine_data_list(self) -> List_1<ItemRefineData>
fn get_refine_data_list(self) -> List_1<ItemRefineData>
GetRefineDataList() overload
Sourcefn can_evolve(self) -> bool
fn can_evolve(self) -> bool
CanEvolve() overload
Sourcefn is_exist_evolve_data(self) -> bool
fn is_exist_evolve_data(self) -> bool
IsExistEvolveData() overload
Sourcefn get_evolve_data_list(self) -> List_1<ItemEvolveData>
fn get_evolve_data_list(self) -> List_1<ItemEvolveData>
GetEvolveDataList() overload
Sourcefn can_engrave(self) -> bool
fn can_engrave(self) -> bool
CanEngrave() overload
Sourcefn is_engraved(self) -> bool
fn is_engraved(self) -> bool
IsEngraved() overload
Sourcefn set_engrave(self, god_data: impl Into<GodData>)
fn set_engrave(self, god_data: impl Into<GodData>)
SetEngrave(crate::app::goddata::GodData) overload
Sourcefn get_engrave(self) -> GodData
fn get_engrave(self) -> GodData
GetEngrave() overload
GetMenuText(*mut::unity::Il2CppString, *mut::unity::Il2CppString, *mut::unity::Il2CppString, bool) overload
Sourcefn get_engage_weapon_god(self) -> GodUnit
fn get_engage_weapon_god(self) -> GodUnit
GetEngageWeaponGod() overload
Sourcefn set_engage_weapon_god(self, unit: impl Into<Unit>)
fn set_engage_weapon_god(self, unit: impl Into<Unit>)
SetEngageWeaponGod(crate::app::unit::Unit) overload
Sourcefn set_engage_weapon_god_2(self, god_unit: impl Into<GodUnit>)
fn set_engage_weapon_god_2(self, god_unit: impl Into<GodUnit>)
SetEngageWeaponGod(crate::app::godunit::GodUnit) overload
Sourcefn clear_engage_weapon_god(self)
fn clear_engage_weapon_god(self)
ClearEngageWeaponGod() overload
Sourcefn update_engage_weapon_param(self)
fn update_engage_weapon_param(self)
UpdateEngageWeaponParam() overload
Sourcefn serialize(self, stream: impl Into<Stream_2>)
fn serialize(self, stream: impl Into<Stream_2>)
Serialize(crate::app::stream_2::Stream_2) overload
Sourcefn deserialize(self, stream: impl Into<Stream_2>)
fn deserialize(self, stream: impl Into<Stream_2>)
Deserialize(crate::app::stream_2::Stream_2) overload
Sourcefn get_iid(self) -> Il2CppString
fn get_iid(self) -> Il2CppString
get_Iid() overload
Sourcefn is_flags(self, flags: impl Into<UnitItem_Flags>) -> bool
fn is_flags(self, flags: impl Into<UnitItem_Flags>) -> bool
IsFlags(crate::app::unititem::UnitItem_Flags) overload
Sourcefn set_flags(self, flags: impl Into<UnitItem_Flags>)
fn set_flags(self, flags: impl Into<UnitItem_Flags>)
SetFlags(crate::app::unititem::UnitItem_Flags) overload
Sourcefn clear_flags(self, flags: impl Into<UnitItem_Flags>)
fn clear_flags(self, flags: impl Into<UnitItem_Flags>)
ClearFlags(crate::app::unititem::UnitItem_Flags) overload
Sourcefn set_flags_2(self, flags: impl Into<UnitItem_Flags>, enable: impl Into<bool>)
fn set_flags_2(self, flags: impl Into<UnitItem_Flags>, enable: impl Into<bool>)
SetFlags(crate::app::unititem::UnitItem_Flags, bool) overload
Sourcefn get_is_equipped(self) -> bool
fn get_is_equipped(self) -> bool
get_IsEquipped() overload
Sourcefn set_is_equipped(self, value: impl Into<bool>)
fn set_is_equipped(self, value: impl Into<bool>)
set_IsEquipped(bool) overload
Sourcefn get_is_drop(self) -> bool
fn get_is_drop(self) -> bool
get_IsDrop() overload
Sourcefn set_is_drop(self, value: impl Into<bool>)
fn set_is_drop(self, value: impl Into<bool>)
set_IsDrop(bool) overload
Sourcefn get_is_skip_log(self) -> bool
fn get_is_skip_log(self) -> bool
get_IsSkipLog() overload
Sourcefn set_is_skip_log(self, value: impl Into<bool>)
fn set_is_skip_log(self, value: impl Into<bool>)
set_IsSkipLog(bool) overload
Sourcefn get_is_enchant(self) -> bool
fn get_is_enchant(self) -> bool
get_IsEnchant() overload
Sourcefn get_flags_value(self) -> UnitItem_Flags
fn get_flags_value(self) -> UnitItem_Flags
get_FlagsValue() overload
Sourcefn set_flags_value(self, value: impl Into<UnitItem_Flags>)
fn set_flags_value(self, value: impl Into<UnitItem_Flags>)
set_FlagsValue(crate::app::unititem::UnitItem_Flags) overload
Sourcefn get_endurance(self) -> i32
fn get_endurance(self) -> i32
get_Endurance() overload
Sourcefn set_endurance(self, value: impl Into<i32>)
fn set_endurance(self, value: impl Into<i32>)
set_Endurance(i32) overload
Sourcefn get_refine_level(self) -> i32
fn get_refine_level(self) -> i32
get_RefineLevel() overload
Sourcefn set_refine_level(self, value: impl Into<i32>)
fn set_refine_level(self, value: impl Into<i32>)
set_RefineLevel(i32) overload
Sourcefn get_give_skills(self) -> SkillArray
fn get_give_skills(self) -> SkillArray
GetGiveSkills() overload
Sourcefn get_font_color(self, is_active: impl Into<bool>) -> Color
fn get_font_color(self, is_active: impl Into<bool>) -> Color
GetFontColor(bool) overload
Sourcefn equals(self, rhs_obj: impl Into<Object>) -> bool
fn equals(self, rhs_obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcefn equals_2(self, rhs: impl Into<UnitItem>) -> bool
fn equals_2(self, rhs: impl Into<UnitItem>) -> bool
Equals(crate::app::unititem::UnitItem) overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
Sourcefn equals_impl(self, rhs: impl Into<UnitItem>) -> bool
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§
impl<__T: IUnitItem> IUnitItemMethods for __T
app-unititem only.