pub trait IAsyncOperationBase_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 63 methods
// Provided methods
fn execute(self)
where Self: Sized + Into<IlInstance> { ... }
fn destroy(self)
where Self: Sized { ... }
fn get_progress(self) -> f32
where Self: Sized { ... }
fn get_debug_name(self) -> Il2CppString
where Self: Sized { ... }
fn get_dependencies(self, dependencies: List_1<AsyncOperationHandle>)
where Self: Sized { ... }
fn get_result(self) -> T0
where Self: Sized { ... }
fn set_result(self, value: T0)
where Self: Sized { ... }
fn get_version(self) -> i32
where Self: Sized { ... }
fn get_completed_event_has_listeners(self) -> bool
where Self: Sized { ... }
fn get_destroyed_event_has_listeners(self) -> bool
where Self: Sized { ... }
fn set_on_destroy(self, value: Action_1<IAsyncOperation>)
where Self: Sized { ... }
fn get_reference_count(self) -> i32
where Self: Sized { ... }
fn get_is_running(self) -> bool
where Self: Sized { ... }
fn set_is_running(self, value: bool)
where Self: Sized { ... }
fn ctor(self)
where Self: Sized { ... }
fn shorten_path(p: Il2CppString, keep_extension: bool) -> Il2CppString { ... }
fn increment_reference_count(self)
where Self: Sized { ... }
fn wait_for_completion(self)
where Self: Sized { ... }
fn invoke_wait_for_completion(self) -> bool
where Self: Sized { ... }
fn decrement_reference_count(self)
where Self: Sized { ... }
fn to_string(self) -> Il2CppString
where Self: Sized { ... }
fn register_for_deferred_callback_event(
self,
increment_reference_count: bool,
)
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_destroyed(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized { ... }
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)
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_status(self) -> AsyncOperationStatus
where Self: Sized { ... }
fn move_next(self) -> bool
where Self: Sized { ... }
fn reset(self)
where Self: Sized { ... }
fn get_current(self) -> Object
where Self: Sized { ... }
fn get_is_done(self) -> bool
where Self: Sized { ... }
fn get_percent_complete(self) -> f32
where Self: Sized { ... }
fn invoke_completion_event(self)
where Self: Sized { ... }
fn get_handle(self) -> AsyncOperationHandle_1<T0>
where Self: Sized { ... }
fn update_callback(self, unscaled_delta_time: f32)
where Self: Sized { ... }
fn complete(self, result: T0, success: bool, error_msg: Il2CppString)
where Self: Sized { ... }
fn complete_2(
self,
result: T0,
success: bool,
error_msg: Il2CppString,
release_dependencies_on_failure: bool,
)
where Self: Sized { ... }
fn start(
self,
rm: ResourceManager,
dependency: AsyncOperationHandle,
update_callbacks: DelegateList_1<f32>,
)
where Self: Sized { ... }
fn invoke_execute(self)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_add_completed_typeless(
self,
value: Action_1<AsyncOperationHandle>,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_remove_completed_typeless(
self,
value: Action_1<AsyncOperationHandle>,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_add_destroyed(
self,
value: Action_1<AsyncOperationHandle>,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_remove_destroyed(
self,
value: Action_1<AsyncOperationHandle>,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_version(
self,
) -> i32
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_reference_count(
self,
) -> i32
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_percent_complete(
self,
) -> f32
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_status(
self,
) -> AsyncOperationStatus
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_is_done(
self,
) -> bool
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_handle(
self,
) -> AsyncOperationHandle
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_set_on_destroy(
self,
value: Action_1<IAsyncOperation>,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_debug_name(
self,
) -> Il2CppString
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_result_as_object(
self,
) -> Object
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_result_type(
self,
) -> SystemType
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_dependencies(
self,
deps: List_1<AsyncOperationHandle>,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_decrement_reference_count(
self,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_increment_reference_count(
self,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_invoke_completion_event(
self,
)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_start(
self,
rm: ResourceManager,
dependency: AsyncOperationHandle,
update_callbacks: DelegateList_1<f32>,
)
where Self: Sized { ... }
fn release_dependencies(self)
where Self: Sized { ... }
fn unity_engine_resource_management_async_operations_i_async_operation_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatus
where Self: Sized { ... }
fn get_download_status(self, visited: HashSet_1<Object>) -> DownloadStatus
where Self: Sized { ... }
}Provided Methods§
fn execute(self)where
Self: Sized + Into<IlInstance>,
fn destroy(self)where
Self: Sized,
fn get_progress(self) -> f32where
Self: Sized,
fn get_debug_name(self) -> Il2CppStringwhere
Self: Sized,
fn get_dependencies(self, dependencies: List_1<AsyncOperationHandle>)where
Self: Sized,
fn get_result(self) -> T0where
Self: Sized,
fn set_result(self, value: T0)where
Self: Sized,
fn get_version(self) -> i32where
Self: Sized,
fn get_completed_event_has_listeners(self) -> boolwhere
Self: Sized,
fn get_destroyed_event_has_listeners(self) -> boolwhere
Self: Sized,
fn set_on_destroy(self, value: Action_1<IAsyncOperation>)where
Self: Sized,
fn get_reference_count(self) -> i32where
Self: Sized,
fn get_is_running(self) -> boolwhere
Self: Sized,
fn set_is_running(self, value: bool)where
Self: Sized,
fn ctor(self)where
Self: Sized,
fn shorten_path(p: Il2CppString, keep_extension: bool) -> Il2CppString
fn increment_reference_count(self)where
Self: Sized,
fn wait_for_completion(self)where
Self: Sized,
fn invoke_wait_for_completion(self) -> boolwhere
Self: Sized,
fn decrement_reference_count(self)where
Self: Sized,
fn to_string(self) -> Il2CppStringwhere
Self: Sized,
fn register_for_deferred_callback_event(self, increment_reference_count: bool)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_destroyed(self, value: Action_1<AsyncOperationHandle>)where
Self: Sized,
fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)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_status(self) -> AsyncOperationStatuswhere
Self: Sized,
fn move_next(self) -> boolwhere
Self: Sized,
fn reset(self)where
Self: Sized,
fn get_current(self) -> Objectwhere
Self: Sized,
fn get_is_done(self) -> boolwhere
Self: Sized,
fn get_percent_complete(self) -> f32where
Self: Sized,
fn invoke_completion_event(self)where
Self: Sized,
fn get_handle(self) -> AsyncOperationHandle_1<T0>where
Self: Sized,
fn update_callback(self, unscaled_delta_time: f32)where
Self: Sized,
fn complete(self, result: T0, success: bool, error_msg: Il2CppString)where
Self: Sized,
fn complete_2(
self,
result: T0,
success: bool,
error_msg: Il2CppString,
release_dependencies_on_failure: bool,
)where
Self: Sized,
fn start(
self,
rm: ResourceManager,
dependency: AsyncOperationHandle,
update_callbacks: DelegateList_1<f32>,
)where
Self: Sized,
fn invoke_execute(self)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_add_completed_typeless(
self,
value: Action_1<AsyncOperationHandle>,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_remove_completed_typeless(
self,
value: Action_1<AsyncOperationHandle>,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_add_destroyed(
self,
value: Action_1<AsyncOperationHandle>,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_remove_destroyed(
self,
value: Action_1<AsyncOperationHandle>,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_version(
self,
) -> i32where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_reference_count(
self,
) -> i32where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_percent_complete(
self,
) -> f32where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_status(
self,
) -> AsyncOperationStatuswhere
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_is_done(
self,
) -> boolwhere
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_handle(
self,
) -> AsyncOperationHandlewhere
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_set_on_destroy(
self,
value: Action_1<IAsyncOperation>,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_debug_name(
self,
) -> Il2CppStringwhere
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_result_as_object(
self,
) -> Objectwhere
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_result_type(
self,
) -> SystemTypewhere
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_dependencies(
self,
deps: List_1<AsyncOperationHandle>,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_decrement_reference_count(
self,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_increment_reference_count(
self,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_invoke_completion_event(
self,
)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_start(
self,
rm: ResourceManager,
dependency: AsyncOperationHandle,
update_callbacks: DelegateList_1<f32>,
)where
Self: Sized,
fn release_dependencies(self)where
Self: Sized,
fn unity_engine_resource_management_async_operations_i_async_operation_get_download_status(
self,
visited: HashSet_1<Object>,
) -> DownloadStatuswhere
Self: Sized,
fn get_download_status(self, visited: HashSet_1<Object>) -> DownloadStatuswhere
Self: Sized,
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.