#[repr(C)]pub struct AsyncOperationHandle {
pub m_internal_op: IAsyncOperation,
pub m_version: i32,
pub m_location_name: Il2CppString,
}Expand description
Fields§
§m_internal_op: IAsyncOperation§m_version: i32§m_location_name: Il2CppStringImplementations§
Source§impl AsyncOperationHandle
impl AsyncOperationHandle
pub fn m_is_waiting_for_completion() -> bool
pub fn set_m_is_waiting_for_completion(value: bool)
Source§impl AsyncOperationHandle
impl AsyncOperationHandle
Sourcepub fn get_is_waiting_for_completion() -> bool
pub fn get_is_waiting_for_completion() -> bool
get_IsWaitingForCompletion() overload
Sourcepub fn set_is_waiting_for_completion(value: impl Into<bool>)
pub fn set_is_waiting_for_completion(value: impl Into<bool>)
set_IsWaitingForCompletion(bool) overload
Source§impl AsyncOperationHandle
impl AsyncOperationHandle
Sourcepub fn get_location_name(&mut self) -> Il2CppString
pub fn get_location_name(&mut self) -> Il2CppString
get_LocationName() overload
Sourcepub fn set_location_name(&mut self, value: impl Into<Il2CppString>)
pub fn set_location_name(&mut self, value: impl Into<Il2CppString>)
set_LocationName(::unity::Il2CppString) overload
Sourcepub fn ctor(&mut self, op: impl Into<IAsyncOperation>)
pub fn ctor(&mut self, op: impl Into<IAsyncOperation>)
.ctor(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation) overload
Sourcepub fn ctor_2(
&mut self,
op: impl Into<IAsyncOperation>,
version: impl Into<i32>,
)
pub fn ctor_2( &mut self, op: impl Into<IAsyncOperation>, version: impl Into<i32>, )
.ctor(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation, i32) overload
Sourcepub fn ctor_3(
&mut self,
op: impl Into<IAsyncOperation>,
location_name: impl Into<Il2CppString>,
)
pub fn ctor_3( &mut self, op: impl Into<IAsyncOperation>, location_name: impl Into<Il2CppString>, )
.ctor(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation, ::unity::Il2CppString) overload
Sourcepub fn ctor_4(
&mut self,
op: impl Into<IAsyncOperation>,
version: impl Into<i32>,
location_name: impl Into<Il2CppString>,
)
pub fn ctor_4( &mut self, op: impl Into<IAsyncOperation>, version: impl Into<i32>, location_name: impl Into<Il2CppString>, )
.ctor(crate::unity_engine::resource_management::async_operations::iasyncoperation::IAsyncOperation, i32, ::unity::Il2CppString) overload
Sourcepub fn acquire(&mut self) -> AsyncOperationHandle
pub fn acquire(&mut self) -> AsyncOperationHandle
Acquire() overload
Sourcepub fn add_completed(
&mut self,
value: impl Into<Action_1<AsyncOperationHandle>>,
)
pub fn add_completed( &mut self, value: impl Into<Action_1<AsyncOperationHandle>>, )
add_Completed(crate::system::action_1::Action_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>) overload
Sourcepub fn remove_completed(
&mut self,
value: impl Into<Action_1<AsyncOperationHandle>>,
)
pub fn remove_completed( &mut self, value: impl Into<Action_1<AsyncOperationHandle>>, )
remove_Completed(crate::system::action_1::Action_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>) overload
pub fn convert<M0: IlType + Copy + ClassIdentity>( &mut self, ) -> AsyncOperationHandle_1<M0>
Sourcepub fn equals(&mut self, other: impl Into<AsyncOperationHandle>) -> bool
pub fn equals(&mut self, other: impl Into<AsyncOperationHandle>) -> bool
Equals(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle) overload
Sourcepub fn get_debug_name(&mut self) -> Il2CppString
pub fn get_debug_name(&mut self) -> Il2CppString
get_DebugName() overload
Sourcepub fn add_destroyed(
&mut self,
value: impl Into<Action_1<AsyncOperationHandle>>,
)
pub fn add_destroyed( &mut self, value: impl Into<Action_1<AsyncOperationHandle>>, )
add_Destroyed(crate::system::action_1::Action_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>) overload
Sourcepub fn remove_destroyed(
&mut self,
value: impl Into<Action_1<AsyncOperationHandle>>,
)
pub fn remove_destroyed( &mut self, value: impl Into<Action_1<AsyncOperationHandle>>, )
remove_Destroyed(crate::system::action_1::Action_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>) overload
Sourcepub fn get_dependencies(
&mut self,
deps: impl Into<List_1<AsyncOperationHandle>>,
)
pub fn get_dependencies( &mut self, deps: impl Into<List_1<AsyncOperationHandle>>, )
GetDependencies(crate::system::collections::generic::list_1::List_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn get_internal_op(&mut self) -> IAsyncOperation
pub fn get_internal_op(&mut self) -> IAsyncOperation
get_InternalOp() overload
Sourcepub fn get_is_done(&mut self) -> bool
pub fn get_is_done(&mut self) -> bool
get_IsDone() overload
Sourcepub fn get_percent_complete(&mut self) -> f32
pub fn get_percent_complete(&mut self) -> f32
get_PercentComplete() overload
Sourcepub fn get_download_status(&mut self) -> DownloadStatus
pub fn get_download_status(&mut self) -> DownloadStatus
GetDownloadStatus() overload
Sourcepub fn internal_get_download_status(
&mut self,
visited: impl Into<HashSet_1<Object>>,
) -> DownloadStatus
pub fn internal_get_download_status( &mut self, visited: impl Into<HashSet_1<Object>>, ) -> DownloadStatus
InternalGetDownloadStatus(crate::system::collections::generic::hashset_1::HashSet_1<crate::system::object::Object>) overload
Sourcepub fn get_reference_count(&mut self) -> i32
pub fn get_reference_count(&mut self) -> i32
get_ReferenceCount() overload
Sourcepub fn get_result(&mut self) -> Object
pub fn get_result(&mut self) -> Object
get_Result() overload
Sourcepub fn get_status(&mut self) -> AsyncOperationStatus
pub fn get_status(&mut self) -> AsyncOperationStatus
get_Status() overload
Sourcepub fn system_collections_i_enumerator_get_current(&mut self) -> Object
pub fn system_collections_i_enumerator_get_current(&mut self) -> Object
System.Collections.IEnumerator.get_Current() overload
Sourcepub fn system_collections_i_enumerator_move_next(&mut self) -> bool
pub fn system_collections_i_enumerator_move_next(&mut self) -> bool
System.Collections.IEnumerator.MoveNext() overload
Sourcepub fn system_collections_i_enumerator_reset(&mut self)
pub fn system_collections_i_enumerator_reset(&mut self)
System.Collections.IEnumerator.Reset() overload
Sourcepub fn wait_for_completion(&mut self) -> Object
pub fn wait_for_completion(&mut self) -> Object
WaitForCompletion() overload
Source§impl AsyncOperationHandle
impl AsyncOperationHandle
pub fn get_is_waiting_for_completion_method_info() -> &'static MethodInfo
pub fn set_is_waiting_for_completion_method_info() -> &'static MethodInfo
pub fn get_location_name_method_info() -> &'static MethodInfo
pub fn set_location_name_method_info() -> &'static MethodInfo
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
pub fn ctor_3_method_info() -> &'static MethodInfo
pub fn ctor_4_method_info() -> &'static MethodInfo
pub fn acquire_method_info() -> &'static MethodInfo
pub fn add_completed_method_info() -> &'static MethodInfo
pub fn remove_completed_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn get_debug_name_method_info() -> &'static MethodInfo
pub fn add_destroyed_method_info() -> &'static MethodInfo
pub fn remove_destroyed_method_info() -> &'static MethodInfo
pub fn get_dependencies_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn get_internal_op_method_info() -> &'static MethodInfo
pub fn get_is_done_method_info() -> &'static MethodInfo
pub fn is_valid_method_info() -> &'static MethodInfo
pub fn get_percent_complete_method_info() -> &'static MethodInfo
pub fn get_download_status_method_info() -> &'static MethodInfo
pub fn internal_get_download_status_method_info() -> &'static MethodInfo
pub fn get_reference_count_method_info() -> &'static MethodInfo
pub fn release_method_info() -> &'static MethodInfo
pub fn get_result_method_info() -> &'static MethodInfo
pub fn get_status_method_info() -> &'static MethodInfo
pub fn system_collections_i_enumerator_get_current_method_info() -> &'static MethodInfo
pub fn system_collections_i_enumerator_move_next_method_info() -> &'static MethodInfo
pub fn system_collections_i_enumerator_reset_method_info() -> &'static MethodInfo
pub fn wait_for_completion_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for AsyncOperationHandle
impl ClassIdentity for AsyncOperationHandle
Source§impl Clone for AsyncOperationHandle
impl Clone for AsyncOperationHandle
Source§fn clone(&self) -> AsyncOperationHandle
fn clone(&self) -> AsyncOperationHandle
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AsyncOperationHandle
Auto Trait Implementations§
impl Freeze for AsyncOperationHandle
impl RefUnwindSafe for AsyncOperationHandle
impl !Send for AsyncOperationHandle
impl !Sync for AsyncOperationHandle
impl Unpin for AsyncOperationHandle
impl UnwindSafe for AsyncOperationHandle
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> 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)