Skip to main content

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

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::resource_management::resource_providers::resourceproviderbase::{IResourceProviderBase, ResourceProviderBase},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/resource_management/resource_providers/bundledassetprovider/BundledAssetProvider.md"))]
14    #[::unity::class(namespace = "UnityEngine.ResourceManagement.ResourceProviders", name = "BundledAssetProvider")]
15    #[parent(crate::unity_engine::resource_management::resource_providers::resourceproviderbase::ResourceProviderBase)]
16    pub struct BundledAssetProvider {}
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/resource_management/resource_providers/bundledassetprovider/BundledAssetProvider_InternalOp.md"))]
19    #[::unity::class(namespace = "UnityEngine.ResourceManagement.ResourceProviders", name = "BundledAssetProvider.InternalOp")]
20    #[parent(crate::system::object::Object)]
21    pub struct BundledAssetProvider_InternalOp {
22        #[offset(16)]
23        #[rename(name = "m_RequestOperation")]
24        pub m_request_operation: crate::unity_engine::assetbundlerequest::AssetBundleRequest,
25        #[offset(24)]
26        #[rename(name = "m_Result")]
27        pub m_result: ::unity::IlInstance,
28        #[offset(32)]
29        #[rename(name = "m_ProvideHandle")]
30        pub m_provide_handle: crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle,
31        #[offset(56)]
32        #[rename(name = "subObjectName")]
33        pub sub_object_name: ::unity::Il2CppString,
34    }
35}
36
37#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider-types")]
38pub use __types::*;
39
40#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
41#[doc(hidden)]
42#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
43mod __BundledAssetProvider_unity_raw {
44    use super::*;
45    #[doc(hidden)]
46    #[allow(non_snake_case)]
47    pub mod __lookup_ctor {
48        use super::*;
49        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
50            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
51            ::unity::lookup::method_info_on_class_with_signature(
52                <BundledAssetProvider as ::unity::ClassIdentity>::class(),
53                ".ctor",
54                0,
55                param_types,
56                false,
57            )
58        });
59        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
60            match &*METHOD {
61                ::core::result::Result::Ok(mi) => *mi,
62                ::core::result::Result::Err(e) => {
63                    panic!(
64                        "method lookup failed: {}
65::{}
66: {}
67",
68                        <BundledAssetProvider as ::unity::ClassIdentity>::NAME,
69                        ".ctor",
70                        e
71                    )
72                },
73            }
74        }
75    }
76}
77
78#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
79pub trait IBundledAssetProviderMethods: IBundledAssetProvider {
80    #[doc = "`Provide(crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle)` overload"]
81    fn provide(
82        self,
83        provide_handle: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle>,
84    ) -> () {
85        unsafe {
86            let __receiver = <BundledAssetProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            {
88                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
89                let __vi = *__vt.get(17usize).unwrap_or_else(|| {
90                    panic!(
91                        "unity: virtual slot {}
92 out of range (vtable len {}
93) on the runtime class behind {}
94 (method `{}
95`)",
96                        17usize,
97                        __vt.len(),
98                        <BundledAssetProvider as ::unity::ClassIdentity>::NAME,
99                        "Provide",
100                    )
101                });
102                let __inner: extern "C" fn(
103                    BundledAssetProvider,
104                    crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle,
105                    ::unity::OptionalMethod,
106                ) -> () = ::core::mem::transmute(__vi.method_ptr);
107                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
108                __inner(__receiver, ::core::convert::Into::into(provide_handle), __mi)
109            }
110        }
111    }
112    #[doc = "`.ctor()` overload"]
113    fn ctor(self) -> () {
114        unsafe {
115            let __receiver = <BundledAssetProvider as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116            ::unity::il2cpp_call!(__BundledAssetProvider_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
117(BundledAssetProvider)__receiver)
118        }
119    }
120}
121
122#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
123impl<__T: IBundledAssetProvider> IBundledAssetProviderMethods for __T {}
124
125#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
126impl BundledAssetProvider {
127    pub fn provide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
129    }
130
131    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
133    }
134}
135
136#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
137impl BundledAssetProvider {
138    #[doc = "Direct (non-virtual) call to `BundledAssetProvider`'s own `Provide`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
139    pub unsafe fn provide(
140        this: impl ::core::convert::Into<::unity::IlInstance>,
141        provide_handle: crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle,
142    ) -> () {
143        let __mi = Self::provide_method_info();
144        let __inner: extern "C" fn(
145            ::unity::IlInstance,
146            crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle,
147            ::unity::OptionalMethod,
148        ) -> () = ::core::mem::transmute(__mi.method_ptr);
149        __inner(this.into(), provide_handle, ::core::option::Option::None)
150    }
151}
152
153#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
154impl BundledAssetProvider {
155    #[doc = "`.ctor()` — no args"]
156    pub fn new() -> Self {
157        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
158            panic!(
159                "{}
160::{}
161 failed to instantiate",
162                ::core::stringify!(BundledAssetProvider),
163                ::core::stringify!(new),
164            )
165        });
166        <Self as IBundledAssetProviderMethods>::ctor(this);
167        this
168    }
169}
170
171#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
172#[doc(hidden)]
173#[allow(non_snake_case, non_camel_case_types, clippy::too_many_arguments)]
174mod __BundledAssetProvider_InternalOp_unity_raw {
175    use super::*;
176    #[doc(hidden)]
177    #[allow(non_snake_case)]
178    pub mod __lookup_load_bundle_from_dependecies {
179        use super::*;
180        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
181            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<
182                crate::system::object::Object,
183            > as ::unity::IlType>::il_type()];
184            ::unity::lookup::method_info_on_class_with_signature(
185                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
186                "LoadBundleFromDependecies",
187                1,
188                param_types,
189                true,
190            )
191        });
192        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193            match &*METHOD {
194                ::core::result::Result::Ok(mi) => *mi,
195                ::core::result::Result::Err(e) => {
196                    panic!(
197                        "method lookup failed: {}
198::{}
199: {}
200",
201                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
202                        "LoadBundleFromDependecies",
203                        e
204                    )
205                },
206            }
207        }
208    }
209    #[doc(hidden)]
210    #[allow(non_snake_case)]
211    pub mod __lookup_start {
212        use super::*;
213        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
214            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
215                &[<crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle as ::unity::IlType>::il_type()];
216            ::unity::lookup::method_info_on_class_with_signature(
217                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
218                "Start",
219                1,
220                param_types,
221                false,
222            )
223        });
224        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
225            match &*METHOD {
226                ::core::result::Result::Ok(mi) => *mi,
227                ::core::result::Result::Err(e) => {
228                    panic!(
229                        "method lookup failed: {}
230::{}
231: {}
232",
233                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
234                        "Start",
235                        e
236                    )
237                },
238            }
239        }
240    }
241    #[doc(hidden)]
242    #[allow(non_snake_case)]
243    pub mod __lookup_wait_for_completion_handler {
244        use super::*;
245        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
246            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
247            ::unity::lookup::method_info_on_class_with_signature(
248                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
249                "WaitForCompletionHandler",
250                0,
251                param_types,
252                false,
253            )
254        });
255        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256            match &*METHOD {
257                ::core::result::Result::Ok(mi) => *mi,
258                ::core::result::Result::Err(e) => {
259                    panic!(
260                        "method lookup failed: {}
261::{}
262: {}
263",
264                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
265                        "WaitForCompletionHandler",
266                        e
267                    )
268                },
269            }
270        }
271    }
272    #[doc(hidden)]
273    #[allow(non_snake_case)]
274    pub mod __lookup_action_complete {
275        use super::*;
276        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
277            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
278                &[<crate::unity_engine::asyncoperation::AsyncOperation as ::unity::IlType>::il_type()];
279            ::unity::lookup::method_info_on_class_with_signature(
280                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
281                "ActionComplete",
282                1,
283                param_types,
284                false,
285            )
286        });
287        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288            match &*METHOD {
289                ::core::result::Result::Ok(mi) => *mi,
290                ::core::result::Result::Err(e) => {
291                    panic!(
292                        "method lookup failed: {}
293::{}
294: {}
295",
296                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
297                        "ActionComplete",
298                        e
299                    )
300                },
301            }
302        }
303    }
304    #[doc(hidden)]
305    #[allow(non_snake_case)]
306    pub mod __lookup_get_array_result {
307        use super::*;
308        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
309            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
310                &[<::unity::Array<crate::unity_engine::object_2::Object_2> as ::unity::IlType>::il_type()];
311            ::unity::lookup::method_info_on_class_with_signature(
312                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
313                "GetArrayResult",
314                1,
315                param_types,
316                false,
317            )
318        });
319        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320            match &*METHOD {
321                ::core::result::Result::Ok(mi) => *mi,
322                ::core::result::Result::Err(e) => {
323                    panic!(
324                        "method lookup failed: {}
325::{}
326: {}
327",
328                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
329                        "GetArrayResult",
330                        e
331                    )
332                },
333            }
334        }
335    }
336    #[doc(hidden)]
337    #[allow(non_snake_case)]
338    pub mod __lookup_get_list_result {
339        use super::*;
340        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
341            let param_types: &[&'static ::unity::il2cpp::Il2CppType] =
342                &[<::unity::Array<crate::unity_engine::object_2::Object_2> as ::unity::IlType>::il_type()];
343            ::unity::lookup::method_info_on_class_with_signature(
344                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
345                "GetListResult",
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                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
361                        "GetListResult",
362                        e
363                    )
364                },
365            }
366        }
367    }
368    #[doc(hidden)]
369    #[allow(non_snake_case)]
370    pub mod __lookup_get_asset_result {
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] = &[<crate::unity_engine::object_2::Object_2 as ::unity::IlType>::il_type()];
374            ::unity::lookup::method_info_on_class_with_signature(
375                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
376                "GetAssetResult",
377                1,
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                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
392                        "GetAssetResult",
393                        e
394                    )
395                },
396            }
397        }
398    }
399    #[doc(hidden)]
400    #[allow(non_snake_case)]
401    pub mod __lookup_get_asset_sub_object_result {
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] =
405                &[<::unity::Array<crate::unity_engine::object_2::Object_2> as ::unity::IlType>::il_type()];
406            ::unity::lookup::method_info_on_class_with_signature(
407                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
408                "GetAssetSubObjectResult",
409                1,
410                param_types,
411                false,
412            )
413        });
414        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
415            match &*METHOD {
416                ::core::result::Result::Ok(mi) => *mi,
417                ::core::result::Result::Err(e) => {
418                    panic!(
419                        "method lookup failed: {}
420::{}
421: {}
422",
423                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
424                        "GetAssetSubObjectResult",
425                        e
426                    )
427                },
428            }
429        }
430    }
431    #[doc(hidden)]
432    #[allow(non_snake_case)]
433    pub mod __lookup_complete_operation {
434        use super::*;
435        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
436            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
437            ::unity::lookup::method_info_on_class_with_signature(
438                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
439                "CompleteOperation",
440                0,
441                param_types,
442                false,
443            )
444        });
445        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446            match &*METHOD {
447                ::core::result::Result::Ok(mi) => *mi,
448                ::core::result::Result::Err(e) => {
449                    panic!(
450                        "method lookup failed: {}
451::{}
452: {}
453",
454                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
455                        "CompleteOperation",
456                        e
457                    )
458                },
459            }
460        }
461    }
462    #[doc(hidden)]
463    #[allow(non_snake_case)]
464    pub mod __lookup_progress_callback {
465        use super::*;
466        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
467            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
468            ::unity::lookup::method_info_on_class_with_signature(
469                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
470                "ProgressCallback",
471                0,
472                param_types,
473                false,
474            )
475        });
476        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477            match &*METHOD {
478                ::core::result::Result::Ok(mi) => *mi,
479                ::core::result::Result::Err(e) => {
480                    panic!(
481                        "method lookup failed: {}
482::{}
483: {}
484",
485                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
486                        "ProgressCallback",
487                        e
488                    )
489                },
490            }
491        }
492    }
493    #[doc(hidden)]
494    #[allow(non_snake_case)]
495    pub mod __lookup_ctor {
496        use super::*;
497        static METHOD: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> = ::std::sync::LazyLock::new(|| {
498            let param_types: &[&'static ::unity::il2cpp::Il2CppType] = &[];
499            ::unity::lookup::method_info_on_class_with_signature(
500                <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::class(),
501                ".ctor",
502                0,
503                param_types,
504                false,
505            )
506        });
507        pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508            match &*METHOD {
509                ::core::result::Result::Ok(mi) => *mi,
510                ::core::result::Result::Err(e) => {
511                    panic!(
512                        "method lookup failed: {}
513::{}
514: {}
515",
516                        <BundledAssetProvider_InternalOp as ::unity::ClassIdentity>::NAME,
517                        ".ctor",
518                        e
519                    )
520                },
521            }
522        }
523    }
524}
525
526#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
527impl BundledAssetProvider_InternalOp {
528    #[doc = "`LoadBundleFromDependecies(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)` overload"]
529    pub fn load_bundle_from_dependecies(
530        results: impl ::core::convert::Into<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>>,
531    ) -> crate::unity_engine::resource_management::resource_providers::iassetbundleresource_interface::IAssetBundleResource_Interface {
532        unsafe {
533            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_load_bundle_from_dependecies::get_method_info().method_ptr,crate::unity_engine::resource_management::resource_providers::iassetbundleresource_interface::IAssetBundleResource_Interface;
534(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::object::Object>)::core::convert::Into::into(results))
535        }
536    }
537}
538
539#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
540pub trait IBundledAssetProvider_InternalOpMethods: IBundledAssetProvider_InternalOp {
541    #[doc = "`Start(crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle)` overload"]
542    fn start(
543        self,
544        provide_handle: impl ::core::convert::Into<crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle>,
545    ) -> () {
546        unsafe {
547            let __receiver =
548                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
549            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_start::get_method_info().method_ptr,();
550(BundledAssetProvider_InternalOp)__receiver,(crate::unity_engine::resource_management::resource_providers::providehandle::ProvideHandle)::core::convert::Into::into(provide_handle))
551        }
552    }
553    #[doc = "`WaitForCompletionHandler()` overload"]
554    fn wait_for_completion_handler(self) -> bool {
555        unsafe {
556            let __receiver =
557                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
558            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_wait_for_completion_handler::get_method_info().method_ptr,bool;
559(BundledAssetProvider_InternalOp)__receiver)
560        }
561    }
562    #[doc = "`ActionComplete(crate::unity_engine::asyncoperation::AsyncOperation)` overload"]
563    fn action_complete(self, obj: impl ::core::convert::Into<crate::unity_engine::asyncoperation::AsyncOperation>) -> () {
564        unsafe {
565            let __receiver =
566                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
567            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_action_complete::get_method_info().method_ptr,();
568(BundledAssetProvider_InternalOp)__receiver,(crate::unity_engine::asyncoperation::AsyncOperation)::core::convert::Into::into(obj))
569        }
570    }
571    #[doc = "`GetArrayResult(::unity::Array<crate::unity_engine::object_2::Object_2>)` overload"]
572    fn get_array_result(self, all_assets: impl ::core::convert::Into<::unity::Array<crate::unity_engine::object_2::Object_2>>) -> () {
573        unsafe {
574            let __receiver =
575                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
576            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_get_array_result::get_method_info().method_ptr,();
577(BundledAssetProvider_InternalOp)__receiver,(::unity::Array<crate::unity_engine::object_2::Object_2>)::core::convert::Into::into(all_assets))
578        }
579    }
580    #[doc = "`GetListResult(::unity::Array<crate::unity_engine::object_2::Object_2>)` overload"]
581    fn get_list_result(self, all_assets: impl ::core::convert::Into<::unity::Array<crate::unity_engine::object_2::Object_2>>) -> () {
582        unsafe {
583            let __receiver =
584                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
585            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_get_list_result::get_method_info().method_ptr,();
586(BundledAssetProvider_InternalOp)__receiver,(::unity::Array<crate::unity_engine::object_2::Object_2>)::core::convert::Into::into(all_assets))
587        }
588    }
589    #[doc = "`GetAssetResult(crate::unity_engine::object_2::Object_2)` overload"]
590    fn get_asset_result(self, asset: impl ::core::convert::Into<crate::unity_engine::object_2::Object_2>) -> () {
591        unsafe {
592            let __receiver =
593                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
594            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_get_asset_result::get_method_info().method_ptr,();
595(BundledAssetProvider_InternalOp)__receiver,(crate::unity_engine::object_2::Object_2)::core::convert::Into::into(asset))
596        }
597    }
598    #[doc = "`GetAssetSubObjectResult(::unity::Array<crate::unity_engine::object_2::Object_2>)` overload"]
599    fn get_asset_sub_object_result(self, all_assets: impl ::core::convert::Into<::unity::Array<crate::unity_engine::object_2::Object_2>>) -> () {
600        unsafe {
601            let __receiver =
602                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
603            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_get_asset_sub_object_result::get_method_info().method_ptr,();
604(BundledAssetProvider_InternalOp)__receiver,(::unity::Array<crate::unity_engine::object_2::Object_2>)::core::convert::Into::into(all_assets))
605        }
606    }
607    #[doc = "`CompleteOperation()` overload"]
608    fn complete_operation(self) -> () {
609        unsafe {
610            let __receiver =
611                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
612            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_complete_operation::get_method_info().method_ptr,();
613(BundledAssetProvider_InternalOp)__receiver)
614        }
615    }
616    #[doc = "`ProgressCallback()` overload"]
617    fn progress_callback(self) -> f32 {
618        unsafe {
619            let __receiver =
620                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
621            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_progress_callback::get_method_info().method_ptr,f32;
622(BundledAssetProvider_InternalOp)__receiver)
623        }
624    }
625    #[doc = "`.ctor()` overload"]
626    fn ctor(self) -> () {
627        unsafe {
628            let __receiver =
629                <BundledAssetProvider_InternalOp as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630            ::unity::il2cpp_call!(__BundledAssetProvider_InternalOp_unity_raw::__lookup_ctor::get_method_info().method_ptr,();
631(BundledAssetProvider_InternalOp)__receiver)
632        }
633    }
634}
635
636#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
637impl<__T: IBundledAssetProvider_InternalOp> IBundledAssetProvider_InternalOpMethods for __T {}
638
639#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
640impl BundledAssetProvider_InternalOp {
641    pub fn load_bundle_from_dependecies_method_info() -> &'static ::unity::il2cpp::MethodInfo {
642        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
643    }
644
645    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
646        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
647    }
648
649    pub fn wait_for_completion_handler_method_info() -> &'static ::unity::il2cpp::MethodInfo {
650        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
651    }
652
653    pub fn action_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
654        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
655    }
656
657    pub fn get_array_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
658        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
659    }
660
661    pub fn get_list_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
662        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
663    }
664
665    pub fn get_asset_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
666        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
667    }
668
669    pub fn get_asset_sub_object_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
671    }
672
673    pub fn complete_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
675    }
676
677    pub fn progress_callback_method_info() -> &'static ::unity::il2cpp::MethodInfo {
678        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
679    }
680
681    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
682        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
683    }
684}
685
686#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
687impl BundledAssetProvider_InternalOp {
688    #[doc = "`.ctor()` — no args"]
689    pub fn new() -> Self {
690        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
691            panic!(
692                "{}
693::{}
694 failed to instantiate",
695                ::core::stringify!(BundledAssetProvider_InternalOp),
696                ::core::stringify!(new),
697            )
698        });
699        <Self as IBundledAssetProvider_InternalOpMethods>::ctor(this);
700        this
701    }
702}
703
704#[cfg(feature = "unity_engine-resource_management-resource_providers-bundledassetprovider")]
705#[doc(hidden)]
706pub mod prelude {
707    pub use super::{
708        BundledAssetProvider, BundledAssetProvider_InternalOp, IBundledAssetProvider, IBundledAssetProviderMethods, IBundledAssetProvider_InternalOp,
709        IBundledAssetProvider_InternalOpMethods,
710    };
711    #[cfg(feature = "system-object")]
712    pub use crate::system::object::IObjectMethods;
713    #[cfg(feature = "unity_engine-resource_management-resource_providers-resourceproviderbase")]
714    pub use crate::unity_engine::resource_management::resource_providers::resourceproviderbase::IResourceProviderBaseMethods;
715    pub use crate::{system::object::IObject, unity_engine::resource_management::resource_providers::resourceproviderbase::IResourceProviderBase};
716}