Skip to main content

engage/generated/app/
scriptableassetbundle_1.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-scriptableassetbundle_1-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::irawassetbundle_1::{IIRawAssetBundle_1, IRawAssetBundle_1},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/scriptableassetbundle_1/ScriptableAssetBundle_1.md"))]
14    #[::unity::class(namespace = "App", name = "ScriptableAssetBundle`1")]
15    #[parent(crate::app::irawassetbundle_1::IRawAssetBundle_1<T0>)]
16    #[parent(crate::system::object::Object)]
17    pub struct ScriptableAssetBundle_1<T0: ::unity::ClassIdentity> {}
18}
19
20#[cfg(feature = "app-scriptableassetbundle_1-types")]
21pub use __types::*;
22
23#[cfg(feature = "app-scriptableassetbundle_1")]
24#[::unity::methods]
25impl<T0: ::unity::ClassIdentity> ScriptableAssetBundle_1<T0> {
26    #[doc = "`.ctor(::unity::Il2CppString)` overload"]
27    #[method(name = ".ctor", args = 1)]
28    pub fn ctor(self, path: ::unity::Il2CppString) -> ();
29}
30
31#[cfg(feature = "app-scriptableassetbundle_1")]
32impl<T0: ::unity::ClassIdentity> ScriptableAssetBundle_1<T0> {
33    #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
34    pub fn new(path: ::unity::Il2CppString) -> Self {
35        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
36            panic!(
37                "{}
38::{}
39 failed to instantiate",
40                ::core::stringify!(ScriptableAssetBundle_1),
41                ::core::stringify!(new),
42            )
43        });
44        <Self as IScriptableAssetBundle_1Methods<T0>>::ctor(this, path);
45        this
46    }
47}
48
49#[cfg(feature = "app-scriptableassetbundle_1")]
50#[doc(hidden)]
51pub mod prelude {
52    pub use super::{IScriptableAssetBundle_1, IScriptableAssetBundle_1Methods, ScriptableAssetBundle_1};
53    #[cfg(feature = "app-irawassetbundle_1")]
54    pub use crate::app::irawassetbundle_1::IIRawAssetBundle_1Methods;
55    #[cfg(feature = "system-object")]
56    pub use crate::system::object::IObjectMethods;
57    pub use crate::{
58        app::irawassetbundle_1::{IIRawAssetBundle_1, IRawAssetBundle_1},
59        system::object::IObject,
60    };
61}