1#[cfg(feature = "unity_engine-addressable_assets-addressables-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/addressable_assets/addressables/Addressables.md"))]
15 #[::unity::class(namespace = "UnityEngine.AddressableAssets", name = "Addressables")]
16 #[parent(crate::system::object::Object)]
17 pub struct Addressables {
18 #[static_field]
19 #[rename(name = "reinitializeAddressables")]
20 pub reinitialize_addressables: bool,
21 #[static_field]
22 #[rename(name = "m_AddressablesInstance")]
23 pub m_addressables_instance: crate::unity_engine::addressable_assets::addressablesimpl::AddressablesImpl,
24 #[static_field]
25 #[rename(name = "kAddressablesRuntimeDataPath")]
26 pub k_addressables_runtime_data_path: ::unity::Il2CppString,
27 #[static_field]
28 #[rename(name = "k_AddressablesLogConditional")]
29 pub k_addressables_log_conditional: ::unity::Il2CppString,
30 #[static_field]
31 #[rename(name = "kAddressablesRuntimeBuildLogPath")]
32 pub k_addressables_runtime_build_log_path: ::unity::Il2CppString,
33 #[static_field]
34 #[rename(name = "LibraryPath")]
35 pub library_path: ::unity::Il2CppString,
36 }
37
38 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/addressable_assets/addressables/Addressables_MergeMode.md"))]
39 #[repr(C)]
40 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
41 pub struct Addressables_MergeMode {
42 pub value: i32,
43 }
44 impl ::unity::ClassIdentity for Addressables_MergeMode {
45 const NAME: &'static str = "Addressables.MergeMode";
46 const NAMESPACE: &'static str = "UnityEngine.AddressableAssets";
47
48 fn class() -> ::unity::Class {
49 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
50 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
51 }
52 }
53 impl ::unity::IlType for Addressables_MergeMode {
54 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
55 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
56 }
57 }
58 impl Addressables_MergeMode {
59 pub fn none() -> Self {
60 Self { value: 0 }
61 }
62
63 pub fn use_first() -> Self {
64 Self { value: 0 }
65 }
66
67 pub fn r#union() -> Self {
68 Self { value: 1 }
69 }
70
71 pub fn intersection() -> Self {
72 Self { value: 2 }
73 }
74 }
75}
76
77#[cfg(feature = "unity_engine-addressable_assets-addressables-types")]
78pub use __types::*;
79
80#[cfg(feature = "unity_engine-addressable_assets-addressables")]
81impl Addressables {
82 #[doc = "`get_m_Addressables()` overload"]
83 pub fn get_m_addressables() -> crate::unity_engine::addressable_assets::addressablesimpl::AddressablesImpl {
84 unsafe {
85 ::unity::il2cpp_call!((::unity::module_base()+0x2d9ff10usize)as*mut u8,crate::unity_engine::addressable_assets::addressablesimpl::AddressablesImpl;
86 )
87 }
88 }
89
90 #[doc = "`get_ResourceManager()` overload"]
91 pub fn get_resource_manager() -> crate::unity_engine::resource_management::resourcemanager::ResourceManager {
92 unsafe {
93 ::unity::il2cpp_call!((::unity::module_base()+0x2d9ff80usize)as*mut u8,crate::unity_engine::resource_management::resourcemanager::ResourceManager;
94 )
95 }
96 }
97
98 #[doc = "`get_Instance()` overload"]
99 pub fn get_instance() -> crate::unity_engine::addressable_assets::addressablesimpl::AddressablesImpl {
100 unsafe {
101 ::unity::il2cpp_call!((::unity::module_base()+0x2da0100usize)as*mut u8,crate::unity_engine::addressable_assets::addressablesimpl::AddressablesImpl;
102 )
103 }
104 }
105
106 #[doc = "`get_InstanceProvider()` overload"]
107 pub fn get_instance_provider(
108 ) -> crate::unity_engine::resource_management::resource_providers::iinstanceprovider_interface::IInstanceProvider_Interface {
109 unsafe {
110 ::unity::il2cpp_call!((::unity::module_base()+0x2da01c0usize)as*mut u8,crate::unity_engine::resource_management::resource_providers::iinstanceprovider_interface::IInstanceProvider_Interface;
111 )
112 }
113 }
114
115 #[doc = "`ResolveInternalId(::unity::Il2CppString)` overload"]
116 pub fn resolve_internal_id(id: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
117 unsafe {
118 ::unity::il2cpp_call!((::unity::module_base()+0x2da0290usize)as*mut u8, ::unity::Il2CppString;
119(::unity::Il2CppString)::core::convert::Into::into(id))
120 }
121 }
122
123 #[doc = "`get_InternalIdTransformFunc()` overload"]
124 pub fn get_internal_id_transform_func() -> crate::system::func_2::Func_2<
125 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
126 ::unity::Il2CppString,
127 > {
128 unsafe {
129 ::unity::il2cpp_call!((::unity::module_base()+0x2da0410usize)as*mut u8,crate::system::func_2::Func_2<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, ::unity::Il2CppString> ;
130 )
131 }
132 }
133
134 #[doc = "`set_InternalIdTransformFunc(crate::system::func_2::Func_2<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,::unity::Il2CppString>)` overload"]
135 pub fn set_internal_id_transform_func(
136 value: impl ::core::convert::Into<
137 crate::system::func_2::Func_2<
138 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
139 ::unity::Il2CppString,
140 >,
141 >,
142 ) -> () {
143 unsafe {
144 ::unity::il2cpp_call!((::unity::module_base()+0x2da0500usize)as*mut u8,();
145(crate::system::func_2::Func_2<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, ::unity::Il2CppString>)::core::convert::Into::into(value))
146 }
147 }
148
149 #[doc = "`get_WebRequestOverride()` overload"]
150 pub fn get_web_request_override() -> crate::system::action_1::Action_1<crate::unity_engine::networking::unitywebrequest::UnityWebRequest> {
151 unsafe {
152 ::unity::il2cpp_call!((::unity::module_base()+0x2da0610usize)as*mut u8,crate::system::action_1::Action_1<crate::unity_engine::networking::unitywebrequest::UnityWebRequest> ;
153 )
154 }
155 }
156
157 #[doc = "`set_WebRequestOverride(crate::system::action_1::Action_1<crate::unity_engine::networking::unitywebrequest::UnityWebRequest>)` overload"]
158 pub fn set_web_request_override(
159 value: impl ::core::convert::Into<crate::system::action_1::Action_1<crate::unity_engine::networking::unitywebrequest::UnityWebRequest>>,
160 ) -> () {
161 unsafe {
162 ::unity::il2cpp_call!((::unity::module_base()+0x2da0700usize)as*mut u8,();
163(crate::system::action_1::Action_1<crate::unity_engine::networking::unitywebrequest::UnityWebRequest>)::core::convert::Into::into(value))
164 }
165 }
166
167 #[doc = "`get_StreamingAssetsSubFolder()` overload"]
168 pub fn get_streaming_assets_sub_folder() -> ::unity::Il2CppString {
169 unsafe {
170 ::unity::il2cpp_call!((::unity::module_base()+0x2da0810usize)as*mut u8, ::unity::Il2CppString;
171 )
172 }
173 }
174
175 #[doc = "`get_BuildPath()` overload"]
176 pub fn get_build_path() -> ::unity::Il2CppString {
177 unsafe {
178 ::unity::il2cpp_call!((::unity::module_base()+0x2da0940usize)as*mut u8, ::unity::Il2CppString;
179 )
180 }
181 }
182
183 #[doc = "`get_PlayerBuildDataPath()` overload"]
184 pub fn get_player_build_data_path() -> ::unity::Il2CppString {
185 unsafe {
186 ::unity::il2cpp_call!((::unity::module_base()+0x2da0b50usize)as*mut u8, ::unity::Il2CppString;
187 )
188 }
189 }
190
191 #[doc = "`get_RuntimePath()` overload"]
192 pub fn get_runtime_path() -> ::unity::Il2CppString {
193 unsafe {
194 ::unity::il2cpp_call!((::unity::module_base()+0x2da0d20usize)as*mut u8, ::unity::Il2CppString;
195 )
196 }
197 }
198
199 #[doc = "`get_ResourceLocators()` overload"]
200 pub fn get_resource_locators() -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<
201 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
202 > {
203 unsafe {
204 ::unity::il2cpp_call!((::unity::module_base()+0x2da0ef0usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> ;
205 )
206 }
207 }
208
209 #[doc = "`InternalSafeSerializationLog(::unity::Il2CppString, crate::unity_engine::logtype::LogType)` overload"]
210 pub fn internal_safe_serialization_log(
211 msg: impl ::core::convert::Into<::unity::Il2CppString>,
212 log_type: impl ::core::convert::Into<crate::unity_engine::logtype::LogType>,
213 ) -> () {
214 unsafe {
215 ::unity::il2cpp_call!((::unity::module_base()+0x2da10e0usize)as*mut u8,();
216(::unity::Il2CppString)::core::convert::Into::into(msg),(crate::unity_engine::logtype::LogType)::core::convert::Into::into(log_type))
217 }
218 }
219
220 #[doc = "`InternalSafeSerializationLogFormat(::unity::Il2CppString, crate::unity_engine::logtype::LogType, ::unity::Array<crate::system::object::Object>)` overload"]
221 pub fn internal_safe_serialization_log_format(
222 format: impl ::core::convert::Into<::unity::Il2CppString>,
223 log_type: impl ::core::convert::Into<crate::unity_engine::logtype::LogType>,
224 args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
225 ) -> () {
226 unsafe {
227 ::unity::il2cpp_call!((::unity::module_base()+0x2da1410usize)as*mut u8,();
228(::unity::Il2CppString)::core::convert::Into::into(format),(crate::unity_engine::logtype::LogType)::core::convert::Into::into(log_type),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
229 }
230 }
231
232 #[doc = "`Log(::unity::Il2CppString)` overload"]
233 pub fn log(msg: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
234 unsafe {
235 ::unity::il2cpp_call!((::unity::module_base()+0x2da1790usize)as*mut u8,();
236(::unity::Il2CppString)::core::convert::Into::into(msg))
237 }
238 }
239
240 #[doc = "`LogFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
241 pub fn log_format(
242 format: impl ::core::convert::Into<::unity::Il2CppString>,
243 args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
244 ) -> () {
245 unsafe {
246 ::unity::il2cpp_call!((::unity::module_base()+0x2da18a0usize)as*mut u8,();
247(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
248 }
249 }
250
251 #[doc = "`LogWarning(::unity::Il2CppString)` overload"]
252 pub fn log_warning(msg: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
253 unsafe {
254 ::unity::il2cpp_call!((::unity::module_base()+0x2da19b0usize)as*mut u8,();
255(::unity::Il2CppString)::core::convert::Into::into(msg))
256 }
257 }
258
259 #[doc = "`LogWarningFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
260 pub fn log_warning_format(
261 format: impl ::core::convert::Into<::unity::Il2CppString>,
262 args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
263 ) -> () {
264 unsafe {
265 ::unity::il2cpp_call!((::unity::module_base()+0x2da1ac0usize)as*mut u8,();
266(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
267 }
268 }
269
270 #[doc = "`LogError(::unity::Il2CppString)` overload"]
271 pub fn log_error(msg: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
272 unsafe {
273 ::unity::il2cpp_call!((::unity::module_base()+0x2da1bd0usize)as*mut u8,();
274(::unity::Il2CppString)::core::convert::Into::into(msg))
275 }
276 }
277
278 #[doc = "`LogErrorFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>)` overload"]
279 pub fn log_error_format(
280 format: impl ::core::convert::Into<::unity::Il2CppString>,
281 args: impl ::core::convert::Into<::unity::Array<crate::system::object::Object>>,
282 ) -> () {
283 unsafe {
284 ::unity::il2cpp_call!((::unity::module_base()+0x2da1ee0usize)as*mut u8,();
285(::unity::Il2CppString)::core::convert::Into::into(format),(::unity::Array<crate::system::object::Object>)::core::convert::Into::into(args))
286 }
287 }
288
289 #[doc = "`Initialize()` overload"]
290 pub fn initialize() -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
291 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
292 > {
293 unsafe {
294 ::unity::il2cpp_call!((::unity::module_base()+0x2da1ff0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> ;
295 )
296 }
297 }
298
299 #[doc = "`InitializeAsync()` overload"]
300 pub fn initialize_async() -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
301 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
302 > {
303 unsafe {
304 ::unity::il2cpp_call!((::unity::module_base()+0x2da2080usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> ;
305 )
306 }
307 }
308
309 #[doc = "`LoadContentCatalog(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
310 pub fn load_content_catalog(
311 catalog_path: impl ::core::convert::Into<::unity::Il2CppString>,
312 provider_suffix: impl ::core::convert::Into<::unity::Il2CppString>,
313 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
314 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
315 > {
316 unsafe {
317 ::unity::il2cpp_call!((::unity::module_base()+0x2da22d0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> ;
318(::unity::Il2CppString)::core::convert::Into::into(catalog_path),(::unity::Il2CppString)::core::convert::Into::into(provider_suffix))
319 }
320 }
321
322 #[doc = "`LoadContentCatalogAsync(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
323 pub fn load_content_catalog_async(
324 catalog_path: impl ::core::convert::Into<::unity::Il2CppString>,
325 provider_suffix: impl ::core::convert::Into<::unity::Il2CppString>,
326 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
327 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
328 > {
329 unsafe {
330 ::unity::il2cpp_call!((::unity::module_base()+0x2da2370usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> ;
331(::unity::Il2CppString)::core::convert::Into::into(catalog_path),(::unity::Il2CppString)::core::convert::Into::into(provider_suffix))
332 }
333 }
334
335 #[doc = "`LoadContentCatalogAsync(::unity::Il2CppString, bool, ::unity::Il2CppString)` overload"]
336 pub fn load_content_catalog_async_2(
337 catalog_path: impl ::core::convert::Into<::unity::Il2CppString>,
338 auto_release_handle: impl ::core::convert::Into<bool>,
339 provider_suffix: impl ::core::convert::Into<::unity::Il2CppString>,
340 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
341 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
342 > {
343 unsafe {
344 ::unity::il2cpp_call!((::unity::module_base()+0x2da2730usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> ;
345(::unity::Il2CppString)::core::convert::Into::into(catalog_path),(bool)::core::convert::Into::into(auto_release_handle),(::unity::Il2CppString)::core::convert::Into::into(provider_suffix))
346 }
347 }
348
349 #[doc = "`get_InitializationOperation()` overload"]
350 pub fn get_initialization_operation(
351 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
352 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
353 > {
354 unsafe {
355 ::unity::il2cpp_call!((::unity::module_base()+0x2da2840usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> ;
356 )
357 }
358 }
359
360 pub fn load_asset<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
361 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
362 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> {
363 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
364 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAsset", 1));
365 #[allow(clippy::type_complexity)]
366 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
367 ::std::sync::OnceLock::new();
368 let _ = true;
369 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
370 ::core::result::Result::Ok(mi) => *mi,
371 ::core::result::Result::Err(e) => {
372 panic!(
373 "method lookup failed: {}
374::{}
375: {}
376",
377 <Addressables as ::unity::ClassIdentity>::NAME,
378 "LoadAsset",
379 e
380 )
381 },
382 };
383 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
384 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
385 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
386 let mut __guard = __cache.lock().unwrap();
387 *__guard
388 .entry(__key)
389 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
390 };
391 unsafe {
392 let __f: extern "C" fn(
393 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
394 ::unity::OptionalMethod,
395 )
396 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> =
397 ::core::mem::transmute(__inflated.method_ptr);
398 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
399 __f(::core::convert::Into::into(location), ::core::option::Option::Some(__mi_opaque))
400 }
401 }
402
403 pub fn load_asset_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
404 key: impl ::core::convert::Into<crate::system::object::Object>,
405 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> {
406 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
407 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAsset", 1));
408 #[allow(clippy::type_complexity)]
409 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
410 ::std::sync::OnceLock::new();
411 let _ = true;
412 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
413 ::core::result::Result::Ok(mi) => *mi,
414 ::core::result::Result::Err(e) => {
415 panic!(
416 "method lookup failed: {}
417::{}
418: {}
419",
420 <Addressables as ::unity::ClassIdentity>::NAME,
421 "LoadAsset",
422 e
423 )
424 },
425 };
426 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
427 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
428 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
429 let mut __guard = __cache.lock().unwrap();
430 *__guard
431 .entry(__key)
432 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
433 };
434 unsafe {
435 let __f: extern "C" fn(
436 crate::system::object::Object,
437 ::unity::OptionalMethod,
438 )
439 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> =
440 ::core::mem::transmute(__inflated.method_ptr);
441 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
442 __f(::core::convert::Into::into(key), ::core::option::Option::Some(__mi_opaque))
443 }
444 }
445
446 pub fn load_asset_async<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
447 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
448 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> {
449 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
450 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetAsync", 1)
451 });
452 #[allow(clippy::type_complexity)]
453 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
454 ::std::sync::OnceLock::new();
455 let _ = true;
456 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
457 ::core::result::Result::Ok(mi) => *mi,
458 ::core::result::Result::Err(e) => {
459 panic!(
460 "method lookup failed: {}
461::{}
462: {}
463",
464 <Addressables as ::unity::ClassIdentity>::NAME,
465 "LoadAssetAsync",
466 e
467 )
468 },
469 };
470 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
471 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
472 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
473 let mut __guard = __cache.lock().unwrap();
474 *__guard
475 .entry(__key)
476 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
477 };
478 unsafe {
479 let __f: extern "C" fn(
480 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
481 ::unity::OptionalMethod,
482 )
483 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> =
484 ::core::mem::transmute(__inflated.method_ptr);
485 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
486 __f(::core::convert::Into::into(location), ::core::option::Option::Some(__mi_opaque))
487 }
488 }
489
490 pub fn load_asset_async_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
491 key: impl ::core::convert::Into<crate::system::object::Object>,
492 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> {
493 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
494 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetAsync", 1)
495 });
496 #[allow(clippy::type_complexity)]
497 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
498 ::std::sync::OnceLock::new();
499 let _ = true;
500 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
501 ::core::result::Result::Ok(mi) => *mi,
502 ::core::result::Result::Err(e) => {
503 panic!(
504 "method lookup failed: {}
505::{}
506: {}
507",
508 <Addressables as ::unity::ClassIdentity>::NAME,
509 "LoadAssetAsync",
510 e
511 )
512 },
513 };
514 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
515 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
516 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
517 let mut __guard = __cache.lock().unwrap();
518 *__guard
519 .entry(__key)
520 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
521 };
522 unsafe {
523 let __f: extern "C" fn(
524 crate::system::object::Object,
525 ::unity::OptionalMethod,
526 )
527 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0> =
528 ::core::mem::transmute(__inflated.method_ptr);
529 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
530 __f(::core::convert::Into::into(key), ::core::option::Option::Some(__mi_opaque))
531 }
532 }
533
534 #[doc = "`LoadResourceLocations(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>, crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode, ::unity::SystemType)` overload"]
535 pub fn load_resource_locations(
536 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
537 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
538 r#type: impl ::core::convert::Into<::unity::SystemType>,
539 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
540 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
541 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
542 >,
543 > {
544 unsafe {
545 ::unity::il2cpp_call!((::unity::module_base()+0x2da2850usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation> > ;
546(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)::core::convert::Into::into(keys),(crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode)::core::convert::Into::into(mode),(::unity::SystemType)::core::convert::Into::into(r#type))
547 }
548 }
549
550 #[doc = "`LoadResourceLocationsAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>, crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode, ::unity::SystemType)` overload"]
551 pub fn load_resource_locations_async(
552 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
553 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
554 r#type: impl ::core::convert::Into<::unity::SystemType>,
555 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
556 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
557 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
558 >,
559 > {
560 unsafe {
561 ::unity::il2cpp_call!((::unity::module_base()+0x2da2900usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation> > ;
562(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)::core::convert::Into::into(keys),(crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode)::core::convert::Into::into(mode),(::unity::SystemType)::core::convert::Into::into(r#type))
563 }
564 }
565
566 #[doc = "`LoadResourceLocationsAsync(crate::system::collections::ienumerable::IEnumerable, crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode, ::unity::SystemType)` overload"]
567 pub fn load_resource_locations_async_2(
568 keys: impl ::core::convert::Into<crate::system::collections::ienumerable::IEnumerable>,
569 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
570 r#type: impl ::core::convert::Into<::unity::SystemType>,
571 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
572 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
573 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
574 >,
575 > {
576 unsafe {
577 ::unity::il2cpp_call!((::unity::module_base()+0x2da2bd0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation> > ;
578(crate::system::collections::ienumerable::IEnumerable)::core::convert::Into::into(keys),(crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode)::core::convert::Into::into(mode),(::unity::SystemType)::core::convert::Into::into(r#type))
579 }
580 }
581
582 #[doc = "`LoadResourceLocations(crate::system::object::Object, ::unity::SystemType)` overload"]
583 pub fn load_resource_locations_2(
584 key: impl ::core::convert::Into<crate::system::object::Object>,
585 r#type: impl ::core::convert::Into<::unity::SystemType>,
586 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
587 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
588 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
589 >,
590 > {
591 unsafe {
592 ::unity::il2cpp_call!((::unity::module_base()+0x2da2ce0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation> > ;
593(crate::system::object::Object)::core::convert::Into::into(key),(::unity::SystemType)::core::convert::Into::into(r#type))
594 }
595 }
596
597 #[doc = "`LoadResourceLocationsAsync(crate::system::object::Object, ::unity::SystemType)` overload"]
598 pub fn load_resource_locations_async_3(
599 key: impl ::core::convert::Into<crate::system::object::Object>,
600 r#type: impl ::core::convert::Into<::unity::SystemType>,
601 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
602 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
603 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
604 >,
605 > {
606 unsafe {
607 ::unity::il2cpp_call!((::unity::module_base()+0x2da2d80usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation> > ;
608(crate::system::object::Object)::core::convert::Into::into(key),(::unity::SystemType)::core::convert::Into::into(r#type))
609 }
610 }
611
612 pub fn load_assets<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
613 locations: impl ::core::convert::Into<
614 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
615 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
616 >,
617 >,
618 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
619 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
620 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
621 > {
622 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
623 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssets", 2));
624 #[allow(clippy::type_complexity)]
625 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
626 ::std::sync::OnceLock::new();
627 let _ = true;
628 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
629 ::core::result::Result::Ok(mi) => *mi,
630 ::core::result::Result::Err(e) => {
631 panic!(
632 "method lookup failed: {}
633::{}
634: {}
635",
636 <Addressables as ::unity::ClassIdentity>::NAME,
637 "LoadAssets",
638 e
639 )
640 },
641 };
642 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
643 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
644 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
645 let mut __guard = __cache.lock().unwrap();
646 *__guard
647 .entry(__key)
648 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
649 };
650 unsafe {
651 let __f: extern "C" fn(
652 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
653 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
654 >,
655 crate::system::action_1::Action_1<M0>,
656 ::unity::OptionalMethod,
657 )
658 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
659 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
660 > = ::core::mem::transmute(__inflated.method_ptr);
661 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
662 __f(
663 ::core::convert::Into::into(locations),
664 ::core::convert::Into::into(callback),
665 ::core::option::Option::Some(__mi_opaque),
666 )
667 }
668 }
669
670 pub fn load_assets_async<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
671 locations: impl ::core::convert::Into<
672 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
673 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
674 >,
675 >,
676 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
677 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
678 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
679 > {
680 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
681 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 2)
682 });
683 #[allow(clippy::type_complexity)]
684 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
685 ::std::sync::OnceLock::new();
686 let _ = true;
687 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
688 ::core::result::Result::Ok(mi) => *mi,
689 ::core::result::Result::Err(e) => {
690 panic!(
691 "method lookup failed: {}
692::{}
693: {}
694",
695 <Addressables as ::unity::ClassIdentity>::NAME,
696 "LoadAssetsAsync",
697 e
698 )
699 },
700 };
701 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
702 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
703 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
704 let mut __guard = __cache.lock().unwrap();
705 *__guard
706 .entry(__key)
707 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
708 };
709 unsafe {
710 let __f: extern "C" fn(
711 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
712 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
713 >,
714 crate::system::action_1::Action_1<M0>,
715 ::unity::OptionalMethod,
716 )
717 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
718 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
719 > = ::core::mem::transmute(__inflated.method_ptr);
720 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
721 __f(
722 ::core::convert::Into::into(locations),
723 ::core::convert::Into::into(callback),
724 ::core::option::Option::Some(__mi_opaque),
725 )
726 }
727 }
728
729 pub fn load_assets_async_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
730 locations: impl ::core::convert::Into<
731 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
732 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
733 >,
734 >,
735 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
736 release_dependencies_on_failure: impl ::core::convert::Into<bool>,
737 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
738 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
739 > {
740 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
741 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 3)
742 });
743 #[allow(clippy::type_complexity)]
744 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
745 ::std::sync::OnceLock::new();
746 let _ = true;
747 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
748 ::core::result::Result::Ok(mi) => *mi,
749 ::core::result::Result::Err(e) => {
750 panic!(
751 "method lookup failed: {}
752::{}
753: {}
754",
755 <Addressables as ::unity::ClassIdentity>::NAME,
756 "LoadAssetsAsync",
757 e
758 )
759 },
760 };
761 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
762 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
763 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
764 let mut __guard = __cache.lock().unwrap();
765 *__guard
766 .entry(__key)
767 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
768 };
769 unsafe {
770 let __f: extern "C" fn(
771 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
772 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
773 >,
774 crate::system::action_1::Action_1<M0>,
775 bool,
776 ::unity::OptionalMethod,
777 )
778 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
779 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
780 > = ::core::mem::transmute(__inflated.method_ptr);
781 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
782 __f(
783 ::core::convert::Into::into(locations),
784 ::core::convert::Into::into(callback),
785 ::core::convert::Into::into(release_dependencies_on_failure),
786 ::core::option::Option::Some(__mi_opaque),
787 )
788 }
789 }
790
791 pub fn load_assets_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
792 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
793 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
794 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
795 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
796 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
797 > {
798 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
799 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssets", 3));
800 #[allow(clippy::type_complexity)]
801 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
802 ::std::sync::OnceLock::new();
803 let _ = true;
804 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
805 ::core::result::Result::Ok(mi) => *mi,
806 ::core::result::Result::Err(e) => {
807 panic!(
808 "method lookup failed: {}
809::{}
810: {}
811",
812 <Addressables as ::unity::ClassIdentity>::NAME,
813 "LoadAssets",
814 e
815 )
816 },
817 };
818 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
819 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
820 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
821 let mut __guard = __cache.lock().unwrap();
822 *__guard
823 .entry(__key)
824 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
825 };
826 unsafe {
827 let __f: extern "C" fn(
828 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>,
829 crate::system::action_1::Action_1<M0>,
830 crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode,
831 ::unity::OptionalMethod,
832 )
833 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
834 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
835 > = ::core::mem::transmute(__inflated.method_ptr);
836 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
837 __f(
838 ::core::convert::Into::into(keys),
839 ::core::convert::Into::into(callback),
840 ::core::convert::Into::into(mode),
841 ::core::option::Option::Some(__mi_opaque),
842 )
843 }
844 }
845
846 pub fn load_assets_async_3<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
847 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
848 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
849 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
850 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
851 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
852 > {
853 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
854 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 3)
855 });
856 #[allow(clippy::type_complexity)]
857 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
858 ::std::sync::OnceLock::new();
859 let _ = true;
860 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
861 ::core::result::Result::Ok(mi) => *mi,
862 ::core::result::Result::Err(e) => {
863 panic!(
864 "method lookup failed: {}
865::{}
866: {}
867",
868 <Addressables as ::unity::ClassIdentity>::NAME,
869 "LoadAssetsAsync",
870 e
871 )
872 },
873 };
874 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
875 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
876 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
877 let mut __guard = __cache.lock().unwrap();
878 *__guard
879 .entry(__key)
880 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
881 };
882 unsafe {
883 let __f: extern "C" fn(
884 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>,
885 crate::system::action_1::Action_1<M0>,
886 crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode,
887 ::unity::OptionalMethod,
888 )
889 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
890 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
891 > = ::core::mem::transmute(__inflated.method_ptr);
892 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
893 __f(
894 ::core::convert::Into::into(keys),
895 ::core::convert::Into::into(callback),
896 ::core::convert::Into::into(mode),
897 ::core::option::Option::Some(__mi_opaque),
898 )
899 }
900 }
901
902 pub fn load_assets_async_4<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
903 keys: impl ::core::convert::Into<crate::system::collections::ienumerable::IEnumerable>,
904 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
905 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
906 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
907 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
908 > {
909 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
910 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 3)
911 });
912 #[allow(clippy::type_complexity)]
913 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
914 ::std::sync::OnceLock::new();
915 let _ = true;
916 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
917 ::core::result::Result::Ok(mi) => *mi,
918 ::core::result::Result::Err(e) => {
919 panic!(
920 "method lookup failed: {}
921::{}
922: {}
923",
924 <Addressables as ::unity::ClassIdentity>::NAME,
925 "LoadAssetsAsync",
926 e
927 )
928 },
929 };
930 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
931 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
932 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
933 let mut __guard = __cache.lock().unwrap();
934 *__guard
935 .entry(__key)
936 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
937 };
938 unsafe {
939 let __f: extern "C" fn(
940 crate::system::collections::ienumerable::IEnumerable,
941 crate::system::action_1::Action_1<M0>,
942 crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode,
943 ::unity::OptionalMethod,
944 )
945 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
946 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
947 > = ::core::mem::transmute(__inflated.method_ptr);
948 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
949 __f(
950 ::core::convert::Into::into(keys),
951 ::core::convert::Into::into(callback),
952 ::core::convert::Into::into(mode),
953 ::core::option::Option::Some(__mi_opaque),
954 )
955 }
956 }
957
958 pub fn load_assets_async_5<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
959 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
960 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
961 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
962 release_dependencies_on_failure: impl ::core::convert::Into<bool>,
963 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
964 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
965 > {
966 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
967 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 4)
968 });
969 #[allow(clippy::type_complexity)]
970 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
971 ::std::sync::OnceLock::new();
972 let _ = true;
973 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
974 ::core::result::Result::Ok(mi) => *mi,
975 ::core::result::Result::Err(e) => {
976 panic!(
977 "method lookup failed: {}
978::{}
979: {}
980",
981 <Addressables as ::unity::ClassIdentity>::NAME,
982 "LoadAssetsAsync",
983 e
984 )
985 },
986 };
987 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
988 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
989 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
990 let mut __guard = __cache.lock().unwrap();
991 *__guard
992 .entry(__key)
993 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
994 };
995 unsafe {
996 let __f: extern "C" fn(
997 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>,
998 crate::system::action_1::Action_1<M0>,
999 crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode,
1000 bool,
1001 ::unity::OptionalMethod,
1002 )
1003 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1004 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1005 > = ::core::mem::transmute(__inflated.method_ptr);
1006 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1007 __f(
1008 ::core::convert::Into::into(keys),
1009 ::core::convert::Into::into(callback),
1010 ::core::convert::Into::into(mode),
1011 ::core::convert::Into::into(release_dependencies_on_failure),
1012 ::core::option::Option::Some(__mi_opaque),
1013 )
1014 }
1015 }
1016
1017 pub fn load_assets_async_6<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1018 keys: impl ::core::convert::Into<crate::system::collections::ienumerable::IEnumerable>,
1019 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
1020 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
1021 release_dependencies_on_failure: impl ::core::convert::Into<bool>,
1022 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1023 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1024 > {
1025 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
1026 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 4)
1027 });
1028 #[allow(clippy::type_complexity)]
1029 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1030 ::std::sync::OnceLock::new();
1031 let _ = true;
1032 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1033 ::core::result::Result::Ok(mi) => *mi,
1034 ::core::result::Result::Err(e) => {
1035 panic!(
1036 "method lookup failed: {}
1037::{}
1038: {}
1039",
1040 <Addressables as ::unity::ClassIdentity>::NAME,
1041 "LoadAssetsAsync",
1042 e
1043 )
1044 },
1045 };
1046 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1047 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1048 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1049 let mut __guard = __cache.lock().unwrap();
1050 *__guard
1051 .entry(__key)
1052 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1053 };
1054 unsafe {
1055 let __f: extern "C" fn(
1056 crate::system::collections::ienumerable::IEnumerable,
1057 crate::system::action_1::Action_1<M0>,
1058 crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode,
1059 bool,
1060 ::unity::OptionalMethod,
1061 )
1062 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1063 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1064 > = ::core::mem::transmute(__inflated.method_ptr);
1065 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1066 __f(
1067 ::core::convert::Into::into(keys),
1068 ::core::convert::Into::into(callback),
1069 ::core::convert::Into::into(mode),
1070 ::core::convert::Into::into(release_dependencies_on_failure),
1071 ::core::option::Option::Some(__mi_opaque),
1072 )
1073 }
1074 }
1075
1076 pub fn load_assets_3<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1077 key: impl ::core::convert::Into<crate::system::object::Object>,
1078 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
1079 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1080 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1081 > {
1082 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
1083 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssets", 2));
1084 #[allow(clippy::type_complexity)]
1085 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1086 ::std::sync::OnceLock::new();
1087 let _ = true;
1088 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1089 ::core::result::Result::Ok(mi) => *mi,
1090 ::core::result::Result::Err(e) => {
1091 panic!(
1092 "method lookup failed: {}
1093::{}
1094: {}
1095",
1096 <Addressables as ::unity::ClassIdentity>::NAME,
1097 "LoadAssets",
1098 e
1099 )
1100 },
1101 };
1102 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1103 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1104 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1105 let mut __guard = __cache.lock().unwrap();
1106 *__guard
1107 .entry(__key)
1108 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1109 };
1110 unsafe {
1111 let __f: extern "C" fn(
1112 crate::system::object::Object,
1113 crate::system::action_1::Action_1<M0>,
1114 ::unity::OptionalMethod,
1115 )
1116 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1117 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1118 > = ::core::mem::transmute(__inflated.method_ptr);
1119 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1120 __f(
1121 ::core::convert::Into::into(key),
1122 ::core::convert::Into::into(callback),
1123 ::core::option::Option::Some(__mi_opaque),
1124 )
1125 }
1126 }
1127
1128 pub fn load_assets_async_7<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1129 key: impl ::core::convert::Into<crate::system::object::Object>,
1130 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
1131 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1132 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1133 > {
1134 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
1135 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 2)
1136 });
1137 #[allow(clippy::type_complexity)]
1138 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1139 ::std::sync::OnceLock::new();
1140 let _ = true;
1141 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1142 ::core::result::Result::Ok(mi) => *mi,
1143 ::core::result::Result::Err(e) => {
1144 panic!(
1145 "method lookup failed: {}
1146::{}
1147: {}
1148",
1149 <Addressables as ::unity::ClassIdentity>::NAME,
1150 "LoadAssetsAsync",
1151 e
1152 )
1153 },
1154 };
1155 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1156 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1157 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1158 let mut __guard = __cache.lock().unwrap();
1159 *__guard
1160 .entry(__key)
1161 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1162 };
1163 unsafe {
1164 let __f: extern "C" fn(
1165 crate::system::object::Object,
1166 crate::system::action_1::Action_1<M0>,
1167 ::unity::OptionalMethod,
1168 )
1169 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1170 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1171 > = ::core::mem::transmute(__inflated.method_ptr);
1172 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1173 __f(
1174 ::core::convert::Into::into(key),
1175 ::core::convert::Into::into(callback),
1176 ::core::option::Option::Some(__mi_opaque),
1177 )
1178 }
1179 }
1180
1181 pub fn load_assets_async_8<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1182 key: impl ::core::convert::Into<crate::system::object::Object>,
1183 callback: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
1184 release_dependencies_on_failure: impl ::core::convert::Into<bool>,
1185 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1186 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1187 > {
1188 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
1189 ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "LoadAssetsAsync", 3)
1190 });
1191 #[allow(clippy::type_complexity)]
1192 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1193 ::std::sync::OnceLock::new();
1194 let _ = true;
1195 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1196 ::core::result::Result::Ok(mi) => *mi,
1197 ::core::result::Result::Err(e) => {
1198 panic!(
1199 "method lookup failed: {}
1200::{}
1201: {}
1202",
1203 <Addressables as ::unity::ClassIdentity>::NAME,
1204 "LoadAssetsAsync",
1205 e
1206 )
1207 },
1208 };
1209 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1210 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1211 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1212 let mut __guard = __cache.lock().unwrap();
1213 *__guard
1214 .entry(__key)
1215 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1216 };
1217 unsafe {
1218 let __f: extern "C" fn(
1219 crate::system::object::Object,
1220 crate::system::action_1::Action_1<M0>,
1221 bool,
1222 ::unity::OptionalMethod,
1223 )
1224 -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1225 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<M0>,
1226 > = ::core::mem::transmute(__inflated.method_ptr);
1227 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1228 __f(
1229 ::core::convert::Into::into(key),
1230 ::core::convert::Into::into(callback),
1231 ::core::convert::Into::into(release_dependencies_on_failure),
1232 ::core::option::Option::Some(__mi_opaque),
1233 )
1234 }
1235 }
1236
1237 pub fn release<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(obj: impl ::core::convert::Into<M0>) -> () {
1238 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
1239 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "Release", 1));
1240 #[allow(clippy::type_complexity)]
1241 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1242 ::std::sync::OnceLock::new();
1243 let _ = true;
1244 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1245 ::core::result::Result::Ok(mi) => *mi,
1246 ::core::result::Result::Err(e) => {
1247 panic!(
1248 "method lookup failed: {}
1249::{}
1250: {}
1251",
1252 <Addressables as ::unity::ClassIdentity>::NAME,
1253 "Release",
1254 e
1255 )
1256 },
1257 };
1258 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1259 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1260 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1261 let mut __guard = __cache.lock().unwrap();
1262 *__guard
1263 .entry(__key)
1264 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1265 };
1266 unsafe {
1267 let __f: extern "C" fn(M0, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__inflated.method_ptr);
1268 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1269 __f(::core::convert::Into::into(obj), ::core::option::Option::Some(__mi_opaque))
1270 }
1271 }
1272
1273 pub fn release_2<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
1274 handle: impl ::core::convert::Into<crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0>>,
1275 ) -> () {
1276 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
1277 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Addressables as ::unity::ClassIdentity>::class(), "Release", 1));
1278 #[allow(clippy::type_complexity)]
1279 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
1280 ::std::sync::OnceLock::new();
1281 let _ = true;
1282 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
1283 ::core::result::Result::Ok(mi) => *mi,
1284 ::core::result::Result::Err(e) => {
1285 panic!(
1286 "method lookup failed: {}
1287::{}
1288: {}
1289",
1290 <Addressables as ::unity::ClassIdentity>::NAME,
1291 "Release",
1292 e
1293 )
1294 },
1295 };
1296 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
1297 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
1298 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
1299 let mut __guard = __cache.lock().unwrap();
1300 *__guard
1301 .entry(__key)
1302 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
1303 };
1304 unsafe {
1305 let __f: extern "C" fn(
1306 crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<M0>,
1307 ::unity::OptionalMethod,
1308 ) -> () = ::core::mem::transmute(__inflated.method_ptr);
1309 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
1310 __f(::core::convert::Into::into(handle), ::core::option::Option::Some(__mi_opaque))
1311 }
1312 }
1313
1314 #[doc = "`Release(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle)` overload"]
1315 pub fn release_3(
1316 handle: impl ::core::convert::Into<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>,
1317 ) -> () {
1318 unsafe {
1319 ::unity::il2cpp_call!((::unity::module_base()+0x2da3040usize)as*mut u8,();
1320(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle)::core::convert::Into::into(handle))
1321 }
1322 }
1323
1324 #[doc = "`ReleaseInstance(crate::unity_engine::gameobject::GameObject)` overload"]
1325 pub fn release_instance(instance: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> bool {
1326 unsafe {
1327 ::unity::il2cpp_call!((::unity::module_base()+0x2da3180usize)as*mut u8,bool;
1328(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(instance))
1329 }
1330 }
1331
1332 #[doc = "`ReleaseInstance(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle)` overload"]
1333 pub fn release_instance_2(
1334 handle: impl ::core::convert::Into<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>,
1335 ) -> bool {
1336 unsafe {
1337 ::unity::il2cpp_call!((::unity::module_base()+0x2da33a0usize)as*mut u8,bool;
1338(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle)::core::convert::Into::into(handle))
1339 }
1340 }
1341
1342 #[doc = "`ReleaseInstance(crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject>)` overload"]
1343 pub fn release_instance_3(
1344 handle: impl ::core::convert::Into<
1345 crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1346 crate::unity_engine::gameobject::GameObject,
1347 >,
1348 >,
1349 ) -> bool {
1350 unsafe {
1351 ::unity::il2cpp_call!((::unity::module_base()+0x2da34a0usize)as*mut u8,bool;
1352(crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject>)::core::convert::Into::into(handle))
1353 }
1354 }
1355
1356 #[doc = "`GetDownloadSize(crate::system::object::Object)` overload"]
1357 pub fn get_download_size(
1358 key: impl ::core::convert::Into<crate::system::object::Object>,
1359 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> {
1360 unsafe {
1361 ::unity::il2cpp_call!((::unity::module_base()+0x2da35b0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> ;
1362(crate::system::object::Object)::core::convert::Into::into(key))
1363 }
1364 }
1365
1366 #[doc = "`GetDownloadSizeAsync(crate::system::object::Object)` overload"]
1367 pub fn get_download_size_async(
1368 key: impl ::core::convert::Into<crate::system::object::Object>,
1369 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> {
1370 unsafe {
1371 ::unity::il2cpp_call!((::unity::module_base()+0x2da3640usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> ;
1372(crate::system::object::Object)::core::convert::Into::into(key))
1373 }
1374 }
1375
1376 #[doc = "`GetDownloadSizeAsync(::unity::Il2CppString)` overload"]
1377 pub fn get_download_size_async_2(
1378 key: impl ::core::convert::Into<::unity::Il2CppString>,
1379 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> {
1380 unsafe {
1381 ::unity::il2cpp_call!((::unity::module_base()+0x2da3820usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> ;
1382(::unity::Il2CppString)::core::convert::Into::into(key))
1383 }
1384 }
1385
1386 #[doc = "`GetDownloadSizeAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)` overload"]
1387 pub fn get_download_size_async_3(
1388 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
1389 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> {
1390 unsafe {
1391 ::unity::il2cpp_call!((::unity::module_base()+0x2da3920usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> ;
1392(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)::core::convert::Into::into(keys))
1393 }
1394 }
1395
1396 #[doc = "`GetDownloadSizeAsync(crate::system::collections::ienumerable::IEnumerable)` overload"]
1397 pub fn get_download_size_async_4(
1398 keys: impl ::core::convert::Into<crate::system::collections::ienumerable::IEnumerable>,
1399 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> {
1400 unsafe {
1401 ::unity::il2cpp_call!((::unity::module_base()+0x2da46e0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<i64> ;
1402(crate::system::collections::ienumerable::IEnumerable)::core::convert::Into::into(keys))
1403 }
1404 }
1405
1406 #[doc = "`DownloadDependencies(crate::system::object::Object)` overload"]
1407 pub fn download_dependencies(
1408 key: impl ::core::convert::Into<crate::system::object::Object>,
1409 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle {
1410 unsafe {
1411 ::unity::il2cpp_call!((::unity::module_base()+0x2da47e0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle;
1412(crate::system::object::Object)::core::convert::Into::into(key))
1413 }
1414 }
1415
1416 #[doc = "`DownloadDependenciesAsync(crate::system::object::Object, bool)` overload"]
1417 pub fn download_dependencies_async(
1418 key: impl ::core::convert::Into<crate::system::object::Object>,
1419 auto_release_handle: impl ::core::convert::Into<bool>,
1420 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle {
1421 unsafe {
1422 ::unity::il2cpp_call!((::unity::module_base()+0x2da4870usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle;
1423(crate::system::object::Object)::core::convert::Into::into(key),(bool)::core::convert::Into::into(auto_release_handle))
1424 }
1425 }
1426
1427 #[doc = "`DownloadDependenciesAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>, bool)` overload"]
1428 pub fn download_dependencies_async_2(
1429 locations: impl ::core::convert::Into<
1430 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
1431 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
1432 >,
1433 >,
1434 auto_release_handle: impl ::core::convert::Into<bool>,
1435 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle {
1436 unsafe {
1437 ::unity::il2cpp_call!((::unity::module_base()+0x2da4d10usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle;
1438(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>)::core::convert::Into::into(locations),(bool)::core::convert::Into::into(auto_release_handle))
1439 }
1440 }
1441
1442 #[doc = "`DownloadDependenciesAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>, crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode, bool)` overload"]
1443 pub fn download_dependencies_async_3(
1444 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
1445 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
1446 auto_release_handle: impl ::core::convert::Into<bool>,
1447 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle {
1448 unsafe {
1449 ::unity::il2cpp_call!((::unity::module_base()+0x2da4fc0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle;
1450(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)::core::convert::Into::into(keys),(crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(auto_release_handle))
1451 }
1452 }
1453
1454 #[doc = "`DownloadDependenciesAsync(crate::system::collections::ienumerable::IEnumerable, crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode, bool)` overload"]
1455 pub fn download_dependencies_async_4(
1456 keys: impl ::core::convert::Into<crate::system::collections::ienumerable::IEnumerable>,
1457 mode: impl ::core::convert::Into<crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode>,
1458 auto_release_handle: impl ::core::convert::Into<bool>,
1459 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle {
1460 unsafe {
1461 ::unity::il2cpp_call!((::unity::module_base()+0x2da5470usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle;
1462(crate::system::collections::ienumerable::IEnumerable)::core::convert::Into::into(keys),(crate::unity_engine::addressable_assets::addressables::Addressables_MergeMode)::core::convert::Into::into(mode),(bool)::core::convert::Into::into(auto_release_handle))
1463 }
1464 }
1465
1466 #[doc = "`ClearDependencyCacheAsync(crate::system::object::Object)` overload"]
1467 pub fn clear_dependency_cache_async(key: impl ::core::convert::Into<crate::system::object::Object>) -> () {
1468 unsafe {
1469 ::unity::il2cpp_call!((::unity::module_base()+0x2da5580usize)as*mut u8,();
1470(crate::system::object::Object)::core::convert::Into::into(key))
1471 }
1472 }
1473
1474 #[doc = "`ClearDependencyCacheAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>)` overload"]
1475 pub fn clear_dependency_cache_async_2(
1476 locations: impl ::core::convert::Into<
1477 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
1478 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
1479 >,
1480 >,
1481 ) -> () {
1482 unsafe {
1483 ::unity::il2cpp_call!((::unity::module_base()+0x2da5a00usize)as*mut u8,();
1484(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>)::core::convert::Into::into(locations))
1485 }
1486 }
1487
1488 #[doc = "`ClearDependencyCacheAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)` overload"]
1489 pub fn clear_dependency_cache_async_3(
1490 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
1491 ) -> () {
1492 unsafe {
1493 ::unity::il2cpp_call!((::unity::module_base()+0x2da60c0usize)as*mut u8,();
1494(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)::core::convert::Into::into(keys))
1495 }
1496 }
1497
1498 #[doc = "`ClearDependencyCacheAsync(crate::system::collections::ienumerable::IEnumerable)` overload"]
1499 pub fn clear_dependency_cache_async_4(keys: impl ::core::convert::Into<crate::system::collections::ienumerable::IEnumerable>) -> () {
1500 unsafe {
1501 ::unity::il2cpp_call!((::unity::module_base()+0x2da6770usize)as*mut u8,();
1502(crate::system::collections::ienumerable::IEnumerable)::core::convert::Into::into(keys))
1503 }
1504 }
1505
1506 #[doc = "`ClearDependencyCacheAsync(::unity::Il2CppString)` overload"]
1507 pub fn clear_dependency_cache_async_5(key: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1508 unsafe {
1509 ::unity::il2cpp_call!((::unity::module_base()+0x2da6860usize)as*mut u8,();
1510(::unity::Il2CppString)::core::convert::Into::into(key))
1511 }
1512 }
1513
1514 #[doc = "`ClearDependencyCacheAsync(crate::system::object::Object, bool)` overload"]
1515 pub fn clear_dependency_cache_async_6(
1516 key: impl ::core::convert::Into<crate::system::object::Object>,
1517 auto_release_handle: impl ::core::convert::Into<bool>,
1518 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> {
1519 unsafe {
1520 ::unity::il2cpp_call!((::unity::module_base()+0x2da6950usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> ;
1521(crate::system::object::Object)::core::convert::Into::into(key),(bool)::core::convert::Into::into(auto_release_handle))
1522 }
1523 }
1524
1525 #[doc = "`ClearDependencyCacheAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>, bool)` overload"]
1526 pub fn clear_dependency_cache_async_7(
1527 locations: impl ::core::convert::Into<
1528 crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
1529 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
1530 >,
1531 >,
1532 auto_release_handle: impl ::core::convert::Into<bool>,
1533 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> {
1534 unsafe {
1535 ::unity::il2cpp_call!((::unity::module_base()+0x2da6a60usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> ;
1536(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>)::core::convert::Into::into(locations),(bool)::core::convert::Into::into(auto_release_handle))
1537 }
1538 }
1539
1540 #[doc = "`ClearDependencyCacheAsync(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>, bool)` overload"]
1541 pub fn clear_dependency_cache_async_8(
1542 keys: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
1543 auto_release_handle: impl ::core::convert::Into<bool>,
1544 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> {
1545 unsafe {
1546 ::unity::il2cpp_call!((::unity::module_base()+0x2da6b70usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> ;
1547(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)::core::convert::Into::into(keys),(bool)::core::convert::Into::into(auto_release_handle))
1548 }
1549 }
1550
1551 #[doc = "`ClearDependencyCacheAsync(crate::system::collections::ienumerable::IEnumerable, bool)` overload"]
1552 pub fn clear_dependency_cache_async_9(
1553 keys: impl ::core::convert::Into<crate::system::collections::ienumerable::IEnumerable>,
1554 auto_release_handle: impl ::core::convert::Into<bool>,
1555 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> {
1556 unsafe {
1557 ::unity::il2cpp_call!((::unity::module_base()+0x2da6c80usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> ;
1558(crate::system::collections::ienumerable::IEnumerable)::core::convert::Into::into(keys),(bool)::core::convert::Into::into(auto_release_handle))
1559 }
1560 }
1561
1562 #[doc = "`ClearDependencyCacheAsync(::unity::Il2CppString, bool)` overload"]
1563 pub fn clear_dependency_cache_async_10(
1564 key: impl ::core::convert::Into<::unity::Il2CppString>,
1565 auto_release_handle: impl ::core::convert::Into<bool>,
1566 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> {
1567 unsafe {
1568 ::unity::il2cpp_call!((::unity::module_base()+0x2da6d90usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<bool> ;
1569(::unity::Il2CppString)::core::convert::Into::into(key),(bool)::core::convert::Into::into(auto_release_handle))
1570 }
1571 }
1572
1573 #[doc = "`Instantiate(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::transform::Transform, bool, bool)` overload"]
1574 pub fn instantiate(
1575 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1576 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1577 instantiate_in_world_space: impl ::core::convert::Into<bool>,
1578 track_handle: impl ::core::convert::Into<bool>,
1579 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1580 crate::unity_engine::gameobject::GameObject,
1581 > {
1582 unsafe {
1583 ::unity::il2cpp_call!((::unity::module_base()+0x2da6ea0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1584(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(instantiate_in_world_space),(bool)::core::convert::Into::into(track_handle))
1585 }
1586 }
1587
1588 #[doc = "`Instantiate(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, crate::unity_engine::transform::Transform, bool)` overload"]
1589 pub fn instantiate_2(
1590 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1591 position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
1592 rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
1593 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1594 track_handle: impl ::core::convert::Into<bool>,
1595 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1596 crate::unity_engine::gameobject::GameObject,
1597 > {
1598 unsafe {
1599 ::unity::il2cpp_call!((::unity::module_base()+0x2da70c0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1600(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(track_handle))
1601 }
1602 }
1603
1604 #[doc = "`Instantiate(crate::system::object::Object, crate::unity_engine::transform::Transform, bool, bool)` overload"]
1605 pub fn instantiate_3(
1606 key: impl ::core::convert::Into<crate::system::object::Object>,
1607 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1608 instantiate_in_world_space: impl ::core::convert::Into<bool>,
1609 track_handle: impl ::core::convert::Into<bool>,
1610 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1611 crate::unity_engine::gameobject::GameObject,
1612 > {
1613 unsafe {
1614 ::unity::il2cpp_call!((::unity::module_base()+0x2da7360usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1615(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(instantiate_in_world_space),(bool)::core::convert::Into::into(track_handle))
1616 }
1617 }
1618
1619 #[doc = "`Instantiate(crate::system::object::Object, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, crate::unity_engine::transform::Transform, bool)` overload"]
1620 pub fn instantiate_4(
1621 key: impl ::core::convert::Into<crate::system::object::Object>,
1622 position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
1623 rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
1624 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1625 track_handle: impl ::core::convert::Into<bool>,
1626 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1627 crate::unity_engine::gameobject::GameObject,
1628 > {
1629 unsafe {
1630 ::unity::il2cpp_call!((::unity::module_base()+0x2da7580usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1631(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(track_handle))
1632 }
1633 }
1634
1635 #[doc = "`Instantiate(crate::system::object::Object, crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters, bool)` overload"]
1636 pub fn instantiate_5(
1637 key: impl ::core::convert::Into<crate::system::object::Object>,
1638 instantiate_parameters: impl ::core::convert::Into<
1639 crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters,
1640 >,
1641 track_handle: impl ::core::convert::Into<bool>,
1642 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1643 crate::unity_engine::gameobject::GameObject,
1644 > {
1645 unsafe {
1646 ::unity::il2cpp_call!((::unity::module_base()+0x2da7820usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1647(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters)::core::convert::Into::into(instantiate_parameters),(bool)::core::convert::Into::into(track_handle))
1648 }
1649 }
1650
1651 #[doc = "`Instantiate(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters, bool)` overload"]
1652 pub fn instantiate_6(
1653 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1654 instantiate_parameters: impl ::core::convert::Into<
1655 crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters,
1656 >,
1657 track_handle: impl ::core::convert::Into<bool>,
1658 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1659 crate::unity_engine::gameobject::GameObject,
1660 > {
1661 unsafe {
1662 ::unity::il2cpp_call!((::unity::module_base()+0x2da7a30usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1663(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters)::core::convert::Into::into(instantiate_parameters),(bool)::core::convert::Into::into(track_handle))
1664 }
1665 }
1666
1667 #[doc = "`InstantiateAsync(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::transform::Transform, bool, bool)` overload"]
1668 pub fn instantiate_async(
1669 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1670 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1671 instantiate_in_world_space: impl ::core::convert::Into<bool>,
1672 track_handle: impl ::core::convert::Into<bool>,
1673 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1674 crate::unity_engine::gameobject::GameObject,
1675 > {
1676 unsafe {
1677 ::unity::il2cpp_call!((::unity::module_base()+0x2da7b10usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1678(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(instantiate_in_world_space),(bool)::core::convert::Into::into(track_handle))
1679 }
1680 }
1681
1682 #[doc = "`InstantiateAsync(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, crate::unity_engine::transform::Transform, bool)` overload"]
1683 pub fn instantiate_async_2(
1684 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1685 position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
1686 rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
1687 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1688 track_handle: impl ::core::convert::Into<bool>,
1689 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1690 crate::unity_engine::gameobject::GameObject,
1691 > {
1692 unsafe {
1693 ::unity::il2cpp_call!((::unity::module_base()+0x2da71c0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1694(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(track_handle))
1695 }
1696 }
1697
1698 #[doc = "`InstantiateAsync(crate::system::object::Object, crate::unity_engine::transform::Transform, bool, bool)` overload"]
1699 pub fn instantiate_async_3(
1700 key: impl ::core::convert::Into<crate::system::object::Object>,
1701 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1702 instantiate_in_world_space: impl ::core::convert::Into<bool>,
1703 track_handle: impl ::core::convert::Into<bool>,
1704 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1705 crate::unity_engine::gameobject::GameObject,
1706 > {
1707 unsafe {
1708 ::unity::il2cpp_call!((::unity::module_base()+0x2da7420usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1709(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(instantiate_in_world_space),(bool)::core::convert::Into::into(track_handle))
1710 }
1711 }
1712
1713 #[doc = "`InstantiateAsync(crate::system::object::Object, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion, crate::unity_engine::transform::Transform, bool)` overload"]
1714 pub fn instantiate_async_4(
1715 key: impl ::core::convert::Into<crate::system::object::Object>,
1716 position: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
1717 rotation: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>,
1718 parent: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
1719 track_handle: impl ::core::convert::Into<bool>,
1720 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1721 crate::unity_engine::gameobject::GameObject,
1722 > {
1723 unsafe {
1724 ::unity::il2cpp_call!((::unity::module_base()+0x2da7680usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1725(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(position),(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(rotation),(crate::unity_engine::transform::Transform)::core::convert::Into::into(parent),(bool)::core::convert::Into::into(track_handle))
1726 }
1727 }
1728
1729 #[doc = "`InstantiateAsync(crate::system::object::Object, crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters, bool)` overload"]
1730 pub fn instantiate_async_5(
1731 key: impl ::core::convert::Into<crate::system::object::Object>,
1732 instantiate_parameters: impl ::core::convert::Into<
1733 crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters,
1734 >,
1735 track_handle: impl ::core::convert::Into<bool>,
1736 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1737 crate::unity_engine::gameobject::GameObject,
1738 > {
1739 unsafe {
1740 ::unity::il2cpp_call!((::unity::module_base()+0x2da7900usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1741(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters)::core::convert::Into::into(instantiate_parameters),(bool)::core::convert::Into::into(track_handle))
1742 }
1743 }
1744
1745 #[doc = "`InstantiateAsync(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters, bool)` overload"]
1746 pub fn instantiate_async_6(
1747 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1748 instantiate_parameters: impl ::core::convert::Into<
1749 crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters,
1750 >,
1751 track_handle: impl ::core::convert::Into<bool>,
1752 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1753 crate::unity_engine::gameobject::GameObject,
1754 > {
1755 unsafe {
1756 ::unity::il2cpp_call!((::unity::module_base()+0x2da6f90usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::gameobject::GameObject> ;
1757(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::resource_management::resource_providers::instantiationparameters::InstantiationParameters)::core::convert::Into::into(instantiate_parameters),(bool)::core::convert::Into::into(track_handle))
1758 }
1759 }
1760
1761 #[doc = "`LoadScene(crate::system::object::Object, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32)` overload"]
1762 pub fn load_scene(
1763 key: impl ::core::convert::Into<crate::system::object::Object>,
1764 load_mode: impl ::core::convert::Into<crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>,
1765 activate_on_load: impl ::core::convert::Into<bool>,
1766 priority: impl ::core::convert::Into<i32>,
1767 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1768 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1769 > {
1770 unsafe {
1771 ::unity::il2cpp_call!((::unity::module_base()+0x2da8430usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1772(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::scene_management::loadscenemode::LoadSceneMode)::core::convert::Into::into(load_mode),(bool)::core::convert::Into::into(activate_on_load),(i32)::core::convert::Into::into(priority))
1773 }
1774 }
1775
1776 #[doc = "`LoadScene(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32)` overload"]
1777 pub fn load_scene_2(
1778 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1779 load_mode: impl ::core::convert::Into<crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>,
1780 activate_on_load: impl ::core::convert::Into<bool>,
1781 priority: impl ::core::convert::Into<i32>,
1782 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1783 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1784 > {
1785 unsafe {
1786 ::unity::il2cpp_call!((::unity::module_base()+0x2da8610usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1787(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::scene_management::loadscenemode::LoadSceneMode)::core::convert::Into::into(load_mode),(bool)::core::convert::Into::into(activate_on_load),(i32)::core::convert::Into::into(priority))
1788 }
1789 }
1790
1791 #[doc = "`LoadSceneAsync(crate::system::object::Object, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32)` overload"]
1792 pub fn load_scene_async(
1793 key: impl ::core::convert::Into<crate::system::object::Object>,
1794 load_mode: impl ::core::convert::Into<crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>,
1795 activate_on_load: impl ::core::convert::Into<bool>,
1796 priority: impl ::core::convert::Into<i32>,
1797 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1798 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1799 > {
1800 unsafe {
1801 ::unity::il2cpp_call!((::unity::module_base()+0x2da84f0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1802(crate::system::object::Object)::core::convert::Into::into(key),(crate::unity_engine::scene_management::loadscenemode::LoadSceneMode)::core::convert::Into::into(load_mode),(bool)::core::convert::Into::into(activate_on_load),(i32)::core::convert::Into::into(priority))
1803 }
1804 }
1805
1806 #[doc = "`LoadSceneAsync(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32)` overload"]
1807 pub fn load_scene_async_2(
1808 location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
1809 load_mode: impl ::core::convert::Into<crate::unity_engine::scene_management::loadscenemode::LoadSceneMode>,
1810 activate_on_load: impl ::core::convert::Into<bool>,
1811 priority: impl ::core::convert::Into<i32>,
1812 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1813 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1814 > {
1815 unsafe {
1816 ::unity::il2cpp_call!((::unity::module_base()+0x2da86d0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1817(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(location),(crate::unity_engine::scene_management::loadscenemode::LoadSceneMode)::core::convert::Into::into(load_mode),(bool)::core::convert::Into::into(activate_on_load),(i32)::core::convert::Into::into(priority))
1818 }
1819 }
1820
1821 #[doc = "`UnloadScene(crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance, bool)` overload"]
1822 pub fn unload_scene(
1823 scene: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>,
1824 auto_release_handle: impl ::core::convert::Into<bool>,
1825 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1826 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1827 > {
1828 unsafe {
1829 ::unity::il2cpp_call!((::unity::module_base()+0x2da8c30usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1830(crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance)::core::convert::Into::into(scene),(bool)::core::convert::Into::into(auto_release_handle))
1831 }
1832 }
1833
1834 #[doc = "`UnloadScene(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle, bool)` overload"]
1835 pub fn unload_scene_2(
1836 handle: impl ::core::convert::Into<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>,
1837 auto_release_handle: impl ::core::convert::Into<bool>,
1838 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1839 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1840 > {
1841 unsafe {
1842 ::unity::il2cpp_call!((::unity::module_base()+0x2da8df0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1843(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle)::core::convert::Into::into(handle),(bool)::core::convert::Into::into(auto_release_handle))
1844 }
1845 }
1846
1847 #[doc = "`UnloadScene(crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>, bool)` overload"]
1848 pub fn unload_scene_3(
1849 handle: impl ::core::convert::Into<
1850 crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1851 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1852 >,
1853 >,
1854 auto_release_handle: impl ::core::convert::Into<bool>,
1855 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1856 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1857 > {
1858 unsafe {
1859 ::unity::il2cpp_call!((::unity::module_base()+0x2da8fd0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1860(crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>)::core::convert::Into::into(handle),(bool)::core::convert::Into::into(auto_release_handle))
1861 }
1862 }
1863
1864 #[doc = "`UnloadSceneAsync(crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance, bool)` overload"]
1865 pub fn unload_scene_async(
1866 scene: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>,
1867 auto_release_handle: impl ::core::convert::Into<bool>,
1868 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1869 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1870 > {
1871 unsafe {
1872 ::unity::il2cpp_call!((::unity::module_base()+0x2da8ce0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1873(crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance)::core::convert::Into::into(scene),(bool)::core::convert::Into::into(auto_release_handle))
1874 }
1875 }
1876
1877 #[doc = "`UnloadSceneAsync(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle, bool)` overload"]
1878 pub fn unload_scene_async_2(
1879 handle: impl ::core::convert::Into<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>,
1880 auto_release_handle: impl ::core::convert::Into<bool>,
1881 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1882 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1883 > {
1884 unsafe {
1885 ::unity::il2cpp_call!((::unity::module_base()+0x2da8eb0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1886(crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle)::core::convert::Into::into(handle),(bool)::core::convert::Into::into(auto_release_handle))
1887 }
1888 }
1889
1890 #[doc = "`UnloadSceneAsync(crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>, bool)` overload"]
1891 pub fn unload_scene_async_3(
1892 handle: impl ::core::convert::Into<
1893 crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1894 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1895 >,
1896 >,
1897 auto_release_handle: impl ::core::convert::Into<bool>,
1898 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1899 crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance,
1900 > {
1901 unsafe {
1902 ::unity::il2cpp_call!((::unity::module_base()+0x2da9090usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance> ;
1903(crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::unity_engine::resource_management::resource_providers::sceneinstance::SceneInstance>)::core::convert::Into::into(handle),(bool)::core::convert::Into::into(auto_release_handle))
1904 }
1905 }
1906
1907 #[doc = "`CheckForCatalogUpdates(bool)` overload"]
1908 pub fn check_for_catalog_updates(
1909 auto_release_handle: impl ::core::convert::Into<bool>,
1910 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1911 crate::system::collections::generic::list_1::List_1<::unity::Il2CppString>,
1912 > {
1913 unsafe {
1914 ::unity::il2cpp_call!((::unity::module_base()+0x2da96f0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::list_1::List_1< ::unity::Il2CppString> > ;
1915(bool)::core::convert::Into::into(auto_release_handle))
1916 }
1917 }
1918
1919 #[doc = "`UpdateCatalogs(crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString>, bool)` overload"]
1920 pub fn update_catalogs(
1921 catalogs: impl ::core::convert::Into<crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString>>,
1922 auto_release_handle: impl ::core::convert::Into<bool>,
1923 ) -> crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<
1924 crate::system::collections::generic::list_1::List_1<
1925 crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator,
1926 >,
1927 > {
1928 unsafe {
1929 ::unity::il2cpp_call!((::unity::module_base()+0x2da99d0usize)as*mut u8,crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::list_1::List_1<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator> > ;
1930(crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::Il2CppString>)::core::convert::Into::into(catalogs),(bool)::core::convert::Into::into(auto_release_handle))
1931 }
1932 }
1933
1934 #[doc = "`AddResourceLocator(crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator, ::unity::Il2CppString, crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)` overload"]
1935 pub fn add_resource_locator(
1936 locator: impl ::core::convert::Into<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator>,
1937 local_catalog_hash: impl ::core::convert::Into<::unity::Il2CppString>,
1938 remote_catalog_location: impl ::core::convert::Into<
1939 crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
1940 >,
1941 ) -> () {
1942 unsafe {
1943 ::unity::il2cpp_call!((::unity::module_base()+0x2da9db0usize)as*mut u8,();
1944(crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator)::core::convert::Into::into(locator),(::unity::Il2CppString)::core::convert::Into::into(local_catalog_hash),(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation)::core::convert::Into::into(remote_catalog_location))
1945 }
1946 }
1947
1948 #[doc = "`RemoveResourceLocator(crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator)` overload"]
1949 pub fn remove_resource_locator(
1950 locator: impl ::core::convert::Into<crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator>,
1951 ) -> () {
1952 unsafe {
1953 ::unity::il2cpp_call!((::unity::module_base()+0x2da9f70usize)as*mut u8,();
1954(crate::unity_engine::addressable_assets::resource_locators::iresourcelocator::IResourceLocator)::core::convert::Into::into(locator))
1955 }
1956 }
1957
1958 #[doc = "`ClearResourceLocators()` overload"]
1959 pub fn clear_resource_locators() -> () {
1960 unsafe {
1961 ::unity::il2cpp_call!((::unity::module_base()+0x2daa140usize)as*mut u8,();
1962 )
1963 }
1964 }
1965
1966 #[doc = "`.cctor()` overload"]
1967 pub fn cctor() -> () {
1968 unsafe {
1969 ::unity::il2cpp_call!((::unity::module_base()+0x2daa2a0usize)as*mut u8,();
1970 )
1971 }
1972 }
1973}
1974
1975#[cfg(feature = "unity_engine-addressable_assets-addressables")]
1976impl Addressables {
1977 pub fn get_m_addressables_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1978 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1979 }
1980
1981 pub fn get_resource_manager_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1982 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1983 }
1984
1985 pub fn get_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1986 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1987 }
1988
1989 pub fn get_instance_provider_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1990 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1991 }
1992
1993 pub fn resolve_internal_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1994 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1995 }
1996
1997 pub fn get_internal_id_transform_func_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1998 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1999 }
2000
2001 pub fn set_internal_id_transform_func_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2002 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2003 }
2004
2005 pub fn get_web_request_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2006 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2007 }
2008
2009 pub fn set_web_request_override_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2010 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
2011 }
2012
2013 pub fn get_streaming_assets_sub_folder_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
2015 }
2016
2017 pub fn get_build_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
2019 }
2020
2021 pub fn get_player_build_data_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
2023 }
2024
2025 pub fn get_runtime_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
2027 }
2028
2029 pub fn get_resource_locators_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
2031 }
2032
2033 pub fn internal_safe_serialization_log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
2035 }
2036
2037 pub fn internal_safe_serialization_log_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
2039 }
2040
2041 pub fn log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
2043 }
2044
2045 pub fn log_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
2047 }
2048
2049 pub fn log_warning_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
2051 }
2052
2053 pub fn log_warning_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
2055 }
2056
2057 pub fn log_error_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
2059 }
2060
2061 pub fn log_error_format_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2062 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
2063 }
2064
2065 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2066 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
2067 }
2068
2069 pub fn initialize_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2070 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
2071 }
2072
2073 pub fn load_content_catalog_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2074 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
2075 }
2076
2077 pub fn load_content_catalog_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2078 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
2079 }
2080
2081 pub fn load_content_catalog_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2082 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
2083 }
2084
2085 pub fn get_initialization_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2086 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
2087 }
2088
2089 pub fn load_resource_locations_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2090 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
2091 }
2092
2093 pub fn load_resource_locations_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2094 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
2095 }
2096
2097 pub fn load_resource_locations_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2098 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
2099 }
2100
2101 pub fn load_resource_locations_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2102 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
2103 }
2104
2105 pub fn load_resource_locations_async_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
2107 }
2108
2109 pub fn release_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
2111 }
2112
2113 pub fn release_instance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
2115 }
2116
2117 pub fn release_instance_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
2119 }
2120
2121 pub fn release_instance_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2122 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
2123 }
2124
2125 pub fn get_download_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2126 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
2127 }
2128
2129 pub fn get_download_size_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2130 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
2131 }
2132
2133 pub fn get_download_size_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2134 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
2135 }
2136
2137 pub fn get_download_size_async_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2138 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
2139 }
2140
2141 pub fn get_download_size_async_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2142 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
2143 }
2144
2145 pub fn download_dependencies_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2146 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
2147 }
2148
2149 pub fn download_dependencies_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2150 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
2151 }
2152
2153 pub fn download_dependencies_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2154 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
2155 }
2156
2157 pub fn download_dependencies_async_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2158 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
2159 }
2160
2161 pub fn download_dependencies_async_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2162 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
2163 }
2164
2165 pub fn clear_dependency_cache_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2166 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
2167 }
2168
2169 pub fn clear_dependency_cache_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2170 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
2171 }
2172
2173 pub fn clear_dependency_cache_async_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2174 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
2175 }
2176
2177 pub fn clear_dependency_cache_async_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2178 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
2179 }
2180
2181 pub fn clear_dependency_cache_async_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2182 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
2183 }
2184
2185 pub fn clear_dependency_cache_async_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2186 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
2187 }
2188
2189 pub fn clear_dependency_cache_async_7_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
2191 }
2192
2193 pub fn clear_dependency_cache_async_8_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
2195 }
2196
2197 pub fn clear_dependency_cache_async_9_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
2199 }
2200
2201 pub fn clear_dependency_cache_async_10_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
2203 }
2204
2205 pub fn instantiate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
2207 }
2208
2209 pub fn instantiate_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
2211 }
2212
2213 pub fn instantiate_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
2215 }
2216
2217 pub fn instantiate_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
2219 }
2220
2221 pub fn instantiate_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
2223 }
2224
2225 pub fn instantiate_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
2227 }
2228
2229 pub fn instantiate_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
2231 }
2232
2233 pub fn instantiate_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
2235 }
2236
2237 pub fn instantiate_async_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2238 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
2239 }
2240
2241 pub fn instantiate_async_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2242 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
2243 }
2244
2245 pub fn instantiate_async_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
2247 }
2248
2249 pub fn instantiate_async_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
2251 }
2252
2253 pub fn load_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2254 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
2255 }
2256
2257 pub fn load_scene_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
2259 }
2260
2261 pub fn load_scene_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
2263 }
2264
2265 pub fn load_scene_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
2267 }
2268
2269 pub fn unload_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
2271 }
2272
2273 pub fn unload_scene_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
2275 }
2276
2277 pub fn unload_scene_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
2279 }
2280
2281 pub fn unload_scene_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2282 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
2283 }
2284
2285 pub fn unload_scene_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2286 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
2287 }
2288
2289 pub fn unload_scene_async_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2290 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
2291 }
2292
2293 pub fn check_for_catalog_updates_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2294 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[97]
2295 }
2296
2297 pub fn update_catalogs_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2298 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[98]
2299 }
2300
2301 pub fn add_resource_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2302 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[99]
2303 }
2304
2305 pub fn remove_resource_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2306 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[100]
2307 }
2308
2309 pub fn clear_resource_locators_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2310 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[101]
2311 }
2312
2313 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2314 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[102]
2315 }
2316}
2317
2318#[cfg(feature = "unity_engine-addressable_assets-addressables")]
2319#[doc(hidden)]
2320pub mod prelude {
2321 pub use super::{Addressables, Addressables_MergeMode, IAddressables};
2322 #[cfg(feature = "system-object")]
2323 pub use crate::system::object::IObjectMethods;
2324 #[cfg(feature = "system-enum")]
2325 pub use crate::system::r#enum::IEnumMethods;
2326 #[cfg(feature = "system-valuetype")]
2327 pub use crate::system::valuetype::IValueTypeMethods;
2328 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
2329}