1#[cfg(feature = "app-mappanelsortie-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 root::mappanelbase_1::{IMapPanelBase_1, MapPanelBase_1},
11 system::object::{IObject, Object},
12 unity_engine::{
13 behaviour::{Behaviour, IBehaviour},
14 component::{Component, IComponent},
15 monobehaviour::{IMonoBehaviour, MonoBehaviour},
16 object_2::{IObject_2, Object_2},
17 },
18 };
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappanelsortie/MapPanelSortie.md"))]
21 #[::unity::class(namespace = "App", name = "MapPanelSortie")]
22 #[parent(crate::root::mappanelbase_1::MapPanelBase_1<crate::app::mappanelsortie::MapPanelSortie>)]
23 pub struct MapPanelSortie {
24 #[offset(64)]
25 #[rename(name = "m_DontPosChangeMap")]
26 pub m_dont_pos_change_map: crate::app::mappanelsortie::MapPanelSortie_DontPosChangeMap,
27 #[offset(72)]
28 #[rename(name = "m_SelectX")]
29 pub m_select_x: i32,
30 #[offset(76)]
31 #[rename(name = "m_SelectZ")]
32 pub m_select_z: i32,
33 }
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappanelsortie/MapPanelSortie_DontPosChangeMap.md"))]
36 #[::unity::class(namespace = "App", name = "MapPanelSortie.DontPosChangeMap")]
37 #[parent(crate::system::object::Object)]
38 pub struct MapPanelSortie_DontPosChangeMap {
39 #[offset(16)]
40 #[rename(name = "m_Bits")]
41 pub m_bits: crate::system::collections::bitarray::BitArray,
42 }
43}
44
45#[cfg(feature = "app-mappanelsortie-types")]
46pub use __types::*;
47
48#[cfg(feature = "app-mappanelsortie")]
49impl MapPanelSortie {
50 #[doc = "`SetActive(bool)` overload"]
51 pub fn set_active(is_active: impl ::core::convert::Into<bool>) -> () {
52 unsafe {
53 ::unity::il2cpp_call!((::unity::module_base()+0x23559f0usize)as*mut u8,();
54(bool)::core::convert::Into::into(is_active))
55 }
56 }
57}
58
59#[cfg(feature = "app-mappanelsortie")]
60pub trait IMapPanelSortieMethods: IMapPanelSortie {
61 #[doc = "`Renew()` overload"]
62 fn renew(self) -> () {
63 unsafe {
64 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
65 ::unity::il2cpp_call!((::unity::module_base()+0x2355bc0usize)as*mut u8,();
66(MapPanelSortie)__receiver)
67 }
68 }
69 #[doc = "`SetSelect(i32, i32)` overload"]
70 fn set_select(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
71 unsafe {
72 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73 ::unity::il2cpp_call!((::unity::module_base()+0x2355f10usize)as*mut u8,();
74(MapPanelSortie)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
75 }
76 }
77 #[doc = "`ClearSelect()` overload"]
78 fn clear_select(self) -> () {
79 unsafe {
80 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81 ::unity::il2cpp_call!((::unity::module_base()+0x2355f20usize)as*mut u8,();
82(MapPanelSortie)__receiver)
83 }
84 }
85 #[doc = "`get_SelectX()` overload"]
86 fn get_select_x(self) -> i32 {
87 unsafe {
88 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89 ::unity::il2cpp_call!((::unity::module_base()+0x2355f30usize)as*mut u8,i32;
90(MapPanelSortie)__receiver)
91 }
92 }
93 #[doc = "`set_SelectX(i32)` overload"]
94 fn set_select_x(self, value: impl ::core::convert::Into<i32>) -> () {
95 unsafe {
96 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x2355f40usize)as*mut u8,();
98(MapPanelSortie)__receiver,(i32)::core::convert::Into::into(value))
99 }
100 }
101 #[doc = "`get_SelectZ()` overload"]
102 fn get_select_z(self) -> i32 {
103 unsafe {
104 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 ::unity::il2cpp_call!((::unity::module_base()+0x2355f50usize)as*mut u8,i32;
106(MapPanelSortie)__receiver)
107 }
108 }
109 #[doc = "`set_SelectZ(i32)` overload"]
110 fn set_select_z(self, value: impl ::core::convert::Into<i32>) -> () {
111 unsafe {
112 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x2355f60usize)as*mut u8,();
114(MapPanelSortie)__receiver,(i32)::core::convert::Into::into(value))
115 }
116 }
117 #[doc = "`get_IsSelected()` overload"]
118 fn get_is_selected(self) -> bool {
119 unsafe {
120 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121 ::unity::il2cpp_call!((::unity::module_base()+0x2355f70usize)as*mut u8,bool;
122(MapPanelSortie)__receiver)
123 }
124 }
125 #[doc = "`Awake()` overload"]
126 fn awake(self) -> () {
127 unsafe {
128 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 {
130 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
131 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
132 panic!(
133 "unity: virtual slot {}
134 out of range (vtable len {}
135) on the runtime class behind {}
136 (method `{}
137`)",
138 4usize,
139 __vt.len(),
140 <MapPanelSortie as ::unity::ClassIdentity>::NAME,
141 "Awake",
142 )
143 });
144 let __inner: extern "C" fn(MapPanelSortie, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
145 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
146 __inner(__receiver, __mi)
147 }
148 }
149 }
150 #[doc = "`OnEnable()` overload"]
151 fn on_enable(self) -> () {
152 unsafe {
153 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154 ::unity::il2cpp_call!((::unity::module_base()+0x2356020usize)as*mut u8,();
155(MapPanelSortie)__receiver)
156 }
157 }
158 #[doc = "`SetVertex()` overload"]
159 fn set_vertex(self) -> () {
160 unsafe {
161 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 ::unity::il2cpp_call!((::unity::module_base()+0x2355bd0usize)as*mut u8,();
163(MapPanelSortie)__receiver)
164 }
165 }
166 #[doc = "`.ctor()` overload"]
167 fn ctor(self) -> () {
168 unsafe {
169 let __receiver = <MapPanelSortie as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170 ::unity::il2cpp_call!((::unity::module_base()+0x2356030usize)as*mut u8,();
171(MapPanelSortie)__receiver)
172 }
173 }
174}
175
176#[cfg(feature = "app-mappanelsortie")]
177impl<__T: IMapPanelSortie> IMapPanelSortieMethods for __T {}
178
179#[cfg(feature = "app-mappanelsortie")]
180impl MapPanelSortie {
181 pub fn set_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
182 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
183 }
184
185 pub fn renew_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
187 }
188
189 pub fn set_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
191 }
192
193 pub fn clear_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
195 }
196
197 pub fn get_select_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
199 }
200
201 pub fn set_select_x_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
203 }
204
205 pub fn get_select_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
207 }
208
209 pub fn set_select_z_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
211 }
212
213 pub fn get_is_selected_method_info() -> &'static ::unity::il2cpp::MethodInfo {
214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
215 }
216
217 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
219 }
220
221 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
223 }
224
225 pub fn set_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
227 }
228
229 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
231 }
232}
233
234#[cfg(feature = "app-mappanelsortie")]
235impl MapPanelSortie {
236 #[doc = "Direct (non-virtual) call to `MapPanelSortie`'s own `Awake`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
237 pub unsafe fn awake(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
238 let __mi = Self::awake_method_info();
239 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
240 __inner(this.into(), ::core::option::Option::None)
241 }
242}
243
244#[cfg(feature = "app-mappanelsortie")]
245impl MapPanelSortie {
246 #[doc = "`.ctor()` — no args"]
247 pub fn new() -> Self {
248 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
249 panic!(
250 "{}
251::{}
252 failed to instantiate",
253 ::core::stringify!(MapPanelSortie),
254 ::core::stringify!(new),
255 )
256 });
257 <Self as IMapPanelSortieMethods>::ctor(this);
258 this
259 }
260}
261
262#[cfg(feature = "app-mappanelsortie")]
263pub trait IMapPanelSortie_DontPosChangeMapMethods: IMapPanelSortie_DontPosChangeMap {
264 #[doc = "`Add(i32, i32)` overload"]
265 fn add(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
266 unsafe {
267 let __receiver =
268 <MapPanelSortie_DontPosChangeMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
269 ::unity::il2cpp_call!((::unity::module_base()+0x218d490usize)as*mut u8,();
270(MapPanelSortie_DontPosChangeMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
271 }
272 }
273 #[doc = "`Test(i32, i32)` overload"]
274 fn test(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> bool {
275 unsafe {
276 let __receiver =
277 <MapPanelSortie_DontPosChangeMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 ::unity::il2cpp_call!((::unity::module_base()+0x218d4c0usize)as*mut u8,bool;
279(MapPanelSortie_DontPosChangeMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
280 }
281 }
282 #[doc = "`Reset()` overload"]
283 fn reset(self) -> () {
284 unsafe {
285 let __receiver =
286 <MapPanelSortie_DontPosChangeMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287 ::unity::il2cpp_call!((::unity::module_base()+0x218d4d0usize)as*mut u8,();
288(MapPanelSortie_DontPosChangeMap)__receiver)
289 }
290 }
291 #[doc = "`GetIndex(i32, i32)` overload"]
292 fn get_index(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> i32 {
293 unsafe {
294 let __receiver =
295 <MapPanelSortie_DontPosChangeMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
296 ::unity::il2cpp_call!((::unity::module_base()+0x218d4b0usize)as*mut u8,i32;
297(MapPanelSortie_DontPosChangeMap)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
298 }
299 }
300 #[doc = "`.ctor()` overload"]
301 fn ctor(self) -> () {
302 unsafe {
303 let __receiver =
304 <MapPanelSortie_DontPosChangeMap as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
305 ::unity::il2cpp_call!((::unity::module_base()+0x218d4e0usize)as*mut u8,();
306(MapPanelSortie_DontPosChangeMap)__receiver)
307 }
308 }
309}
310
311#[cfg(feature = "app-mappanelsortie")]
312impl<__T: IMapPanelSortie_DontPosChangeMap> IMapPanelSortie_DontPosChangeMapMethods for __T {}
313
314#[cfg(feature = "app-mappanelsortie")]
315impl MapPanelSortie_DontPosChangeMap {
316 pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
317 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
318 }
319
320 pub fn test_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
322 }
323
324 pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
326 }
327
328 pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
330 }
331
332 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
334 }
335}
336
337#[cfg(feature = "app-mappanelsortie")]
338impl MapPanelSortie_DontPosChangeMap {
339 #[doc = "`.ctor()` — no args"]
340 pub fn new() -> Self {
341 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
342 panic!(
343 "{}
344::{}
345 failed to instantiate",
346 ::core::stringify!(MapPanelSortie_DontPosChangeMap),
347 ::core::stringify!(new),
348 )
349 });
350 <Self as IMapPanelSortie_DontPosChangeMapMethods>::ctor(this);
351 this
352 }
353}
354
355#[cfg(feature = "app-mappanelsortie")]
356#[doc(hidden)]
357pub mod prelude {
358 pub use super::{
359 IMapPanelSortie, IMapPanelSortieMethods, IMapPanelSortie_DontPosChangeMap, IMapPanelSortie_DontPosChangeMapMethods, MapPanelSortie,
360 MapPanelSortie_DontPosChangeMap,
361 };
362 #[cfg(feature = "app-singletonmonobehaviour_1")]
363 pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
364 #[cfg(feature = "root-mappanelbase_1")]
365 pub use crate::root::mappanelbase_1::IMapPanelBase_1Methods;
366 #[cfg(feature = "system-object")]
367 pub use crate::system::object::IObjectMethods;
368 #[cfg(feature = "unity_engine-behaviour")]
369 pub use crate::unity_engine::behaviour::IBehaviourMethods;
370 #[cfg(feature = "unity_engine-component")]
371 pub use crate::unity_engine::component::IComponentMethods;
372 #[cfg(feature = "unity_engine-monobehaviour")]
373 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
374 #[cfg(feature = "unity_engine-object_2")]
375 pub use crate::unity_engine::object_2::IObject_2Methods;
376 pub use crate::{
377 app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
378 root::mappanelbase_1::IMapPanelBase_1,
379 system::object::IObject,
380 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
381 };
382}