engage/generated/unity_engine/addressable_assets/initialization/
resourcemanagerruntimedata.rs1#[cfg(feature = "unity_engine-addressable_assets-initialization-resourcemanagerruntimedata-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/addressable_assets/initialization/resourcemanagerruntimedata/ResourceManagerRuntimeData.md"))]
11 #[::unity::class(namespace = "UnityEngine.AddressableAssets.Initialization", name = "ResourceManagerRuntimeData")]
12 #[parent(crate::system::object::Object)]
13 pub struct ResourceManagerRuntimeData {
14 #[static_field]
15 #[rename(name = "kCatalogAddress")]
16 pub k_catalog_address: ::unity::Il2CppString,
17 #[offset(16)]
18 #[rename(name = "m_buildTarget")]
19 pub m_build_target: ::unity::Il2CppString,
20 #[offset(24)]
21 #[rename(name = "m_SettingsHash")]
22 pub m_settings_hash: ::unity::Il2CppString,
23 #[offset(32)]
24 #[rename(name = "m_CatalogLocations")]
25 pub m_catalog_locations: crate::system::collections::generic::list_1::List_1<
26 crate::unity_engine::addressable_assets::resource_locators::resourcelocationdata::ResourceLocationData,
27 >,
28 #[offset(40)]
29 #[rename(name = "m_ProfileEvents")]
30 pub m_profile_events: bool,
31 #[offset(41)]
32 #[rename(name = "m_LogResourceManagerExceptions")]
33 pub m_log_resource_manager_exceptions: bool,
34 #[offset(48)]
35 #[rename(name = "m_ExtraInitializationData")]
36 pub m_extra_initialization_data: crate::system::collections::generic::list_1::List_1<
37 crate::unity_engine::resource_management::util::objectinitializationdata::ObjectInitializationData,
38 >,
39 #[offset(56)]
40 #[rename(name = "m_DisableCatalogUpdateOnStart")]
41 pub m_disable_catalog_update_on_start: bool,
42 #[offset(57)]
43 #[rename(name = "m_IsLocalCatalogInBundle")]
44 pub m_is_local_catalog_in_bundle: bool,
45 #[offset(64)]
46 #[rename(name = "m_CertificateHandlerType")]
47 pub m_certificate_handler_type: crate::unity_engine::resource_management::util::serializedtype::SerializedType,
48 #[offset(96)]
49 #[rename(name = "m_AddressablesVersion")]
50 pub m_addressables_version: ::unity::Il2CppString,
51 #[offset(104)]
52 #[rename(name = "m_maxConcurrentWebRequests")]
53 pub m_max_concurrent_web_requests: i32,
54 #[offset(108)]
55 #[rename(name = "m_CatalogRequestsTimeout")]
56 pub m_catalog_requests_timeout: i32,
57 }
58}
59
60#[cfg(feature = "unity_engine-addressable_assets-initialization-resourcemanagerruntimedata-types")]
61pub use __types::*;
62
63#[cfg(feature = "unity_engine-addressable_assets-initialization-resourcemanagerruntimedata")]
64pub trait IResourceManagerRuntimeDataMethods: IResourceManagerRuntimeData {
65 #[doc = "`get_BuildTarget()` overload"]
66 fn get_build_target(self) -> ::unity::Il2CppString {
67 unsafe {
68 let __receiver =
69 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd150usize)as*mut u8, ::unity::Il2CppString;
71(ResourceManagerRuntimeData)__receiver)
72 }
73 }
74 #[doc = "`set_BuildTarget(::unity::Il2CppString)` overload"]
75 fn set_build_target(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
76 unsafe {
77 let __receiver =
78 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd160usize)as*mut u8,();
80(ResourceManagerRuntimeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
81 }
82 }
83 #[doc = "`get_SettingsHash()` overload"]
84 fn get_settings_hash(self) -> ::unity::Il2CppString {
85 unsafe {
86 let __receiver =
87 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
88 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd170usize)as*mut u8, ::unity::Il2CppString;
89(ResourceManagerRuntimeData)__receiver)
90 }
91 }
92 #[doc = "`set_SettingsHash(::unity::Il2CppString)` overload"]
93 fn set_settings_hash(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
94 unsafe {
95 let __receiver =
96 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd180usize)as*mut u8,();
98(ResourceManagerRuntimeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
99 }
100 }
101 #[doc = "`get_CatalogLocations()` overload"]
102 fn get_catalog_locations(
103 self,
104 ) -> crate::system::collections::generic::list_1::List_1<
105 crate::unity_engine::addressable_assets::resource_locators::resourcelocationdata::ResourceLocationData,
106 > {
107 unsafe {
108 let __receiver =
109 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd190usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::addressable_assets::resource_locators::resourcelocationdata::ResourceLocationData> ;
111(ResourceManagerRuntimeData)__receiver)
112 }
113 }
114 #[doc = "`get_ProfileEvents()` overload"]
115 fn get_profile_events(self) -> bool {
116 unsafe {
117 let __receiver =
118 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd1a0usize)as*mut u8,bool;
120(ResourceManagerRuntimeData)__receiver)
121 }
122 }
123 #[doc = "`set_ProfileEvents(bool)` overload"]
124 fn set_profile_events(self, value: impl ::core::convert::Into<bool>) -> () {
125 unsafe {
126 let __receiver =
127 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd1b0usize)as*mut u8,();
129(ResourceManagerRuntimeData)__receiver,(bool)::core::convert::Into::into(value))
130 }
131 }
132 #[doc = "`get_LogResourceManagerExceptions()` overload"]
133 fn get_log_resource_manager_exceptions(self) -> bool {
134 unsafe {
135 let __receiver =
136 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd1c0usize)as*mut u8,bool;
138(ResourceManagerRuntimeData)__receiver)
139 }
140 }
141 #[doc = "`set_LogResourceManagerExceptions(bool)` overload"]
142 fn set_log_resource_manager_exceptions(self, value: impl ::core::convert::Into<bool>) -> () {
143 unsafe {
144 let __receiver =
145 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd1d0usize)as*mut u8,();
147(ResourceManagerRuntimeData)__receiver,(bool)::core::convert::Into::into(value))
148 }
149 }
150 #[doc = "`get_InitializationObjects()` overload"]
151 fn get_initialization_objects(
152 self,
153 ) -> crate::system::collections::generic::list_1::List_1<
154 crate::unity_engine::resource_management::util::objectinitializationdata::ObjectInitializationData,
155 > {
156 unsafe {
157 let __receiver =
158 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
159 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd1e0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::unity_engine::resource_management::util::objectinitializationdata::ObjectInitializationData> ;
160(ResourceManagerRuntimeData)__receiver)
161 }
162 }
163 #[doc = "`get_DisableCatalogUpdateOnStartup()` overload"]
164 fn get_disable_catalog_update_on_startup(self) -> bool {
165 unsafe {
166 let __receiver =
167 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
168 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd1f0usize)as*mut u8,bool;
169(ResourceManagerRuntimeData)__receiver)
170 }
171 }
172 #[doc = "`set_DisableCatalogUpdateOnStartup(bool)` overload"]
173 fn set_disable_catalog_update_on_startup(self, value: impl ::core::convert::Into<bool>) -> () {
174 unsafe {
175 let __receiver =
176 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd200usize)as*mut u8,();
178(ResourceManagerRuntimeData)__receiver,(bool)::core::convert::Into::into(value))
179 }
180 }
181 #[doc = "`get_IsLocalCatalogInBundle()` overload"]
182 fn get_is_local_catalog_in_bundle(self) -> bool {
183 unsafe {
184 let __receiver =
185 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd210usize)as*mut u8,bool;
187(ResourceManagerRuntimeData)__receiver)
188 }
189 }
190 #[doc = "`set_IsLocalCatalogInBundle(bool)` overload"]
191 fn set_is_local_catalog_in_bundle(self, value: impl ::core::convert::Into<bool>) -> () {
192 unsafe {
193 let __receiver =
194 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd220usize)as*mut u8,();
196(ResourceManagerRuntimeData)__receiver,(bool)::core::convert::Into::into(value))
197 }
198 }
199 #[doc = "`get_CertificateHandlerType()` overload"]
200 fn get_certificate_handler_type(self) -> ::unity::SystemType {
201 unsafe {
202 let __receiver =
203 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
204 ::unity::il2cpp_call!((::unity::module_base()+0x2db8dc0usize)as*mut u8, ::unity::SystemType;
205(ResourceManagerRuntimeData)__receiver)
206 }
207 }
208 #[doc = "`set_CertificateHandlerType(::unity::SystemType)` overload"]
209 fn set_certificate_handler_type(self, value: impl ::core::convert::Into<::unity::SystemType>) -> () {
210 unsafe {
211 let __receiver =
212 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd230usize)as*mut u8,();
214(ResourceManagerRuntimeData)__receiver,(::unity::SystemType)::core::convert::Into::into(value))
215 }
216 }
217 #[doc = "`get_AddressablesVersion()` overload"]
218 fn get_addressables_version(self) -> ::unity::Il2CppString {
219 unsafe {
220 let __receiver =
221 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd240usize)as*mut u8, ::unity::Il2CppString;
223(ResourceManagerRuntimeData)__receiver)
224 }
225 }
226 #[doc = "`set_AddressablesVersion(::unity::Il2CppString)` overload"]
227 fn set_addressables_version(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
228 unsafe {
229 let __receiver =
230 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
231 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd250usize)as*mut u8,();
232(ResourceManagerRuntimeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
233 }
234 }
235 #[doc = "`get_MaxConcurrentWebRequests()` overload"]
236 fn get_max_concurrent_web_requests(self) -> i32 {
237 unsafe {
238 let __receiver =
239 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd260usize)as*mut u8,i32;
241(ResourceManagerRuntimeData)__receiver)
242 }
243 }
244 #[doc = "`set_MaxConcurrentWebRequests(i32)` overload"]
245 fn set_max_concurrent_web_requests(self, value: impl ::core::convert::Into<i32>) -> () {
246 unsafe {
247 let __receiver =
248 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd270usize)as*mut u8,();
250(ResourceManagerRuntimeData)__receiver,(i32)::core::convert::Into::into(value))
251 }
252 }
253 #[doc = "`get_CatalogRequestsTimeout()` overload"]
254 fn get_catalog_requests_timeout(self) -> i32 {
255 unsafe {
256 let __receiver =
257 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd2b0usize)as*mut u8,i32;
259(ResourceManagerRuntimeData)__receiver)
260 }
261 }
262 #[doc = "`set_CatalogRequestsTimeout(i32)` overload"]
263 fn set_catalog_requests_timeout(self, value: impl ::core::convert::Into<i32>) -> () {
264 unsafe {
265 let __receiver =
266 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd2c0usize)as*mut u8,();
268(ResourceManagerRuntimeData)__receiver,(i32)::core::convert::Into::into(value))
269 }
270 }
271 #[doc = "`.ctor()` overload"]
272 fn ctor(self) -> () {
273 unsafe {
274 let __receiver =
275 <ResourceManagerRuntimeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
276 ::unity::il2cpp_call!((::unity::module_base()+0x2dbd2d0usize)as*mut u8,();
277(ResourceManagerRuntimeData)__receiver)
278 }
279 }
280}
281
282#[cfg(feature = "unity_engine-addressable_assets-initialization-resourcemanagerruntimedata")]
283impl<__T: IResourceManagerRuntimeData> IResourceManagerRuntimeDataMethods for __T {}
284
285#[cfg(feature = "unity_engine-addressable_assets-initialization-resourcemanagerruntimedata")]
286impl ResourceManagerRuntimeData {
287 pub fn get_build_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
289 }
290
291 pub fn set_build_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
293 }
294
295 pub fn get_settings_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
297 }
298
299 pub fn set_settings_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
301 }
302
303 pub fn get_catalog_locations_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
305 }
306
307 pub fn get_profile_events_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
309 }
310
311 pub fn set_profile_events_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
313 }
314
315 pub fn get_log_resource_manager_exceptions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
317 }
318
319 pub fn set_log_resource_manager_exceptions_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
321 }
322
323 pub fn get_initialization_objects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
325 }
326
327 pub fn get_disable_catalog_update_on_startup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
328 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
329 }
330
331 pub fn set_disable_catalog_update_on_startup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
332 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
333 }
334
335 pub fn get_is_local_catalog_in_bundle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
336 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
337 }
338
339 pub fn set_is_local_catalog_in_bundle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
340 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
341 }
342
343 pub fn get_certificate_handler_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
344 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
345 }
346
347 pub fn set_certificate_handler_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
348 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
349 }
350
351 pub fn get_addressables_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
352 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
353 }
354
355 pub fn set_addressables_version_method_info() -> &'static ::unity::il2cpp::MethodInfo {
356 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
357 }
358
359 pub fn get_max_concurrent_web_requests_method_info() -> &'static ::unity::il2cpp::MethodInfo {
360 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
361 }
362
363 pub fn set_max_concurrent_web_requests_method_info() -> &'static ::unity::il2cpp::MethodInfo {
364 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
365 }
366
367 pub fn get_catalog_requests_timeout_method_info() -> &'static ::unity::il2cpp::MethodInfo {
368 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
369 }
370
371 pub fn set_catalog_requests_timeout_method_info() -> &'static ::unity::il2cpp::MethodInfo {
372 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
373 }
374
375 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
376 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
377 }
378}
379
380#[cfg(feature = "unity_engine-addressable_assets-initialization-resourcemanagerruntimedata")]
381impl ResourceManagerRuntimeData {
382 #[doc = "`.ctor()` — no args"]
383 pub fn new() -> Self {
384 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
385 panic!(
386 "{}
387::{}
388 failed to instantiate",
389 ::core::stringify!(ResourceManagerRuntimeData),
390 ::core::stringify!(new),
391 )
392 });
393 <Self as IResourceManagerRuntimeDataMethods>::ctor(this);
394 this
395 }
396}
397
398#[cfg(feature = "unity_engine-addressable_assets-initialization-resourcemanagerruntimedata")]
399#[doc(hidden)]
400pub mod prelude {
401 pub use super::{IResourceManagerRuntimeData, IResourceManagerRuntimeDataMethods, ResourceManagerRuntimeData};
402 pub use crate::system::object::IObject;
403 #[cfg(feature = "system-object")]
404 pub use crate::system::object::IObjectMethods;
405}