pub struct UnitUtil(/* private fields */);Expand description
IL2CPP class: App.UnitUtil
Inherits: Object
Implementations§
Source§impl UnitUtil
impl UnitUtil
Sourcepub fn initialize()
pub fn initialize()
Initialize() overload
Sourcepub fn reset_unit_force()
pub fn reset_unit_force()
ResetUnitForce() overload
Sourcepub fn join_unit(pid: impl Into<Il2CppString>) -> Unit
pub fn join_unit(pid: impl Into<Il2CppString>) -> Unit
JoinUnit(::unity::Il2CppString) overload
Sourcepub fn join_unit_2(person: impl Into<PersonData>) -> Unit
pub fn join_unit_2(person: impl Into<PersonData>) -> Unit
JoinUnit(crate::app::persondata::PersonData) overload
Sourcepub fn join_message(
super_: impl Into<ProcInst>,
person1: impl Into<PersonData>,
person2: impl Into<PersonData>,
person3: impl Into<PersonData>,
)
pub fn join_message( super_: impl Into<ProcInst>, person1: impl Into<PersonData>, person2: impl Into<PersonData>, person3: impl Into<PersonData>, )
JoinMessage(crate::app::procinst::ProcInst, crate::app::persondata::PersonData, crate::app::persondata::PersonData, crate::app::persondata::PersonData) overload
Sourcepub fn is_joined_unit(person: impl Into<PersonData>) -> bool
pub fn is_joined_unit(person: impl Into<PersonData>) -> bool
IsJoinedUnit(crate::app::persondata::PersonData) overload
Sourcepub fn band_activate(unit: impl Into<Unit>)
pub fn band_activate(unit: impl Into<Unit>)
BandActivate(crate::app::unit::Unit) overload
Sourcepub fn refine_weapon(
unit: impl Into<Unit>,
owner_item_index: impl Into<i32>,
refine_level: impl Into<i32>,
) -> UnitItem
pub fn refine_weapon( unit: impl Into<Unit>, owner_item_index: impl Into<i32>, refine_level: impl Into<i32>, ) -> UnitItem
RefineWeapon(crate::app::unit::Unit, i32, i32) overload
Sourcepub fn evolve_weapon(
unit: impl Into<Unit>,
owner_item_index: impl Into<i32>,
evolve_iid: impl Into<Il2CppString>,
) -> UnitItem
pub fn evolve_weapon( unit: impl Into<Unit>, owner_item_index: impl Into<i32>, evolve_iid: impl Into<Il2CppString>, ) -> UnitItem
EvolveWeapon(crate::app::unit::Unit, i32, ::unity::Il2CppString) overload
Sourcepub fn engrave_weapon(
unit: impl Into<Unit>,
owner_item_index: impl Into<i32>,
god_data: impl Into<GodData>,
) -> UnitItem
pub fn engrave_weapon( unit: impl Into<Unit>, owner_item_index: impl Into<i32>, god_data: impl Into<GodData>, ) -> UnitItem
EngraveWeapon(crate::app::unit::Unit, i32, crate::app::goddata::GodData) overload
Sourcepub fn clear_engrave_weapon(
unit: impl Into<Unit>,
owner_item_index: impl Into<i32>,
)
pub fn clear_engrave_weapon( unit: impl Into<Unit>, owner_item_index: impl Into<i32>, )
ClearEngraveWeapon(crate::app::unit::Unit, i32) overload
Sourcepub fn item_disposal_for_dead(unit: impl Into<Unit>)
pub fn item_disposal_for_dead(unit: impl Into<Unit>)
ItemDisposalForDead(crate::app::unit::Unit) overload
Sourcepub fn is_attack_range(
unit: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
attack_x: impl Into<i32>,
attack_z: impl Into<i32>,
attack_size: impl Into<i32>,
target_x: impl Into<i32>,
target_z: impl Into<i32>,
target_size: impl Into<i32>,
) -> bool
pub fn is_attack_range( unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, attack_x: impl Into<i32>, attack_z: impl Into<i32>, attack_size: impl Into<i32>, target_x: impl Into<i32>, target_z: impl Into<i32>, target_size: impl Into<i32>, ) -> bool
IsAttackRange(crate::app::unit::Unit, crate::app::unititem::UnitItem, i32, i32, i32, i32, i32, i32) overload
Sourcepub fn is_attack_range_2(
unit: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
range: impl Into<i32>,
) -> bool
pub fn is_attack_range_2( unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, range: impl Into<i32>, ) -> bool
IsAttackRange(crate::app::unit::Unit, crate::app::unititem::UnitItem, i32) overload
Sourcepub fn can_chain_attack(
unit: impl Into<Unit>,
chain: impl Into<Unit>,
target: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
) -> bool
pub fn can_chain_attack( unit: impl Into<Unit>, chain: impl Into<Unit>, target: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> bool
CanChainAttack(crate::app::unit::Unit, crate::app::unit::Unit, crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcepub fn can_auto_equip_when_adding_item(unit: impl Into<Unit>) -> bool
pub fn can_auto_equip_when_adding_item(unit: impl Into<Unit>) -> bool
CanAutoEquipWhenAddingItem(crate::app::unit::Unit) overload
Sourcepub fn can_auto_equip_when_adding_item_2(
unit: impl Into<Unit>,
item: impl Into<ItemData>,
) -> bool
pub fn can_auto_equip_when_adding_item_2( unit: impl Into<Unit>, item: impl Into<ItemData>, ) -> bool
CanAutoEquipWhenAddingItem(crate::app::unit::Unit, crate::app::itemdata::ItemData) overload
Sourcepub fn can_auto_equip_when_adding_item_3(
unit: impl Into<Unit>,
unit_item: impl Into<UnitItem>,
) -> bool
pub fn can_auto_equip_when_adding_item_3( unit: impl Into<Unit>, unit_item: impl Into<UnitItem>, ) -> bool
CanAutoEquipWhenAddingItem(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload
Sourcepub fn get_round_grow(percent: impl Into<i32>) -> i32
pub fn get_round_grow(percent: impl Into<i32>) -> i32
GetRoundGrow(i32) overload
Sourcepub fn get_vision_person_impl() -> PersonData
pub fn get_vision_person_impl() -> PersonData
GetVisionPersonImpl() overload
Sourcepub fn get_vision_count_impl(owner: impl Into<Unit>) -> i32
pub fn get_vision_count_impl(owner: impl Into<Unit>) -> i32
GetVisionCountImpl(crate::app::unit::Unit) overload
Sourcepub fn can_vision_create_impl(
owner: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool
pub fn can_vision_create_impl( owner: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> bool
CanVisionCreateImpl(crate::app::unit::Unit, i32, i32) overload
Sourcepub fn for_each_vision(owner: impl Into<Unit>, func: impl Into<Action_1<Unit>>)
pub fn for_each_vision(owner: impl Into<Unit>, func: impl Into<Action_1<Unit>>)
ForEachVision(crate::app::unit::Unit, crate::system::action_1::Action_1<crate::app::unit::Unit>) overload
Sourcepub fn get_vision_owner(vision_unit: impl Into<Unit>) -> Unit
pub fn get_vision_owner(vision_unit: impl Into<Unit>) -> Unit
GetVisionOwner(crate::app::unit::Unit) overload
Sourcepub fn is_vision_unit(owner: impl Into<Unit>, unit: impl Into<Unit>) -> bool
pub fn is_vision_unit(owner: impl Into<Unit>, unit: impl Into<Unit>) -> bool
IsVisionUnit(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcepub fn has_vision_unit(owner: impl Into<Unit>) -> bool
pub fn has_vision_unit(owner: impl Into<Unit>) -> bool
HasVisionUnit(crate::app::unit::Unit) overload
Sourcepub fn can_vision_create(owner: impl Into<Unit>) -> bool
pub fn can_vision_create(owner: impl Into<Unit>) -> bool
CanVisionCreate(crate::app::unit::Unit) overload
Sourcepub fn get_vision_offsets() -> Array<Vector2Int>
pub fn get_vision_offsets() -> Array<Vector2Int>
GetVisionOffsets() overload
Sourcepub fn for_each_creatable_vision(
owner: impl Into<Unit>,
owner_x: impl Into<i32>,
owner_z: impl Into<i32>,
func: impl Into<Action_3<SkillData, i32, i32>>,
)
pub fn for_each_creatable_vision( owner: impl Into<Unit>, owner_x: impl Into<i32>, owner_z: impl Into<i32>, func: impl Into<Action_3<SkillData, i32, i32>>, )
ForEachCreatableVision(crate::app::unit::Unit, i32, i32, crate::system::action_3::Action_3<crate::app::skilldata::SkillData,i32,i32>) overload
Sourcepub fn get_creatable_vision_count(
owner: impl Into<Unit>,
owner_x: impl Into<i32>,
owner_z: impl Into<i32>,
) -> i32
pub fn get_creatable_vision_count( owner: impl Into<Unit>, owner_x: impl Into<i32>, owner_z: impl Into<i32>, ) -> i32
GetCreatableVisionCount(crate::app::unit::Unit, i32, i32) overload
Sourcepub fn vision_create(owner: impl Into<Unit>)
pub fn vision_create(owner: impl Into<Unit>)
VisionCreate(crate::app::unit::Unit) overload
Sourcepub fn can_vision_delete(owner: impl Into<Unit>) -> bool
pub fn can_vision_delete(owner: impl Into<Unit>) -> bool
CanVisionDelete(crate::app::unit::Unit) overload
Sourcepub fn vision_delete(owner: impl Into<Unit>)
pub fn vision_delete(owner: impl Into<Unit>)
VisionDelete(crate::app::unit::Unit) overload
Sourcepub fn get_summon_unit(owner: impl Into<Unit>) -> Unit
pub fn get_summon_unit(owner: impl Into<Unit>) -> Unit
GetSummonUnit(crate::app::unit::Unit) overload
Sourcepub fn summon_create(
owner: impl Into<Unit>,
rank: impl Into<PersonData_Ranks>,
person: impl Into<PersonData>,
) -> Unit
pub fn summon_create( owner: impl Into<Unit>, rank: impl Into<PersonData_Ranks>, person: impl Into<PersonData>, ) -> Unit
SummonCreate(crate::app::unit::Unit, crate::app::persondata::PersonData_Ranks, crate::app::persondata::PersonData) overload
Sourcepub fn summon_delete(owner: impl Into<Unit>)
pub fn summon_delete(owner: impl Into<Unit>)
SummonDelete(crate::app::unit::Unit) overload
Sourcepub fn vision_delete_impl(unit: impl Into<Unit>)
pub fn vision_delete_impl(unit: impl Into<Unit>)
VisionDeleteImpl(crate::app::unit::Unit) overload
Sourcepub fn summon_delete_impl(unit: impl Into<Unit>)
pub fn summon_delete_impl(unit: impl Into<Unit>)
SummonDeleteImpl(crate::app::unit::Unit) overload
Sourcepub fn unit_update()
pub fn unit_update()
UnitUpdate() overload
Sourcepub fn force_gathter(
x: impl Into<i32>,
z: impl Into<i32>,
types: impl Into<Array<Force_Type>>,
)
pub fn force_gathter( x: impl Into<i32>, z: impl Into<i32>, types: impl Into<Array<Force_Type>>, )
ForceGathter(i32, i32, ::unity::Array<crate::app::force::Force_Type>) overload
Sourcepub fn get_free_point(unit: impl Into<Unit>) -> (bool, i32, i32)
pub fn get_free_point(unit: impl Into<Unit>) -> (bool, i32, i32)
GetFreePoint(crate::app::unit::Unit, *muti32, *muti32) overload
Sourcepub fn try_add_reliance(
unit_a: impl Into<Unit>,
unit_b: impl Into<Unit>,
name: impl Into<Il2CppString>,
) -> bool
pub fn try_add_reliance( unit_a: impl Into<Unit>, unit_b: impl Into<Unit>, name: impl Into<Il2CppString>, ) -> bool
TryAddReliance(crate::app::unit::Unit, crate::app::unit::Unit, ::unity::Il2CppString) overload
Sourcepub fn try_add_reliance_2(
unit_a: impl Into<Unit>,
unit_b: impl Into<Unit>,
value: impl Into<i32>,
) -> bool
pub fn try_add_reliance_2( unit_a: impl Into<Unit>, unit_b: impl Into<Unit>, value: impl Into<i32>, ) -> bool
TryAddReliance(crate::app::unit::Unit, crate::app::unit::Unit, i32) overload
Sourcepub fn try_add_exp(
unit: impl Into<Unit>,
god_unit: impl Into<GodUnit>,
exp: impl Into<i32>,
) -> bool
pub fn try_add_exp( unit: impl Into<Unit>, god_unit: impl Into<GodUnit>, exp: impl Into<i32>, ) -> bool
TryAddExp(crate::app::unit::Unit, crate::app::godunit::GodUnit, i32) overload
Sourcepub fn get_die_type(unit: impl Into<Unit>) -> UnitUtil_DieType
pub fn get_die_type(unit: impl Into<Unit>) -> UnitUtil_DieType
GetDieType(crate::app::unit::Unit) overload
Sourcepub fn try_get_exist_message(
label: impl Into<Il2CppString>,
footer: impl Into<Il2CppString>,
) -> (bool, Il2CppString)
pub fn try_get_exist_message( label: impl Into<Il2CppString>, footer: impl Into<Il2CppString>, ) -> (bool, Il2CppString)
TryGetExistMessage(*mut::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcepub fn get_die_message(
unit: impl Into<Unit>,
ascii: impl Into<Il2CppString>,
) -> Il2CppString
pub fn get_die_message( unit: impl Into<Unit>, ascii: impl Into<Il2CppString>, ) -> Il2CppString
GetDieMessage(crate::app::unit::Unit, ::unity::Il2CppString) overload
Sourcepub fn get_die_message_2(unit: impl Into<Unit>) -> Il2CppString
pub fn get_die_message_2(unit: impl Into<Unit>) -> Il2CppString
GetDieMessage(crate::app::unit::Unit) overload
Sourcepub fn get_die_god_message(unit: impl Into<Unit>) -> Il2CppString
pub fn get_die_god_message(unit: impl Into<Unit>) -> Il2CppString
GetDieGodMessage(crate::app::unit::Unit) overload
Sourcepub fn get_voice_id(unit: impl Into<Unit>) -> Il2CppString
pub fn get_voice_id(unit: impl Into<Unit>) -> Il2CppString
GetVoiceID(crate::app::unit::Unit) overload
Sourcepub fn is_same_unit(unit: impl Into<Unit>, target: impl Into<Unit>) -> bool
pub fn is_same_unit(unit: impl Into<Unit>, target: impl Into<Unit>) -> bool
IsSameUnit(crate::app::unit::Unit, crate::app::unit::Unit) overload
Sourcepub fn is_weakness(unit: impl Into<Unit>) -> bool
pub fn is_weakness(unit: impl Into<Unit>) -> bool
IsWeakness(crate::app::unit::Unit) overload
Sourcepub fn reset_chapter(chapter: impl Into<ChapterData>)
pub fn reset_chapter(chapter: impl Into<ChapterData>)
ResetChapter(crate::app::chapterdata::ChapterData) overload
Sourcepub fn get_summon_persons(
rank: impl Into<PersonData_Ranks>,
color: impl Into<PersonData_Colors>,
) -> List_1<PersonData>
pub fn get_summon_persons( rank: impl Into<PersonData_Ranks>, color: impl Into<PersonData_Colors>, ) -> List_1<PersonData>
GetSummonPersons(crate::app::persondata::PersonData_Ranks, crate::app::persondata::PersonData_Colors) overload
Sourcepub fn get_summon_rank() -> PersonData_Ranks
pub fn get_summon_rank() -> PersonData_Ranks
GetSummonRank() overload
Sourcepub fn calc_summon(
skill: impl Into<SkillData>,
color: impl Into<PersonData_Colors>,
dbg_rank: impl Into<PersonData_Ranks>,
) -> (bool, PersonData, PersonData_Ranks)
pub fn calc_summon( skill: impl Into<SkillData>, color: impl Into<PersonData_Colors>, dbg_rank: impl Into<PersonData_Ranks>, ) -> (bool, PersonData, PersonData_Ranks)
CalcSummon(*mutcrate::app::persondata::PersonData, *mutcrate::app::persondata::PersonData_Ranks, crate::app::skilldata::SkillData, crate::app::persondata::PersonData_Colors, crate::app::persondata::PersonData_Ranks) overload
Sourcepub fn is_multi_change_god(unit: impl Into<Unit>) -> bool
pub fn is_multi_change_god(unit: impl Into<Unit>) -> bool
IsMultiChangeGod(crate::app::unit::Unit) overload
Sourcepub fn is_out_of_view(position: impl Into<Vector3>) -> bool
pub fn is_out_of_view(position: impl Into<Vector3>) -> bool
IsOutOfView(crate::unity_engine::vector3::Vector3) overload
Sourcepub fn try_multi_change_god(unit: impl Into<Unit>) -> bool
pub fn try_multi_change_god(unit: impl Into<Unit>) -> bool
TryMultiChangeGod(crate::app::unit::Unit) overload
Sourcepub fn get_help_key(unit: impl Into<Unit>) -> Il2CppString
pub fn get_help_key(unit: impl Into<Unit>) -> Il2CppString
GetHelpKey(crate::app::unit::Unit) overload
Sourcepub fn god_save_equip()
pub fn god_save_equip()
GodSaveEquip() overload
Sourcepub fn god_load_equip()
pub fn god_load_equip()
GodLoadEquip() overload
Sourcepub fn get_move_first_add(unit: impl Into<Unit>) -> i32
pub fn get_move_first_add(unit: impl Into<Unit>) -> i32
GetMoveFirstAdd(crate::app::unit::Unit) overload
Sourcepub fn get_move_first_add_2(
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> i32
pub fn get_move_first_add_2( unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> i32
GetMoveFirstAdd(crate::app::unit::Unit, i32, i32) overload
Sourcepub fn get_move_first_add_3(
move_type: impl Into<JobData_MoveTypes>,
move_power: impl Into<i32>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> i32
pub fn get_move_first_add_3( move_type: impl Into<JobData_MoveTypes>, move_power: impl Into<i32>, x: impl Into<i32>, z: impl Into<i32>, ) -> i32
GetMoveFirstAdd(crate::app::jobdata::JobData_MoveTypes, i32, i32, i32) overload
Sourcepub fn get_total_item_count(iid: impl Into<Il2CppString>) -> i32
pub fn get_total_item_count(iid: impl Into<Il2CppString>) -> i32
GetTotalItemCount(::unity::Il2CppString) overload
Sourcepub fn get_total_item_count_2(item: impl Into<ItemData>) -> i32
pub fn get_total_item_count_2(item: impl Into<ItemData>) -> i32
GetTotalItemCount(crate::app::itemdata::ItemData) overload
Sourcepub fn clear_enhance_all()
pub fn clear_enhance_all()
ClearEnhanceAll() overload
Source§impl UnitUtil
impl UnitUtil
pub fn initialize_method_info() -> &'static MethodInfo
pub fn reset_unit_force_method_info() -> &'static MethodInfo
pub fn join_unit_method_info() -> &'static MethodInfo
pub fn join_unit_2_method_info() -> &'static MethodInfo
pub fn join_message_method_info() -> &'static MethodInfo
pub fn is_joined_unit_method_info() -> &'static MethodInfo
pub fn band_activate_method_info() -> &'static MethodInfo
pub fn refine_weapon_method_info() -> &'static MethodInfo
pub fn evolve_weapon_method_info() -> &'static MethodInfo
pub fn engrave_weapon_method_info() -> &'static MethodInfo
pub fn clear_engrave_weapon_method_info() -> &'static MethodInfo
pub fn item_disposal_for_dead_method_info() -> &'static MethodInfo
pub fn is_attack_range_method_info() -> &'static MethodInfo
pub fn is_attack_range_2_method_info() -> &'static MethodInfo
pub fn can_chain_attack_method_info() -> &'static MethodInfo
pub fn can_auto_equip_when_adding_item_method_info() -> &'static MethodInfo
pub fn can_auto_equip_when_adding_item_2_method_info() -> &'static MethodInfo
pub fn can_auto_equip_when_adding_item_3_method_info() -> &'static MethodInfo
pub fn get_round_grow_method_info() -> &'static MethodInfo
pub fn get_vision_person_impl_method_info() -> &'static MethodInfo
pub fn get_vision_count_impl_method_info() -> &'static MethodInfo
pub fn can_vision_create_impl_method_info() -> &'static MethodInfo
pub fn for_each_vision_method_info() -> &'static MethodInfo
pub fn get_vision_owner_method_info() -> &'static MethodInfo
pub fn is_vision_unit_method_info() -> &'static MethodInfo
pub fn has_vision_unit_method_info() -> &'static MethodInfo
pub fn can_vision_create_method_info() -> &'static MethodInfo
pub fn get_vision_offsets_method_info() -> &'static MethodInfo
pub fn for_each_creatable_vision_method_info() -> &'static MethodInfo
pub fn get_creatable_vision_count_method_info() -> &'static MethodInfo
pub fn vision_create_method_info() -> &'static MethodInfo
pub fn can_vision_delete_method_info() -> &'static MethodInfo
pub fn vision_delete_method_info() -> &'static MethodInfo
pub fn get_summon_unit_method_info() -> &'static MethodInfo
pub fn summon_create_method_info() -> &'static MethodInfo
pub fn summon_delete_method_info() -> &'static MethodInfo
pub fn vision_delete_impl_method_info() -> &'static MethodInfo
pub fn summon_delete_impl_method_info() -> &'static MethodInfo
pub fn unit_update_method_info() -> &'static MethodInfo
pub fn force_gathter_method_info() -> &'static MethodInfo
pub fn get_free_point_method_info() -> &'static MethodInfo
pub fn try_add_reliance_method_info() -> &'static MethodInfo
pub fn try_add_reliance_2_method_info() -> &'static MethodInfo
pub fn try_add_exp_method_info() -> &'static MethodInfo
pub fn get_die_type_method_info() -> &'static MethodInfo
pub fn try_get_exist_message_method_info() -> &'static MethodInfo
pub fn get_die_message_method_info() -> &'static MethodInfo
pub fn get_die_message_2_method_info() -> &'static MethodInfo
pub fn get_die_god_message_method_info() -> &'static MethodInfo
pub fn get_voice_id_method_info() -> &'static MethodInfo
pub fn is_same_unit_method_info() -> &'static MethodInfo
pub fn is_weakness_method_info() -> &'static MethodInfo
pub fn reset_chapter_method_info() -> &'static MethodInfo
pub fn get_summon_persons_method_info() -> &'static MethodInfo
pub fn get_summon_rank_method_info() -> &'static MethodInfo
pub fn calc_summon_method_info() -> &'static MethodInfo
pub fn is_multi_change_god_method_info() -> &'static MethodInfo
pub fn is_out_of_view_method_info() -> &'static MethodInfo
pub fn try_multi_change_god_method_info() -> &'static MethodInfo
pub fn get_help_key_method_info() -> &'static MethodInfo
pub fn god_save_equip_method_info() -> &'static MethodInfo
pub fn god_load_equip_method_info() -> &'static MethodInfo
pub fn get_move_first_add_method_info() -> &'static MethodInfo
pub fn get_move_first_add_2_method_info() -> &'static MethodInfo
pub fn get_move_first_add_3_method_info() -> &'static MethodInfo
pub fn get_total_item_count_method_info() -> &'static MethodInfo
pub fn get_total_item_count_2_method_info() -> &'static MethodInfo
pub fn clear_enhance_all_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for UnitUtil
impl ClassIdentity for UnitUtil
Source§impl FromIlInstance for UnitUtil
impl FromIlInstance for UnitUtil
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
class is a subtype of Self or layout compatibleimpl Copy for UnitUtil
impl IObject for UnitUtil
impl IUnitUtil for UnitUtil
Auto Trait Implementations§
impl Freeze for UnitUtil
impl RefUnwindSafe for UnitUtil
impl !Send for UnitUtil
impl !Sync for UnitUtil
impl Unpin for UnitUtil
impl UnwindSafe for UnitUtil
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)§impl<T> DefaultInjectedMembers for T
impl<T> DefaultInjectedMembers for T
fn __injected_fields() -> Vec<InjectedFieldDescriptor>
fn __injected_methods() -> Vec<InjectedMethodDescriptor>
fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>
Source§impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, capacity: i32)where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_count(self) -> i32where
Self: Sized,
fn get_item(self, index: i32) -> T0where
Self: Sized,
fn add(self, item: T0)where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn unchecked_add(self, item: T0)where
Self: Sized,
fn ensure_capacity(self, minimum: i32)where
Self: Sized,
Source§impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_location_name(self) -> Il2CppStringwhere
Self: Sized,
fn set_location_name(self, value: Il2CppString)where
Self: Sized,
fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle
fn ctor(self, op: AsyncOperationBase_1<T0>)where
Self: Sized,
fn get_download_status(self) -> DownloadStatuswhere
Self: Sized,
fn internal_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatuswhere
Self: Sized,
fn ctor_2(self, op: IAsyncOperation)where
Self: Sized,
fn ctor_3(self, op: IAsyncOperation, version: i32)where
Self: Sized,
fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)where
Self: Sized,
fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)where
Self: Sized,
fn acquire(self) -> AsyncOperationHandle_1<T0>where
Self: Sized,
fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)where
Self: Sized,
fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn get_debug_name(self) -> Il2CppStringwhere
Self: Sized,
fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn equals(self, other: AsyncOperationHandle_1<T0>) -> boolwhere
Self: Sized,
fn get_hash_code(self) -> i32where
Self: Sized,
fn wait_for_completion(self) -> T0where
Self: Sized,
fn get_internal_op(self) -> AsyncOperationBase_1<T0>where
Self: Sized,
fn get_is_done(self) -> boolwhere
Self: Sized,
fn is_valid(self) -> boolwhere
Self: Sized,
fn get_percent_complete(self) -> f32where
Self: Sized,
fn get_reference_count(self) -> i32where
Self: Sized,
fn release(self)where
Self: Sized,
fn get_result(self) -> T0where
Self: Sized,
fn get_status(self) -> AsyncOperationStatuswhere
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
Source§impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> KeyValuePair_2<T0, T1>where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntrywhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_key(self) -> Objectwhere
Self: Sized,
fn system_collections_i_dictionary_enumerator_get_value(self) -> Objectwhere
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U
fn ctor(self, dictionary: Dictionary_2<T0, T1>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T1where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IExposedReference_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn resolve(self, resolver: IExposedPropertyTable) -> T0where
Self: Sized,
Source§impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, set: HashSet_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn initialize() -> IntPtr
Source§impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U
Source§impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, initialize: bool)where
Self: Sized,
fn ctor_2(self, max_capacity: i32)where
Self: Sized,
fn add_range(self, items: IEnumerable_1<T0>)where
Self: Sized,
fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)where
Self: Sized,
fn get_buffer(self, index: i32) -> Array<T0>where
Self: Sized,
fn to_array(self) -> Array<T0>where
Self: Sized,
fn try_move(self) -> (bool, Array<T0>)where
Self: Sized,
fn allocate_buffer(self)where
Self: Sized,
Source§impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: LinkedList_1<T0>)where
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn system_runtime_serialization_i_deserialization_callback_on_deserialization(
self,
sender: Object,
)where
Self: Sized,
Source§impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IListBuffer_1Methods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn get_count(self) -> i32where
Self: Sized,
fn get_capacity(self) -> i32where
Self: Sized,
fn get_item(self) -> (*mut T0, i32)where
Self: Sized,
fn get_unchecked(self) -> (*mut T0, i32)where
Self: Sized,
fn try_add(self) -> (bool, T0)where
Self: Sized,
fn try_copy_to(self, other: ListBuffer_1<T0>) -> boolwhere
Self: Sized,
Source§impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
impl<T0, __U> IList_1_EnumeratorMethods<T0> for __Uwhere
T0: ClassIdentity,
__U: ClassIdentity,
fn ctor(self, list: List_1<T0>)where
Self: Sized,
fn dispose(self)where
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn move_next_rare(self) -> boolwhere
Self: Sized,
fn get_current(self) -> T0where
Self: Sized,
fn system_collections_i_enumerator_get_current(self) -> Objectwhere
Self: Sized,
fn system_collections_i_enumerator_reset(self)where
Self: Sized,
Source§impl<__T> IObjectMethods for __Twhere
__T: IObject,
impl<__T> IObjectMethods for __Twhere
__T: IObject,
Source§fn equals(self, obj: impl Into<Object>) -> bool
fn equals(self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overloadSource§fn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overloadSource§fn memberwise_clone(self) -> Object
fn memberwise_clone(self) -> Object
MemberwiseClone() overloadSource§fn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overloadSource§fn field_getter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
) -> IlInstance
fn field_getter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, ) -> IlInstance
FieldGetter(::unity::Il2CppString, ::unity::Il2CppString, *mut::unity::IlInstance) overloadSource§fn field_setter(
self,
type_name: impl Into<Il2CppString>,
field_name: impl Into<Il2CppString>,
val: impl Into<Object>,
)
fn field_setter( self, type_name: impl Into<Il2CppString>, field_name: impl Into<Il2CppString>, val: impl Into<Object>, )
FieldSetter(::unity::Il2CppString, ::unity::Il2CppString, crate::system::object::Object) overload