Skip to main content

engage/generated/app/
gmapwholemapcontroller.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-gmapwholemapcontroller-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/gmapwholemapcontroller/GmapWholeMapController.md"))]
19    #[::unity::class(namespace = "App", name = "GmapWholeMapController")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct GmapWholeMapController {
22        #[static_field]
23        #[rename(name = "PrefabPath")]
24        pub prefab_path: ::unity::Il2CppString,
25        #[static_field]
26        #[rename(name = "GmapGodPath")]
27        pub gmap_god_path: ::unity::Il2CppString,
28        #[static_field]
29        #[rename(name = "GmapEvilPath")]
30        pub gmap_evil_path: ::unity::Il2CppString,
31        #[offset(24)]
32        #[rename(name = "m_MapImageBefore")]
33        pub m_map_image_before: crate::unity_engine::sprite::Sprite,
34        #[offset(32)]
35        #[rename(name = "m_MapImageAfter")]
36        pub m_map_image_after: crate::unity_engine::sprite::Sprite,
37        #[static_field]
38        #[rename(name = "s_LoadedPath")]
39        pub s_loaded_path: ::unity::Il2CppString,
40        #[offset(40)]
41        #[rename(name = "m_CanvasGroup")]
42        pub m_canvas_group: crate::unity_engine::canvasgroup::CanvasGroup,
43        #[offset(48)]
44        #[rename(name = "m_Alpha")]
45        pub m_alpha: crate::app::interpolatorfloat::InterpolatorFloat,
46    }
47}
48
49#[cfg(feature = "app-gmapwholemapcontroller-types")]
50pub use __types::*;
51
52#[cfg(feature = "app-gmapwholemapcontroller")]
53impl GmapWholeMapController {
54    #[doc = "`LoadPrefabAsync()` overload"]
55    pub fn load_prefab_async() -> () {
56        unsafe {
57            ::unity::il2cpp_call!((::unity::module_base()+0x2b3b1d0usize)as*mut u8,();
58            )
59        }
60    }
61
62    #[doc = "`IsLoadingPrefab()` overload"]
63    pub fn is_loading_prefab() -> bool {
64        unsafe {
65            ::unity::il2cpp_call!((::unity::module_base()+0x2b3b4c0usize)as*mut u8,bool;
66            )
67        }
68    }
69
70    #[doc = "`UnloadPrefab()` overload"]
71    pub fn unload_prefab() -> () {
72        unsafe {
73            ::unity::il2cpp_call!((::unity::module_base()+0x2b3a2c0usize)as*mut u8,();
74            )
75        }
76    }
77
78    #[doc = "`Create()` overload"]
79    pub fn create() -> crate::app::gmapwholemapcontroller::GmapWholeMapController {
80        unsafe {
81            ::unity::il2cpp_call!((::unity::module_base()+0x2b3d200usize)as*mut u8,crate::app::gmapwholemapcontroller::GmapWholeMapController;
82            )
83        }
84    }
85
86    #[doc = "`Destroy(crate::app::gmapwholemapcontroller::GmapWholeMapController)` overload"]
87    pub fn destroy(content: impl ::core::convert::Into<crate::app::gmapwholemapcontroller::GmapWholeMapController>) -> () {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x2b3a240usize)as*mut u8,();
90(crate::app::gmapwholemapcontroller::GmapWholeMapController)::core::convert::Into::into(content))
91        }
92    }
93
94    #[doc = "`GetDlcPath()` overload"]
95    pub fn get_dlc_path() -> ::unity::Il2CppString {
96        unsafe {
97            ::unity::il2cpp_call!((::unity::module_base()+0x2b4c3c0usize)as*mut u8, ::unity::Il2CppString;
98            )
99        }
100    }
101
102    #[doc = "`.cctor()` overload"]
103    pub fn cctor() -> () {
104        unsafe {
105            ::unity::il2cpp_call!((::unity::module_base()+0x2b4c9b0usize)as*mut u8,();
106            )
107        }
108    }
109}
110
111#[cfg(feature = "app-gmapwholemapcontroller")]
112pub trait IGmapWholeMapControllerMethods: IGmapWholeMapController {
113    #[doc = "`Awake()` overload"]
114    fn awake(self) -> () {
115        unsafe {
116            let __receiver =
117                <GmapWholeMapController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x2b4c4d0usize)as*mut u8,();
119(GmapWholeMapController)__receiver)
120        }
121    }
122    #[doc = "`SetSprite()` overload"]
123    fn set_sprite(self) -> () {
124        unsafe {
125            let __receiver =
126                <GmapWholeMapController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x2b4c5b0usize)as*mut u8,();
128(GmapWholeMapController)__receiver)
129        }
130    }
131    #[doc = "`Update()` overload"]
132    fn update(self) -> () {
133        unsafe {
134            let __receiver =
135                <GmapWholeMapController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x2b4c7d0usize)as*mut u8,();
137(GmapWholeMapController)__receiver)
138        }
139    }
140    #[doc = "`SetAlpha(f32, f32)` overload"]
141    fn set_alpha(self, alpha: impl ::core::convert::Into<f32>, time: impl ::core::convert::Into<f32>) -> () {
142        unsafe {
143            let __receiver =
144                <GmapWholeMapController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x2b4c7c0usize)as*mut u8,();
146(GmapWholeMapController)__receiver,(f32)::core::convert::Into::into(alpha),(f32)::core::convert::Into::into(time))
147        }
148    }
149    #[doc = "`.ctor()` overload"]
150    fn ctor(self) -> () {
151        unsafe {
152            let __receiver =
153                <GmapWholeMapController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154            ::unity::il2cpp_call!((::unity::module_base()+0x2b4c930usize)as*mut u8,();
155(GmapWholeMapController)__receiver)
156        }
157    }
158}
159
160#[cfg(feature = "app-gmapwholemapcontroller")]
161impl<__T: IGmapWholeMapController> IGmapWholeMapControllerMethods for __T {}
162
163#[cfg(feature = "app-gmapwholemapcontroller")]
164impl GmapWholeMapController {
165    pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
166        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
167    }
168
169    pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
170        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
171    }
172
173    pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
174        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
175    }
176
177    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
178        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
179    }
180
181    pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
182        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
183    }
184
185    pub fn get_dlc_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
187    }
188
189    pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
191    }
192
193    pub fn set_sprite_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
195    }
196
197    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
199    }
200
201    pub fn set_alpha_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
203    }
204
205    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
207    }
208
209    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
211    }
212}
213
214#[cfg(feature = "app-gmapwholemapcontroller")]
215impl GmapWholeMapController {
216    #[doc = "`.ctor()` — no args"]
217    pub fn new() -> Self {
218        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
219            panic!(
220                "{}
221::{}
222 failed to instantiate",
223                ::core::stringify!(GmapWholeMapController),
224                ::core::stringify!(new),
225            )
226        });
227        <Self as IGmapWholeMapControllerMethods>::ctor(this);
228        this
229    }
230}
231
232#[cfg(feature = "app-gmapwholemapcontroller")]
233#[doc(hidden)]
234pub mod prelude {
235    pub use super::{GmapWholeMapController, IGmapWholeMapController, IGmapWholeMapControllerMethods};
236    #[cfg(feature = "system-object")]
237    pub use crate::system::object::IObjectMethods;
238    #[cfg(feature = "unity_engine-behaviour")]
239    pub use crate::unity_engine::behaviour::IBehaviourMethods;
240    #[cfg(feature = "unity_engine-component")]
241    pub use crate::unity_engine::component::IComponentMethods;
242    #[cfg(feature = "unity_engine-monobehaviour")]
243    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
244    #[cfg(feature = "unity_engine-object_2")]
245    pub use crate::unity_engine::object_2::IObject_2Methods;
246    pub use crate::{
247        system::object::IObject,
248        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
249    };
250}