Skip to main content

engage/generated/app/
gmapspotcontroller.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-gmapspotcontroller-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::{
10            object::{IObject, Object},
11            r#enum::{Enum, IEnum},
12            valuetype::{IValueType, ValueType},
13        },
14        unity_engine::{
15            behaviour::{Behaviour, IBehaviour},
16            component::{Component, IComponent},
17            monobehaviour::{IMonoBehaviour, MonoBehaviour},
18            object_2::{IObject_2, Object_2},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapspotcontroller/GmapSpotController.md"))]
23    #[::unity::class(namespace = "App", name = "GmapSpotController")]
24    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
25    pub struct GmapSpotController {
26        #[offset(24)]
27        #[rename(name = "m_StandMeshRenderer")]
28        pub m_stand_mesh_renderer: crate::unity_engine::meshrenderer::MeshRenderer,
29        #[offset(32)]
30        #[rename(name = "m_StoneMeshRenderer")]
31        pub m_stone_mesh_renderer: crate::unity_engine::meshrenderer::MeshRenderer,
32        #[offset(40)]
33        #[rename(name = "m_Materials")]
34        pub m_materials: crate::system::collections::generic::list_1::List_1<crate::unity_engine::material::Material>,
35        #[offset(48)]
36        #[rename(name = "m_MeshRenderer")]
37        pub m_mesh_renderer: crate::unity_engine::meshrenderer::MeshRenderer,
38        #[offset(56)]
39        #[rename(name = "m_Spot")]
40        pub m_spot: crate::app::gmapspot::GmapSpot,
41        #[static_field]
42        #[rename(name = "NextSpotEffectPath")]
43        pub next_spot_effect_path: ::unity::Il2CppString,
44        #[offset(64)]
45        #[rename(name = "m_Effect")]
46        pub m_effect: crate::unity_engine::gameobject::GameObject,
47        #[offset(72)]
48        #[rename(name = "m_IsInitialized")]
49        pub m_is_initialized: bool,
50        #[offset(80)]
51        #[rename(name = "m_StandEmissionColor")]
52        pub m_stand_emission_color: crate::app::interpolatorcolor::InterpolatorColor,
53        #[offset(88)]
54        #[rename(name = "m_StoneEmissionColor")]
55        pub m_stone_emission_color: crate::app::interpolatorcolor::InterpolatorColor,
56    }
57
58    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gmapspotcontroller/GmapSpotController_Type.md"))]
59    #[repr(C)]
60    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
61    pub struct GmapSpotController_Type {
62        pub value: i32,
63    }
64    impl ::unity::ClassIdentity for GmapSpotController_Type {
65        const NAME: &'static str = "GmapSpotController.Type";
66        const NAMESPACE: &'static str = "App";
67
68        fn class() -> ::unity::Class {
69            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
70            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
71        }
72    }
73    impl ::unity::IlType for GmapSpotController_Type {
74        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
75            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
76        }
77    }
78    impl GmapSpotController_Type {
79        pub fn main_chapter() -> Self {
80            Self { value: 0 }
81        }
82
83        pub fn sub_chapter() -> Self {
84            Self { value: 1 }
85        }
86
87        pub fn cleared() -> Self {
88            Self { value: 2 }
89        }
90
91        pub fn encount() -> Self {
92            Self { value: 3 }
93        }
94    }
95}
96
97#[cfg(feature = "app-gmapspotcontroller-types")]
98pub use __types::*;
99
100#[cfg(feature = "app-gmapspotcontroller")]
101impl GmapSpotController {
102    #[doc = "`.cctor()` overload"]
103    pub fn cctor() -> () {
104        unsafe {
105            ::unity::il2cpp_call!((::unity::module_base()+0x2b48600usize)as*mut u8,();
106            )
107        }
108    }
109}
110
111#[cfg(feature = "app-gmapspotcontroller")]
112pub trait IGmapSpotControllerMethods: IGmapSpotController {
113    #[doc = "`Start()` overload"]
114    fn start(self) -> () {
115        unsafe {
116            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            ::unity::il2cpp_call!((::unity::module_base()+0x2b482e0usize)as*mut u8,();
118(GmapSpotController)__receiver)
119        }
120    }
121    #[doc = "`Initialize()` overload"]
122    fn initialize(self) -> () {
123        unsafe {
124            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
125            ::unity::il2cpp_call!((::unity::module_base()+0x2b3bb20usize)as*mut u8,();
126(GmapSpotController)__receiver)
127        }
128    }
129    #[doc = "`StartAppear()` overload"]
130    fn start_appear(self) -> bool {
131        unsafe {
132            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133            ::unity::il2cpp_call!((::unity::module_base()+0x2b45d40usize)as*mut u8,bool;
134(GmapSpotController)__receiver)
135        }
136    }
137    #[doc = "`AppearTick()` overload"]
138    fn appear_tick(self) -> bool {
139        unsafe {
140            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            ::unity::il2cpp_call!((::unity::module_base()+0x2b45f40usize)as*mut u8,bool;
142(GmapSpotController)__receiver)
143        }
144    }
145    #[doc = "`UpdateSpotColor()` overload"]
146    fn update_spot_color(self) -> () {
147        unsafe {
148            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149            ::unity::il2cpp_call!((::unity::module_base()+0x2b44fb0usize)as*mut u8,();
150(GmapSpotController)__receiver)
151        }
152    }
153    #[doc = "`SetMaterial(crate::app::gmapspotcontroller::GmapSpotController_Type)` overload"]
154    fn set_material(self, r#type: impl ::core::convert::Into<crate::app::gmapspotcontroller::GmapSpotController_Type>) -> () {
155        unsafe {
156            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157            ::unity::il2cpp_call!((::unity::module_base()+0x2b484b0usize)as*mut u8,();
158(GmapSpotController)__receiver,(crate::app::gmapspotcontroller::GmapSpotController_Type)::core::convert::Into::into(r#type))
159        }
160    }
161    #[doc = "`AdjustPos()` overload"]
162    fn adjust_pos(self) -> () {
163        unsafe {
164            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165            ::unity::il2cpp_call!((::unity::module_base()+0x2b483d0usize)as*mut u8,();
166(GmapSpotController)__receiver)
167        }
168    }
169    #[doc = "`.ctor()` overload"]
170    fn ctor(self) -> () {
171        unsafe {
172            let __receiver = <GmapSpotController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173            ::unity::il2cpp_call!((::unity::module_base()+0x2b48550usize)as*mut u8,();
174(GmapSpotController)__receiver)
175        }
176    }
177}
178
179#[cfg(feature = "app-gmapspotcontroller")]
180impl<__T: IGmapSpotController> IGmapSpotControllerMethods for __T {}
181
182#[cfg(feature = "app-gmapspotcontroller")]
183impl GmapSpotController {
184    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
186    }
187
188    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
190    }
191
192    pub fn start_appear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
194    }
195
196    pub fn appear_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
198    }
199
200    pub fn update_spot_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
202    }
203
204    pub fn set_material_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
206    }
207
208    pub fn adjust_pos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
210    }
211
212    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
213        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
214    }
215
216    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
217        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
218    }
219}
220
221#[cfg(feature = "app-gmapspotcontroller")]
222impl GmapSpotController {
223    #[doc = "`.ctor()` — no args"]
224    pub fn new() -> Self {
225        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
226            panic!(
227                "{}
228::{}
229 failed to instantiate",
230                ::core::stringify!(GmapSpotController),
231                ::core::stringify!(new),
232            )
233        });
234        <Self as IGmapSpotControllerMethods>::ctor(this);
235        this
236    }
237}
238
239#[cfg(feature = "app-gmapspotcontroller")]
240#[doc(hidden)]
241pub mod prelude {
242    pub use super::{GmapSpotController, GmapSpotController_Type, IGmapSpotController, IGmapSpotControllerMethods};
243    #[cfg(feature = "system-object")]
244    pub use crate::system::object::IObjectMethods;
245    #[cfg(feature = "system-enum")]
246    pub use crate::system::r#enum::IEnumMethods;
247    #[cfg(feature = "system-valuetype")]
248    pub use crate::system::valuetype::IValueTypeMethods;
249    #[cfg(feature = "unity_engine-behaviour")]
250    pub use crate::unity_engine::behaviour::IBehaviourMethods;
251    #[cfg(feature = "unity_engine-component")]
252    pub use crate::unity_engine::component::IComponentMethods;
253    #[cfg(feature = "unity_engine-monobehaviour")]
254    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
255    #[cfg(feature = "unity_engine-object_2")]
256    pub use crate::unity_engine::object_2::IObject_2Methods;
257    pub use crate::{
258        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
259        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
260    };
261}