Skip to main content

engage/generated/app/
mapsandbox.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapsandbox-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::singletonmonobehaviour_1::{ISingletonMonoBehaviour_1, SingletonMonoBehaviour_1},
10        system::object::{IObject, Object},
11        unity_engine::{
12            behaviour::{Behaviour, IBehaviour},
13            component::{Component, IComponent},
14            monobehaviour::{IMonoBehaviour, MonoBehaviour},
15            object_2::{IObject_2, Object_2},
16        },
17    };
18
19    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsandbox/MapSandBox.md"))]
20    #[::unity::class(namespace = "App", name = "MapSandBox")]
21    #[parent(crate::app::singletonmonobehaviour_1::SingletonMonoBehaviour_1<crate::app::mapsandbox::MapSandBox>)]
22    pub struct MapSandBox {}
23}
24
25#[cfg(feature = "app-mapsandbox-types")]
26pub use __types::*;
27
28#[cfg(feature = "app-mapsandbox")]
29pub trait IMapSandBoxMethods: IMapSandBox {
30    #[doc = "`.ctor()` overload"]
31    fn ctor(self) -> () {
32        unsafe {
33            let __receiver = <MapSandBox as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
34            ::unity::il2cpp_call!((::unity::module_base()+0x2362610usize)as*mut u8,();
35(MapSandBox)__receiver)
36        }
37    }
38}
39
40#[cfg(feature = "app-mapsandbox")]
41impl<__T: IMapSandBox> IMapSandBoxMethods for __T {}
42
43#[cfg(feature = "app-mapsandbox")]
44impl MapSandBox {
45    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
46        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
47    }
48}
49
50#[cfg(feature = "app-mapsandbox")]
51impl MapSandBox {
52    #[doc = "`.ctor()` — no args"]
53    pub fn new() -> Self {
54        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
55            panic!(
56                "{}
57::{}
58 failed to instantiate",
59                ::core::stringify!(MapSandBox),
60                ::core::stringify!(new),
61            )
62        });
63        <Self as IMapSandBoxMethods>::ctor(this);
64        this
65    }
66}
67
68#[cfg(feature = "app-mapsandbox")]
69#[doc(hidden)]
70pub mod prelude {
71    pub use super::{IMapSandBox, IMapSandBoxMethods, MapSandBox};
72    #[cfg(feature = "app-singletonmonobehaviour_1")]
73    pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
74    #[cfg(feature = "system-object")]
75    pub use crate::system::object::IObjectMethods;
76    #[cfg(feature = "unity_engine-behaviour")]
77    pub use crate::unity_engine::behaviour::IBehaviourMethods;
78    #[cfg(feature = "unity_engine-component")]
79    pub use crate::unity_engine::component::IComponentMethods;
80    #[cfg(feature = "unity_engine-monobehaviour")]
81    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
82    #[cfg(feature = "unity_engine-object_2")]
83    pub use crate::unity_engine::object_2::IObject_2Methods;
84    pub use crate::{
85        app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
86        system::object::IObject,
87        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
88    };
89}