Skip to main content

engage/generated/app/
maplightprobe.rs

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