Skip to main content

engage/generated/unity_engine/resource_management/resource_providers/
assetbundlerequestoptions.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions-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/resource_management/resource_providers/assetbundlerequestoptions/AssetBundleRequestOptions.md"))]
11    #[::unity::class(namespace = "UnityEngine.ResourceManagement.ResourceProviders", name = "AssetBundleRequestOptions")]
12    #[parent(crate::system::object::Object)]
13    pub struct AssetBundleRequestOptions {
14        #[offset(16)]
15        #[rename(name = "m_Hash")]
16        pub m_hash: ::unity::Il2CppString,
17        #[offset(24)]
18        #[rename(name = "m_Crc")]
19        pub m_crc: u32,
20        #[offset(28)]
21        #[rename(name = "m_Timeout")]
22        pub m_timeout: i32,
23        #[offset(32)]
24        #[rename(name = "m_ChunkedTransfer")]
25        pub m_chunked_transfer: bool,
26        #[offset(36)]
27        #[rename(name = "m_RedirectLimit")]
28        pub m_redirect_limit: i32,
29        #[offset(40)]
30        #[rename(name = "m_RetryCount")]
31        pub m_retry_count: i32,
32        #[offset(48)]
33        #[rename(name = "m_BundleName")]
34        pub m_bundle_name: ::unity::Il2CppString,
35        #[offset(56)]
36        #[rename(name = "m_BundleSize")]
37        pub m_bundle_size: i64,
38        #[offset(64)]
39        #[rename(name = "m_UseCrcForCachedBundles")]
40        pub m_use_crc_for_cached_bundles: bool,
41        #[offset(65)]
42        #[rename(name = "m_UseUWRForLocalBundles")]
43        pub m_use_uwr_for_local_bundles: bool,
44        #[offset(66)]
45        #[rename(name = "m_ClearOtherCachedVersionsWhenLoaded")]
46        pub m_clear_other_cached_versions_when_loaded: bool,
47    }
48}
49
50#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions-types")]
51pub use __types::*;
52
53#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions")]
54#[doc(hidden)]
55#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
56mod __AssetBundleRequestOptions_unity_raw {
57    use super::*;
58    #[doc(hidden)]
59    #[allow(non_snake_case)]
60    pub mod __lookup_get_hash {
61        use super::*;
62        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
63            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
64            ::unity::lookup::method_info_on_class_with_signature(
65                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
66                "get_Hash",
67                0,
68                param_types,
69                false,
70            )
71        });
72        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
73            match &*METHOD {
74                ::core::result::Result::Ok(mi) => *mi,
75                ::core::result::Result::Err(e) => {
76                    panic!(
77                        "method lookup failed: {}
78::{}
79: {}
80",
81                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
82                        "get_Hash",
83                        e
84                    )
85                },
86            }
87        }
88    }
89    #[doc(hidden)]
90    #[allow(non_snake_case)]
91    pub mod __lookup_set_hash {
92        use super::*;
93        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
94            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
95            ::unity::lookup::method_info_on_class_with_signature(
96                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
97                "set_Hash",
98                1,
99                param_types,
100                false,
101            )
102        });
103        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104            match &*METHOD {
105                ::core::result::Result::Ok(mi) => *mi,
106                ::core::result::Result::Err(e) => {
107                    panic!(
108                        "method lookup failed: {}
109::{}
110: {}
111",
112                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
113                        "set_Hash",
114                        e
115                    )
116                },
117            }
118        }
119    }
120    #[doc(hidden)]
121    #[allow(non_snake_case)]
122    pub mod __lookup_get_crc {
123        use super::*;
124        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
125            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
126            ::unity::lookup::method_info_on_class_with_signature(
127                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
128                "get_Crc",
129                0,
130                param_types,
131                false,
132            )
133        });
134        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135            match &*METHOD {
136                ::core::result::Result::Ok(mi) => *mi,
137                ::core::result::Result::Err(e) => {
138                    panic!(
139                        "method lookup failed: {}
140::{}
141: {}
142",
143                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
144                        "get_Crc",
145                        e
146                    )
147                },
148            }
149        }
150    }
151    #[doc(hidden)]
152    #[allow(non_snake_case)]
153    pub mod __lookup_set_crc {
154        use super::*;
155        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
156            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<u32 as ::unity::IlType>::il_type()];
157            ::unity::lookup::method_info_on_class_with_signature(
158                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
159                "set_Crc",
160                1,
161                param_types,
162                false,
163            )
164        });
165        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
166            match &*METHOD {
167                ::core::result::Result::Ok(mi) => *mi,
168                ::core::result::Result::Err(e) => {
169                    panic!(
170                        "method lookup failed: {}
171::{}
172: {}
173",
174                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
175                        "set_Crc",
176                        e
177                    )
178                },
179            }
180        }
181    }
182    #[doc(hidden)]
183    #[allow(non_snake_case)]
184    pub mod __lookup_get_timeout {
185        use super::*;
186        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
187            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
188            ::unity::lookup::method_info_on_class_with_signature(
189                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
190                "get_Timeout",
191                0,
192                param_types,
193                false,
194            )
195        });
196        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197            match &*METHOD {
198                ::core::result::Result::Ok(mi) => *mi,
199                ::core::result::Result::Err(e) => {
200                    panic!(
201                        "method lookup failed: {}
202::{}
203: {}
204",
205                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
206                        "get_Timeout",
207                        e
208                    )
209                },
210            }
211        }
212    }
213    #[doc(hidden)]
214    #[allow(non_snake_case)]
215    pub mod __lookup_set_timeout {
216        use super::*;
217        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
218            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
219            ::unity::lookup::method_info_on_class_with_signature(
220                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
221                "set_Timeout",
222                1,
223                param_types,
224                false,
225            )
226        });
227        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228            match &*METHOD {
229                ::core::result::Result::Ok(mi) => *mi,
230                ::core::result::Result::Err(e) => {
231                    panic!(
232                        "method lookup failed: {}
233::{}
234: {}
235",
236                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
237                        "set_Timeout",
238                        e
239                    )
240                },
241            }
242        }
243    }
244    #[doc(hidden)]
245    #[allow(non_snake_case)]
246    pub mod __lookup_get_chunked_transfer {
247        use super::*;
248        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
249            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
250            ::unity::lookup::method_info_on_class_with_signature(
251                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
252                "get_ChunkedTransfer",
253                0,
254                param_types,
255                false,
256            )
257        });
258        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259            match &*METHOD {
260                ::core::result::Result::Ok(mi) => *mi,
261                ::core::result::Result::Err(e) => {
262                    panic!(
263                        "method lookup failed: {}
264::{}
265: {}
266",
267                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
268                        "get_ChunkedTransfer",
269                        e
270                    )
271                },
272            }
273        }
274    }
275    #[doc(hidden)]
276    #[allow(non_snake_case)]
277    pub mod __lookup_set_chunked_transfer {
278        use super::*;
279        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
280            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<bool as ::unity::IlType>::il_type()];
281            ::unity::lookup::method_info_on_class_with_signature(
282                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
283                "set_ChunkedTransfer",
284                1,
285                param_types,
286                false,
287            )
288        });
289        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
290            match &*METHOD {
291                ::core::result::Result::Ok(mi) => *mi,
292                ::core::result::Result::Err(e) => {
293                    panic!(
294                        "method lookup failed: {}
295::{}
296: {}
297",
298                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
299                        "set_ChunkedTransfer",
300                        e
301                    )
302                },
303            }
304        }
305    }
306    #[doc(hidden)]
307    #[allow(non_snake_case)]
308    pub mod __lookup_get_redirect_limit {
309        use super::*;
310        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
311            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
312            ::unity::lookup::method_info_on_class_with_signature(
313                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
314                "get_RedirectLimit",
315                0,
316                param_types,
317                false,
318            )
319        });
320        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321            match &*METHOD {
322                ::core::result::Result::Ok(mi) => *mi,
323                ::core::result::Result::Err(e) => {
324                    panic!(
325                        "method lookup failed: {}
326::{}
327: {}
328",
329                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
330                        "get_RedirectLimit",
331                        e
332                    )
333                },
334            }
335        }
336    }
337    #[doc(hidden)]
338    #[allow(non_snake_case)]
339    pub mod __lookup_set_redirect_limit {
340        use super::*;
341        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
342            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
343            ::unity::lookup::method_info_on_class_with_signature(
344                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
345                "set_RedirectLimit",
346                1,
347                param_types,
348                false,
349            )
350        });
351        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
352            match &*METHOD {
353                ::core::result::Result::Ok(mi) => *mi,
354                ::core::result::Result::Err(e) => {
355                    panic!(
356                        "method lookup failed: {}
357::{}
358: {}
359",
360                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
361                        "set_RedirectLimit",
362                        e
363                    )
364                },
365            }
366        }
367    }
368    #[doc(hidden)]
369    #[allow(non_snake_case)]
370    pub mod __lookup_get_retry_count {
371        use super::*;
372        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
373            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
374            ::unity::lookup::method_info_on_class_with_signature(
375                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
376                "get_RetryCount",
377                0,
378                param_types,
379                false,
380            )
381        });
382        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383            match &*METHOD {
384                ::core::result::Result::Ok(mi) => *mi,
385                ::core::result::Result::Err(e) => {
386                    panic!(
387                        "method lookup failed: {}
388::{}
389: {}
390",
391                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
392                        "get_RetryCount",
393                        e
394                    )
395                },
396            }
397        }
398    }
399    #[doc(hidden)]
400    #[allow(non_snake_case)]
401    pub mod __lookup_set_retry_count {
402        use super::*;
403        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
404            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i32 as ::unity::IlType>::il_type()];
405            ::unity::lookup::method_info_on_class_with_signature(
406                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
407                "set_RetryCount",
408                1,
409                param_types,
410                false,
411            )
412        });
413        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414            match &*METHOD {
415                ::core::result::Result::Ok(mi) => *mi,
416                ::core::result::Result::Err(e) => {
417                    panic!(
418                        "method lookup failed: {}
419::{}
420: {}
421",
422                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
423                        "set_RetryCount",
424                        e
425                    )
426                },
427            }
428        }
429    }
430    #[doc(hidden)]
431    #[allow(non_snake_case)]
432    pub mod __lookup_get_bundle_name {
433        use super::*;
434        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
435            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
436            ::unity::lookup::method_info_on_class_with_signature(
437                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
438                "get_BundleName",
439                0,
440                param_types,
441                false,
442            )
443        });
444        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
445            match &*METHOD {
446                ::core::result::Result::Ok(mi) => *mi,
447                ::core::result::Result::Err(e) => {
448                    panic!(
449                        "method lookup failed: {}
450::{}
451: {}
452",
453                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
454                        "get_BundleName",
455                        e
456                    )
457                },
458            }
459        }
460    }
461    #[doc(hidden)]
462    #[allow(non_snake_case)]
463    pub mod __lookup_set_bundle_name {
464        use super::*;
465        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
466            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<::unity::Il2CppString as ::unity::IlType>::il_type()];
467            ::unity::lookup::method_info_on_class_with_signature(
468                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
469                "set_BundleName",
470                1,
471                param_types,
472                false,
473            )
474        });
475        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476            match &*METHOD {
477                ::core::result::Result::Ok(mi) => *mi,
478                ::core::result::Result::Err(e) => {
479                    panic!(
480                        "method lookup failed: {}
481::{}
482: {}
483",
484                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
485                        "set_BundleName",
486                        e
487                    )
488                },
489            }
490        }
491    }
492    #[doc(hidden)]
493    #[allow(non_snake_case)]
494    pub mod __lookup_get_bundle_size {
495        use super::*;
496        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
497            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
498            ::unity::lookup::method_info_on_class_with_signature(
499                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
500                "get_BundleSize",
501                0,
502                param_types,
503                false,
504            )
505        });
506        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507            match &*METHOD {
508                ::core::result::Result::Ok(mi) => *mi,
509                ::core::result::Result::Err(e) => {
510                    panic!(
511                        "method lookup failed: {}
512::{}
513: {}
514",
515                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
516                        "get_BundleSize",
517                        e
518                    )
519                },
520            }
521        }
522    }
523    #[doc(hidden)]
524    #[allow(non_snake_case)]
525    pub mod __lookup_set_bundle_size {
526        use super::*;
527        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
528            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<i64 as ::unity::IlType>::il_type()];
529            ::unity::lookup::method_info_on_class_with_signature(
530                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
531                "set_BundleSize",
532                1,
533                param_types,
534                false,
535            )
536        });
537        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538            match &*METHOD {
539                ::core::result::Result::Ok(mi) => *mi,
540                ::core::result::Result::Err(e) => {
541                    panic!(
542                        "method lookup failed: {}
543::{}
544: {}
545",
546                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
547                        "set_BundleSize",
548                        e
549                    )
550                },
551            }
552        }
553    }
554    #[doc(hidden)]
555    #[allow(non_snake_case)]
556    pub mod __lookup_get_use_crc_for_cached_bundle {
557        use super::*;
558        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
559            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
560            ::unity::lookup::method_info_on_class_with_signature(
561                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
562                "get_UseCrcForCachedBundle",
563                0,
564                param_types,
565                false,
566            )
567        });
568        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
569            match &*METHOD {
570                ::core::result::Result::Ok(mi) => *mi,
571                ::core::result::Result::Err(e) => {
572                    panic!(
573                        "method lookup failed: {}
574::{}
575: {}
576",
577                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
578                        "get_UseCrcForCachedBundle",
579                        e
580                    )
581                },
582            }
583        }
584    }
585    #[doc(hidden)]
586    #[allow(non_snake_case)]
587    pub mod __lookup_set_use_crc_for_cached_bundle {
588        use super::*;
589        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
590            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<bool as ::unity::IlType>::il_type()];
591            ::unity::lookup::method_info_on_class_with_signature(
592                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
593                "set_UseCrcForCachedBundle",
594                1,
595                param_types,
596                false,
597            )
598        });
599        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600            match &*METHOD {
601                ::core::result::Result::Ok(mi) => *mi,
602                ::core::result::Result::Err(e) => {
603                    panic!(
604                        "method lookup failed: {}
605::{}
606: {}
607",
608                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
609                        "set_UseCrcForCachedBundle",
610                        e
611                    )
612                },
613            }
614        }
615    }
616    #[doc(hidden)]
617    #[allow(non_snake_case)]
618    pub mod __lookup_get_use_unity_web_request_for_local_bundles {
619        use super::*;
620        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
621            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
622            ::unity::lookup::method_info_on_class_with_signature(
623                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
624                "get_UseUnityWebRequestForLocalBundles",
625                0,
626                param_types,
627                false,
628            )
629        });
630        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
631            match &*METHOD {
632                ::core::result::Result::Ok(mi) => *mi,
633                ::core::result::Result::Err(e) => {
634                    panic!(
635                        "method lookup failed: {}
636::{}
637: {}
638",
639                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
640                        "get_UseUnityWebRequestForLocalBundles",
641                        e
642                    )
643                },
644            }
645        }
646    }
647    #[doc(hidden)]
648    #[allow(non_snake_case)]
649    pub mod __lookup_set_use_unity_web_request_for_local_bundles {
650        use super::*;
651        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
652            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<bool as ::unity::IlType>::il_type()];
653            ::unity::lookup::method_info_on_class_with_signature(
654                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
655                "set_UseUnityWebRequestForLocalBundles",
656                1,
657                param_types,
658                false,
659            )
660        });
661        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662            match &*METHOD {
663                ::core::result::Result::Ok(mi) => *mi,
664                ::core::result::Result::Err(e) => {
665                    panic!(
666                        "method lookup failed: {}
667::{}
668: {}
669",
670                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
671                        "set_UseUnityWebRequestForLocalBundles",
672                        e
673                    )
674                },
675            }
676        }
677    }
678    #[doc(hidden)]
679    #[allow(non_snake_case)]
680    pub mod __lookup_get_clear_other_cached_versions_when_loaded {
681        use super::*;
682        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
683            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
684            ::unity::lookup::method_info_on_class_with_signature(
685                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
686                "get_ClearOtherCachedVersionsWhenLoaded",
687                0,
688                param_types,
689                false,
690            )
691        });
692        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693            match &*METHOD {
694                ::core::result::Result::Ok(mi) => *mi,
695                ::core::result::Result::Err(e) => {
696                    panic!(
697                        "method lookup failed: {}
698::{}
699: {}
700",
701                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
702                        "get_ClearOtherCachedVersionsWhenLoaded",
703                        e
704                    )
705                },
706            }
707        }
708    }
709    #[doc(hidden)]
710    #[allow(non_snake_case)]
711    pub mod __lookup_set_clear_other_cached_versions_when_loaded {
712        use super::*;
713        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
714            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<bool as ::unity::IlType>::il_type()];
715            ::unity::lookup::method_info_on_class_with_signature(
716                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
717                "set_ClearOtherCachedVersionsWhenLoaded",
718                1,
719                param_types,
720                false,
721            )
722        });
723        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
724            match &*METHOD {
725                ::core::result::Result::Ok(mi) => *mi,
726                ::core::result::Result::Err(e) => {
727                    panic!(
728                        "method lookup failed: {}
729::{}
730: {}
731",
732                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
733                        "set_ClearOtherCachedVersionsWhenLoaded",
734                        e
735                    )
736                },
737            }
738        }
739    }
740    #[doc(hidden)]
741    #[allow(non_snake_case)]
742    pub mod __lookup_ctor {
743        use super::*;
744        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
745            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
746            ::unity::lookup::method_info_on_class_with_signature(
747                <AssetBundleRequestOptions as ::unity::ClassIdentity>::class(),
748                ".ctor",
749                0,
750                param_types,
751                false,
752            )
753        });
754        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
755            match &*METHOD {
756                ::core::result::Result::Ok(mi) => *mi,
757                ::core::result::Result::Err(e) => {
758                    panic!(
759                        "method lookup failed: {}
760::{}
761: {}
762",
763                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
764                        ".ctor",
765                        e
766                    )
767                },
768            }
769        }
770    }
771}
772
773#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions")]
774pub trait IAssetBundleRequestOptionsMethods: IAssetBundleRequestOptions {
775    #[doc = "`get_Hash()` overload"]
776    fn get_hash(self) -> ::unity::Il2CppString {
777        unsafe {
778            let __receiver =
779                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
780            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_hash::get_method_info().method_ptr, ::unity::Il2CppString;
781(AssetBundleRequestOptions)__receiver)
782        }
783    }
784    #[doc = "`set_Hash(::unity::Il2CppString)` overload"]
785    fn set_hash(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
786        unsafe {
787            let __receiver =
788                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
789            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_hash::get_method_info().method_ptr,();
790(AssetBundleRequestOptions)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
791        }
792    }
793    #[doc = "`get_Crc()` overload"]
794    fn get_crc(self) -> u32 {
795        unsafe {
796            let __receiver =
797                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
798            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_crc::get_method_info().method_ptr,u32;
799(AssetBundleRequestOptions)__receiver)
800        }
801    }
802    #[doc = "`set_Crc(u32)` overload"]
803    fn set_crc(self, value: impl ::core::convert::Into<u32>) -> () {
804        unsafe {
805            let __receiver =
806                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
807            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_crc::get_method_info().method_ptr,();
808(AssetBundleRequestOptions)__receiver,(u32)::core::convert::Into::into(value))
809        }
810    }
811    #[doc = "`get_Timeout()` overload"]
812    fn get_timeout(self) -> i32 {
813        unsafe {
814            let __receiver =
815                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
816            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_timeout::get_method_info().method_ptr,i32;
817(AssetBundleRequestOptions)__receiver)
818        }
819    }
820    #[doc = "`set_Timeout(i32)` overload"]
821    fn set_timeout(self, value: impl ::core::convert::Into<i32>) -> () {
822        unsafe {
823            let __receiver =
824                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
825            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_timeout::get_method_info().method_ptr,();
826(AssetBundleRequestOptions)__receiver,(i32)::core::convert::Into::into(value))
827        }
828    }
829    #[doc = "`get_ChunkedTransfer()` overload"]
830    fn get_chunked_transfer(self) -> bool {
831        unsafe {
832            let __receiver =
833                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
834            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_chunked_transfer::get_method_info().method_ptr,bool;
835(AssetBundleRequestOptions)__receiver)
836        }
837    }
838    #[doc = "`set_ChunkedTransfer(bool)` overload"]
839    fn set_chunked_transfer(self, value: impl ::core::convert::Into<bool>) -> () {
840        unsafe {
841            let __receiver =
842                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
843            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_chunked_transfer::get_method_info().method_ptr,();
844(AssetBundleRequestOptions)__receiver,(bool)::core::convert::Into::into(value))
845        }
846    }
847    #[doc = "`get_RedirectLimit()` overload"]
848    fn get_redirect_limit(self) -> i32 {
849        unsafe {
850            let __receiver =
851                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
852            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_redirect_limit::get_method_info().method_ptr,i32;
853(AssetBundleRequestOptions)__receiver)
854        }
855    }
856    #[doc = "`set_RedirectLimit(i32)` overload"]
857    fn set_redirect_limit(self, value: impl ::core::convert::Into<i32>) -> () {
858        unsafe {
859            let __receiver =
860                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
861            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_redirect_limit::get_method_info().method_ptr,();
862(AssetBundleRequestOptions)__receiver,(i32)::core::convert::Into::into(value))
863        }
864    }
865    #[doc = "`get_RetryCount()` overload"]
866    fn get_retry_count(self) -> i32 {
867        unsafe {
868            let __receiver =
869                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
870            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_retry_count::get_method_info().method_ptr,i32;
871(AssetBundleRequestOptions)__receiver)
872        }
873    }
874    #[doc = "`set_RetryCount(i32)` overload"]
875    fn set_retry_count(self, value: impl ::core::convert::Into<i32>) -> () {
876        unsafe {
877            let __receiver =
878                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
879            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_retry_count::get_method_info().method_ptr,();
880(AssetBundleRequestOptions)__receiver,(i32)::core::convert::Into::into(value))
881        }
882    }
883    #[doc = "`get_BundleName()` overload"]
884    fn get_bundle_name(self) -> ::unity::Il2CppString {
885        unsafe {
886            let __receiver =
887                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
888            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_bundle_name::get_method_info().method_ptr, ::unity::Il2CppString;
889(AssetBundleRequestOptions)__receiver)
890        }
891    }
892    #[doc = "`set_BundleName(::unity::Il2CppString)` overload"]
893    fn set_bundle_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
894        unsafe {
895            let __receiver =
896                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
897            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_bundle_name::get_method_info().method_ptr,();
898(AssetBundleRequestOptions)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
899        }
900    }
901    #[doc = "`get_BundleSize()` overload"]
902    fn get_bundle_size(self) -> i64 {
903        unsafe {
904            let __receiver =
905                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
906            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_bundle_size::get_method_info().method_ptr,i64;
907(AssetBundleRequestOptions)__receiver)
908        }
909    }
910    #[doc = "`set_BundleSize(i64)` overload"]
911    fn set_bundle_size(self, value: impl ::core::convert::Into<i64>) -> () {
912        unsafe {
913            let __receiver =
914                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
915            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_bundle_size::get_method_info().method_ptr,();
916(AssetBundleRequestOptions)__receiver,(i64)::core::convert::Into::into(value))
917        }
918    }
919    #[doc = "`get_UseCrcForCachedBundle()` overload"]
920    fn get_use_crc_for_cached_bundle(self) -> bool {
921        unsafe {
922            let __receiver =
923                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
924            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_use_crc_for_cached_bundle::get_method_info().method_ptr,bool;
925(AssetBundleRequestOptions)__receiver)
926        }
927    }
928    #[doc = "`set_UseCrcForCachedBundle(bool)` overload"]
929    fn set_use_crc_for_cached_bundle(self, value: impl ::core::convert::Into<bool>) -> () {
930        unsafe {
931            let __receiver =
932                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
933            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_use_crc_for_cached_bundle::get_method_info().method_ptr,();
934(AssetBundleRequestOptions)__receiver,(bool)::core::convert::Into::into(value))
935        }
936    }
937    #[doc = "`get_UseUnityWebRequestForLocalBundles()` overload"]
938    fn get_use_unity_web_request_for_local_bundles(self) -> bool {
939        unsafe {
940            let __receiver =
941                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
942            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_use_unity_web_request_for_local_bundles::get_method_info().method_ptr,bool;
943(AssetBundleRequestOptions)__receiver)
944        }
945    }
946    #[doc = "`set_UseUnityWebRequestForLocalBundles(bool)` overload"]
947    fn set_use_unity_web_request_for_local_bundles(self, value: impl ::core::convert::Into<bool>) -> () {
948        unsafe {
949            let __receiver =
950                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
951            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_use_unity_web_request_for_local_bundles::get_method_info().method_ptr,();
952(AssetBundleRequestOptions)__receiver,(bool)::core::convert::Into::into(value))
953        }
954    }
955    #[doc = "`get_ClearOtherCachedVersionsWhenLoaded()` overload"]
956    fn get_clear_other_cached_versions_when_loaded(self) -> bool {
957        unsafe {
958            let __receiver =
959                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
960            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_get_clear_other_cached_versions_when_loaded::get_method_info().method_ptr,bool;
961(AssetBundleRequestOptions)__receiver)
962        }
963    }
964    #[doc = "`set_ClearOtherCachedVersionsWhenLoaded(bool)` overload"]
965    fn set_clear_other_cached_versions_when_loaded(self, value: impl ::core::convert::Into<bool>) -> () {
966        unsafe {
967            let __receiver =
968                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
969            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_set_clear_other_cached_versions_when_loaded::get_method_info().method_ptr,();
970(AssetBundleRequestOptions)__receiver,(bool)::core::convert::Into::into(value))
971        }
972    }
973    #[doc = "`ComputeSize(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::resource_management::resourcemanager::ResourceManager)` overload"]
974    fn compute_size(
975        self,
976        location: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation>,
977        resource_manager: impl ::core::convert::Into<crate::unity_engine::resource_management::resourcemanager::ResourceManager>,
978    ) -> i64 {
979        unsafe {
980            let __receiver =
981                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
982            {
983                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
984                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
985                    panic!(
986                        "unity: virtual slot {}
987 out of range (vtable len {}
988) on the runtime class behind {}
989 (method `{}
990`)",
991                        5usize,
992                        __vt.len(),
993                        <AssetBundleRequestOptions as ::unity::ClassIdentity>::NAME,
994                        "ComputeSize",
995                    )
996                });
997                let __inner: extern "C" fn(
998                    AssetBundleRequestOptions,
999                    crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
1000                    crate::unity_engine::resource_management::resourcemanager::ResourceManager,
1001                    ::unity::OptionalMethod,
1002                ) -> i64 = ::core::mem::transmute(__vi.method_ptr);
1003                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1004                __inner(
1005                    __receiver,
1006                    ::core::convert::Into::into(location),
1007                    ::core::convert::Into::into(resource_manager),
1008                    __mi,
1009                )
1010            }
1011        }
1012    }
1013    #[doc = "`.ctor()` overload"]
1014    fn ctor(self) -> () {
1015        unsafe {
1016            let __receiver =
1017                <AssetBundleRequestOptions as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1018            ::unity::il2cpp_call!(__AssetBundleRequestOptions_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
1019(AssetBundleRequestOptions)__receiver)
1020        }
1021    }
1022}
1023
1024#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions")]
1025impl<__T: IAssetBundleRequestOptions> IAssetBundleRequestOptionsMethods for __T {}
1026
1027#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions")]
1028impl AssetBundleRequestOptions {
1029    pub fn get_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1031    }
1032
1033    pub fn set_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1035    }
1036
1037    pub fn get_crc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1039    }
1040
1041    pub fn set_crc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1043    }
1044
1045    pub fn get_timeout_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1046        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1047    }
1048
1049    pub fn set_timeout_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1050        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1051    }
1052
1053    pub fn get_chunked_transfer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1055    }
1056
1057    pub fn set_chunked_transfer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1059    }
1060
1061    pub fn get_redirect_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1063    }
1064
1065    pub fn set_redirect_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1067    }
1068
1069    pub fn get_retry_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1071    }
1072
1073    pub fn set_retry_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1075    }
1076
1077    pub fn get_bundle_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1079    }
1080
1081    pub fn set_bundle_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1082        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1083    }
1084
1085    pub fn get_bundle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1086        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1087    }
1088
1089    pub fn set_bundle_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1090        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1091    }
1092
1093    pub fn get_use_crc_for_cached_bundle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1094        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1095    }
1096
1097    pub fn set_use_crc_for_cached_bundle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1098        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1099    }
1100
1101    pub fn get_use_unity_web_request_for_local_bundles_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1102        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1103    }
1104
1105    pub fn set_use_unity_web_request_for_local_bundles_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1106        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1107    }
1108
1109    pub fn get_clear_other_cached_versions_when_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1110        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1111    }
1112
1113    pub fn set_clear_other_cached_versions_when_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1114        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1115    }
1116
1117    pub fn compute_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1118        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1119    }
1120
1121    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1122        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1123    }
1124}
1125
1126#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions")]
1127impl AssetBundleRequestOptions {
1128    #[doc = "Direct (non-virtual) call to `AssetBundleRequestOptions`'s own `ComputeSize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1129    pub unsafe fn compute_size(
1130        this: impl ::core::convert::Into<::unity::IlInstance>,
1131        location: crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
1132        resource_manager: crate::unity_engine::resource_management::resourcemanager::ResourceManager,
1133    ) -> i64 {
1134        let __mi = Self::compute_size_method_info();
1135        let __inner: extern "C" fn(
1136            ::unity::IlInstance,
1137            crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation,
1138            crate::unity_engine::resource_management::resourcemanager::ResourceManager,
1139            ::unity::OptionalMethod,
1140        ) -> i64 = ::core::mem::transmute(__mi.method_ptr);
1141        __inner(this.into(), location, resource_manager, ::core::option::Option::None)
1142    }
1143}
1144
1145#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions")]
1146impl AssetBundleRequestOptions {
1147    #[doc = "`.ctor()` — no args"]
1148    pub fn new() -> Self {
1149        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1150            panic!(
1151                "{}
1152::{}
1153 failed to instantiate",
1154                ::core::stringify!(AssetBundleRequestOptions),
1155                ::core::stringify!(new),
1156            )
1157        });
1158        <Self as IAssetBundleRequestOptionsMethods>::ctor(this);
1159        this
1160    }
1161}
1162
1163#[cfg(feature = "unity_engine-resource_management-resource_providers-assetbundlerequestoptions")]
1164#[doc(hidden)]
1165pub mod prelude {
1166    pub use super::{AssetBundleRequestOptions, IAssetBundleRequestOptions, IAssetBundleRequestOptionsMethods};
1167    pub use crate::system::object::IObject;
1168    #[cfg(feature = "system-object")]
1169    pub use crate::system::object::IObjectMethods;
1170}