1#[cfg(feature = "app-mapedithistory-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::singletonclass_1::{ISingletonClass_1, SingletonClass_1},
10 system::object::{IObject, Object},
11 };
12
13 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapedithistory/MapEditHistory_ReplaceObjectCommand.md"))]
14 #[::unity::class(namespace = "App", name = "MapEditHistory.ReplaceObjectCommand")]
15 #[parent(crate::app::mapedithistory::MapEditHistory_MapEditCommand)]
16 pub struct MapEditHistory_ReplaceObjectCommand {
17 #[offset(16)]
18 #[rename(name = "m_X")]
19 pub m_x: i32,
20 #[offset(20)]
21 #[rename(name = "m_Z")]
22 pub m_z: i32,
23 #[offset(24)]
24 #[rename(name = "m_DeleteRotate")]
25 pub m_delete_rotate: i32,
26 #[offset(32)]
27 #[rename(name = "m_DeleteObjName")]
28 pub m_delete_obj_name: ::unity::Il2CppString,
29 #[offset(40)]
30 #[rename(name = "m_CreateObjName")]
31 pub m_create_obj_name: ::unity::Il2CppString,
32 }
33
34 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapedithistory/MapEditHistory.md"))]
35 #[::unity::class(namespace = "App", name = "MapEditHistory")]
36 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::mapedithistory::MapEditHistory>)]
37 pub struct MapEditHistory {
38 #[static_field]
39 #[rename(name = "MaxCommandCount")]
40 pub max_command_count: i32,
41 #[offset(32)]
42 #[rename(name = "m_CommandList")]
43 pub m_command_list: crate::system::collections::generic::list_1::List_1<crate::app::mapedithistory::MapEditHistory_MapEditCommand>,
44 #[offset(40)]
45 #[rename(name = "m_Index")]
46 pub m_index: i32,
47 }
48
49 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapedithistory/MapEditHistory_MapEditCommand.md"))]
50 #[::unity::class(namespace = "App", name = "MapEditHistory.MapEditCommand")]
51 #[parent(crate::system::object::Object)]
52 pub struct MapEditHistory_MapEditCommand {}
53
54 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapedithistory/MapEditHistory_RotateObjectCommand.md"))]
55 #[::unity::class(namespace = "App", name = "MapEditHistory.RotateObjectCommand")]
56 #[parent(crate::app::mapedithistory::MapEditHistory_MapEditCommand)]
57 pub struct MapEditHistory_RotateObjectCommand {
58 #[offset(16)]
59 #[rename(name = "m_X")]
60 pub m_x: i32,
61 #[offset(20)]
62 #[rename(name = "m_Z")]
63 pub m_z: i32,
64 #[offset(24)]
65 #[rename(name = "m_PrevRotate")]
66 pub m_prev_rotate: i32,
67 #[offset(28)]
68 #[rename(name = "m_NextRotate")]
69 pub m_next_rotate: i32,
70 }
71
72 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapedithistory/MapEditHistory_DeleteObjectCommand.md"))]
73 #[::unity::class(namespace = "App", name = "MapEditHistory.DeleteObjectCommand")]
74 #[parent(crate::app::mapedithistory::MapEditHistory_MapEditCommand)]
75 pub struct MapEditHistory_DeleteObjectCommand {
76 #[offset(16)]
77 #[rename(name = "m_X")]
78 pub m_x: i32,
79 #[offset(20)]
80 #[rename(name = "m_Z")]
81 pub m_z: i32,
82 #[offset(24)]
83 #[rename(name = "m_DeleteObjectName")]
84 pub m_delete_object_name: ::unity::Il2CppString,
85 #[offset(32)]
86 #[rename(name = "m_Rotate")]
87 pub m_rotate: i32,
88 }
89
90 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapedithistory/MapEditHistory_CreateObjectCommand.md"))]
91 #[::unity::class(namespace = "App", name = "MapEditHistory.CreateObjectCommand")]
92 #[parent(crate::app::mapedithistory::MapEditHistory_MapEditCommand)]
93 pub struct MapEditHistory_CreateObjectCommand {
94 #[offset(16)]
95 #[rename(name = "m_X")]
96 pub m_x: i32,
97 #[offset(20)]
98 #[rename(name = "m_Z")]
99 pub m_z: i32,
100 #[offset(24)]
101 #[rename(name = "m_ObjectName")]
102 pub m_object_name: ::unity::Il2CppString,
103 }
104}
105
106#[cfg(feature = "app-mapedithistory-types")]
107pub use __types::*;
108
109#[cfg(feature = "app-mapedithistory")]
110pub trait IMapEditHistory_ReplaceObjectCommandMethods: IMapEditHistory_ReplaceObjectCommand {
111 #[doc = "`.ctor(i32, i32, i32, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
112 fn ctor(
113 self,
114 x: impl ::core::convert::Into<i32>,
115 z: impl ::core::convert::Into<i32>,
116 delete_rotate: impl ::core::convert::Into<i32>,
117 delete_obj_name: impl ::core::convert::Into<::unity::Il2CppString>,
118 create_obj_name: impl ::core::convert::Into<::unity::Il2CppString>,
119 ) -> () {
120 unsafe {
121 let __receiver = <MapEditHistory_ReplaceObjectCommand as ::unity::FromIlInstance>::from_il_instance(
122 <Self as ::unity::SystemObject>::as_instance(self),
123 );
124 ::unity::il2cpp_call!((::unity::module_base()+0x24c3bf0usize)as*mut u8,();
125(MapEditHistory_ReplaceObjectCommand)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(delete_rotate),(::unity::Il2CppString)::core::convert::Into::into(delete_obj_name),(::unity::Il2CppString)::core::convert::Into::into(create_obj_name))
126 }
127 }
128 #[doc = "`Do()` overload"]
129 fn r#do(self) -> () {
130 unsafe {
131 let __receiver = <MapEditHistory_ReplaceObjectCommand as ::unity::FromIlInstance>::from_il_instance(
132 <Self as ::unity::SystemObject>::as_instance(self),
133 );
134 {
135 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
136 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
137 panic!(
138 "unity: virtual slot {}
139 out of range (vtable len {}
140) on the runtime class behind {}
141 (method `{}
142`)",
143 4usize,
144 __vt.len(),
145 <MapEditHistory_ReplaceObjectCommand as ::unity::ClassIdentity>::NAME,
146 "Do",
147 )
148 });
149 let __inner: extern "C" fn(MapEditHistory_ReplaceObjectCommand, ::unity::OptionalMethod) -> () =
150 ::core::mem::transmute(__vi.method_ptr);
151 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
152 __inner(__receiver, __mi)
153 }
154 }
155 }
156 #[doc = "`Undo()` overload"]
157 fn undo(self) -> () {
158 unsafe {
159 let __receiver = <MapEditHistory_ReplaceObjectCommand as ::unity::FromIlInstance>::from_il_instance(
160 <Self as ::unity::SystemObject>::as_instance(self),
161 );
162 {
163 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
164 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
165 panic!(
166 "unity: virtual slot {}
167 out of range (vtable len {}
168) on the runtime class behind {}
169 (method `{}
170`)",
171 5usize,
172 __vt.len(),
173 <MapEditHistory_ReplaceObjectCommand as ::unity::ClassIdentity>::NAME,
174 "Undo",
175 )
176 });
177 let __inner: extern "C" fn(MapEditHistory_ReplaceObjectCommand, ::unity::OptionalMethod) -> () =
178 ::core::mem::transmute(__vi.method_ptr);
179 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
180 __inner(__receiver, __mi)
181 }
182 }
183 }
184 #[doc = "`ToString()` overload"]
185 fn to_string(self) -> ::unity::Il2CppString {
186 unsafe {
187 let __receiver = <MapEditHistory_ReplaceObjectCommand as ::unity::FromIlInstance>::from_il_instance(
188 <Self as ::unity::SystemObject>::as_instance(self),
189 );
190 {
191 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
192 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
193 panic!(
194 "unity: virtual slot {}
195 out of range (vtable len {}
196) on the runtime class behind {}
197 (method `{}
198`)",
199 3usize,
200 __vt.len(),
201 <MapEditHistory_ReplaceObjectCommand as ::unity::ClassIdentity>::NAME,
202 "ToString",
203 )
204 });
205 let __inner: extern "C" fn(MapEditHistory_ReplaceObjectCommand, ::unity::OptionalMethod) -> ::unity::Il2CppString =
206 ::core::mem::transmute(__vi.method_ptr);
207 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
208 __inner(__receiver, __mi)
209 }
210 }
211 }
212}
213
214#[cfg(feature = "app-mapedithistory")]
215impl<__T: IMapEditHistory_ReplaceObjectCommand> IMapEditHistory_ReplaceObjectCommandMethods for __T {}
216
217#[cfg(feature = "app-mapedithistory")]
218impl MapEditHistory_ReplaceObjectCommand {
219 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
221 }
222
223 pub fn do_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
225 }
226
227 pub fn undo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
229 }
230
231 pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
233 }
234}
235
236#[cfg(feature = "app-mapedithistory")]
237impl MapEditHistory_ReplaceObjectCommand {
238 #[doc = "Direct (non-virtual) call to `MapEditHistory_ReplaceObjectCommand`'s own `Do`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
239 pub unsafe fn r#do(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
240 let __mi = Self::do_method_info();
241 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
242 __inner(this.into(), ::core::option::Option::None)
243 }
244
245 #[doc = "Direct (non-virtual) call to `MapEditHistory_ReplaceObjectCommand`'s own `Undo`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
246 pub unsafe fn undo(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
247 let __mi = Self::undo_method_info();
248 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
249 __inner(this.into(), ::core::option::Option::None)
250 }
251
252 #[doc = "Direct (non-virtual) call to `MapEditHistory_ReplaceObjectCommand`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
253 pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
254 let __mi = Self::to_string_method_info();
255 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
256 __inner(this.into(), ::core::option::Option::None)
257 }
258}
259
260#[cfg(feature = "app-mapedithistory")]
261impl MapEditHistory_ReplaceObjectCommand {
262 #[doc = "`.ctor(i32, i32, i32, ::unity::Il2CppString, ::unity::Il2CppString)` — overload selector"]
263 pub fn new(x: i32, z: i32, delete_rotate: i32, delete_obj_name: ::unity::Il2CppString, create_obj_name: ::unity::Il2CppString) -> Self {
264 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
265 panic!(
266 "{}
267::{}
268 failed to instantiate",
269 ::core::stringify!(MapEditHistory_ReplaceObjectCommand),
270 ::core::stringify!(new),
271 )
272 });
273 <Self as IMapEditHistory_ReplaceObjectCommandMethods>::ctor(this, x, z, delete_rotate, delete_obj_name, create_obj_name);
274 this
275 }
276}
277
278#[cfg(feature = "app-mapedithistory")]
279pub trait IMapEditHistoryMethods: IMapEditHistory {
280 #[doc = "`OnCreate()` overload"]
281 fn on_create(self) -> () {
282 unsafe {
283 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
284 {
285 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
286 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
287 panic!(
288 "unity: virtual slot {}
289 out of range (vtable len {}
290) on the runtime class behind {}
291 (method `{}
292`)",
293 5usize,
294 __vt.len(),
295 <MapEditHistory as ::unity::ClassIdentity>::NAME,
296 "OnCreate",
297 )
298 });
299 let __inner: extern "C" fn(MapEditHistory, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
300 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
301 __inner(__receiver, __mi)
302 }
303 }
304 }
305 #[doc = "`OnDispose()` overload"]
306 fn on_dispose(self) -> () {
307 unsafe {
308 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309 {
310 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
311 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
312 panic!(
313 "unity: virtual slot {}
314 out of range (vtable len {}
315) on the runtime class behind {}
316 (method `{}
317`)",
318 6usize,
319 __vt.len(),
320 <MapEditHistory as ::unity::ClassIdentity>::NAME,
321 "OnDispose",
322 )
323 });
324 let __inner: extern "C" fn(MapEditHistory, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
325 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
326 __inner(__receiver, __mi)
327 }
328 }
329 }
330 #[doc = "`Undo()` overload"]
331 fn undo(self) -> bool {
332 unsafe {
333 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
334 ::unity::il2cpp_call!((::unity::module_base()+0x1db1620usize)as*mut u8,bool;
335(MapEditHistory)__receiver)
336 }
337 }
338 #[doc = "`Redo()` overload"]
339 fn redo(self) -> () {
340 unsafe {
341 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 ::unity::il2cpp_call!((::unity::module_base()+0x1db1760usize)as*mut u8,();
343(MapEditHistory)__receiver)
344 }
345 }
346 #[doc = "`Clear()` overload"]
347 fn clear(self) -> () {
348 unsafe {
349 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350 ::unity::il2cpp_call!((::unity::module_base()+0x1db1580usize)as*mut u8,();
351(MapEditHistory)__receiver)
352 }
353 }
354 #[doc = "`AddCreateObject(i32, i32, ::unity::Il2CppString)` overload"]
355 fn add_create_object(
356 self,
357 x: impl ::core::convert::Into<i32>,
358 z: impl ::core::convert::Into<i32>,
359 object_name: impl ::core::convert::Into<::unity::Il2CppString>,
360 ) -> () {
361 unsafe {
362 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363 ::unity::il2cpp_call!((::unity::module_base()+0x1db1770usize)as*mut u8,();
364(MapEditHistory)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(::unity::Il2CppString)::core::convert::Into::into(object_name))
365 }
366 }
367 #[doc = "`AddDeleteObject(i32, i32, ::unity::Il2CppString, i32)` overload"]
368 fn add_delete_object(
369 self,
370 x: impl ::core::convert::Into<i32>,
371 z: impl ::core::convert::Into<i32>,
372 delete_object_name: impl ::core::convert::Into<::unity::Il2CppString>,
373 rotate: impl ::core::convert::Into<i32>,
374 ) -> () {
375 unsafe {
376 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
377 ::unity::il2cpp_call!((::unity::module_base()+0x1db1930usize)as*mut u8,();
378(MapEditHistory)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(::unity::Il2CppString)::core::convert::Into::into(delete_object_name),(i32)::core::convert::Into::into(rotate))
379 }
380 }
381 #[doc = "`AddReplaceObject(i32, i32, i32, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
382 fn add_replace_object(
383 self,
384 x: impl ::core::convert::Into<i32>,
385 z: impl ::core::convert::Into<i32>,
386 delete_rotate: impl ::core::convert::Into<i32>,
387 delete_obj_name: impl ::core::convert::Into<::unity::Il2CppString>,
388 create_obj_name: impl ::core::convert::Into<::unity::Il2CppString>,
389 ) -> () {
390 unsafe {
391 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
392 ::unity::il2cpp_call!((::unity::module_base()+0x1db19d0usize)as*mut u8,();
393(MapEditHistory)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(delete_rotate),(::unity::Il2CppString)::core::convert::Into::into(delete_obj_name),(::unity::Il2CppString)::core::convert::Into::into(create_obj_name))
394 }
395 }
396 #[doc = "`AddRotateObject(i32, i32, i32, i32)` overload"]
397 fn add_rotate_object(
398 self,
399 x: impl ::core::convert::Into<i32>,
400 z: impl ::core::convert::Into<i32>,
401 prev_rotate: impl ::core::convert::Into<i32>,
402 next_rotate: impl ::core::convert::Into<i32>,
403 ) -> () {
404 unsafe {
405 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
406 ::unity::il2cpp_call!((::unity::module_base()+0x1db1a70usize)as*mut u8,();
407(MapEditHistory)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(prev_rotate),(i32)::core::convert::Into::into(next_rotate))
408 }
409 }
410 #[doc = "`AddCommand(crate::app::mapedithistory::MapEditHistory_MapEditCommand)` overload"]
411 fn add_command(self, command: impl ::core::convert::Into<crate::app::mapedithistory::MapEditHistory_MapEditCommand>) -> () {
412 unsafe {
413 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
414 ::unity::il2cpp_call!((::unity::module_base()+0x1db1800usize)as*mut u8,();
415(MapEditHistory)__receiver,(crate::app::mapedithistory::MapEditHistory_MapEditCommand)::core::convert::Into::into(command))
416 }
417 }
418 #[doc = "`ListAddImpl(crate::app::mapedithistory::MapEditHistory_MapEditCommand)` overload"]
419 fn list_add_impl(self, command: impl ::core::convert::Into<crate::app::mapedithistory::MapEditHistory_MapEditCommand>) -> () {
420 unsafe {
421 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
422 ::unity::il2cpp_call!((::unity::module_base()+0x1db1b10usize)as*mut u8,();
423(MapEditHistory)__receiver,(crate::app::mapedithistory::MapEditHistory_MapEditCommand)::core::convert::Into::into(command))
424 }
425 }
426 #[doc = "`ListRemoveAtImpl(i32)` overload"]
427 fn list_remove_at_impl(self, index: impl ::core::convert::Into<i32>) -> () {
428 unsafe {
429 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x1db1700usize)as*mut u8,();
431(MapEditHistory)__receiver,(i32)::core::convert::Into::into(index))
432 }
433 }
434 #[doc = "`Dump()` overload"]
435 fn dump(self) -> () {
436 unsafe {
437 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
438 ::unity::il2cpp_call!((::unity::module_base()+0x1db1b70usize)as*mut u8,();
439(MapEditHistory)__receiver)
440 }
441 }
442 #[doc = "`.ctor()` overload"]
443 fn ctor(self) -> () {
444 unsafe {
445 let __receiver = <MapEditHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446 ::unity::il2cpp_call!((::unity::module_base()+0x1db1cf0usize)as*mut u8,();
447(MapEditHistory)__receiver)
448 }
449 }
450}
451
452#[cfg(feature = "app-mapedithistory")]
453impl<__T: IMapEditHistory> IMapEditHistoryMethods for __T {}
454
455#[cfg(feature = "app-mapedithistory")]
456impl MapEditHistory {
457 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
459 }
460
461 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
463 }
464
465 pub fn undo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
467 }
468
469 pub fn redo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
471 }
472
473 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
475 }
476
477 pub fn add_create_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
479 }
480
481 pub fn add_delete_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
483 }
484
485 pub fn add_replace_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
487 }
488
489 pub fn add_rotate_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
491 }
492
493 pub fn add_command_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
495 }
496
497 pub fn list_add_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
499 }
500
501 pub fn list_remove_at_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
503 }
504
505 pub fn dump_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
507 }
508
509 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
511 }
512}
513
514#[cfg(feature = "app-mapedithistory")]
515impl MapEditHistory {
516 #[doc = "Direct (non-virtual) call to `MapEditHistory`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
517 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
518 let __mi = Self::on_create_method_info();
519 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
520 __inner(this.into(), ::core::option::Option::None)
521 }
522
523 #[doc = "Direct (non-virtual) call to `MapEditHistory`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
524 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
525 let __mi = Self::on_dispose_method_info();
526 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
527 __inner(this.into(), ::core::option::Option::None)
528 }
529}
530
531#[cfg(feature = "app-mapedithistory")]
532impl MapEditHistory {
533 #[doc = "`.ctor()` — no args"]
534 pub fn new() -> Self {
535 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
536 panic!(
537 "{}
538::{}
539 failed to instantiate",
540 ::core::stringify!(MapEditHistory),
541 ::core::stringify!(new),
542 )
543 });
544 <Self as IMapEditHistoryMethods>::ctor(this);
545 this
546 }
547}
548
549#[cfg(feature = "app-mapedithistory")]
550pub trait IMapEditHistory_MapEditCommandMethods: IMapEditHistory_MapEditCommand {
551 #[doc = "`Do()` overload"]
552 fn r#do(self) -> () {
553 unsafe {
554 let __receiver =
555 <MapEditHistory_MapEditCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
556 {
557 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
558 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
559 panic!(
560 "unity: virtual slot {}
561 out of range (vtable len {}
562) on the runtime class behind {}
563 (method `{}
564`)",
565 4usize,
566 __vt.len(),
567 <MapEditHistory_MapEditCommand as ::unity::ClassIdentity>::NAME,
568 "Do",
569 )
570 });
571 let __inner: extern "C" fn(MapEditHistory_MapEditCommand, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
572 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
573 __inner(__receiver, __mi)
574 }
575 }
576 }
577 #[doc = "`Undo()` overload"]
578 fn undo(self) -> () {
579 unsafe {
580 let __receiver =
581 <MapEditHistory_MapEditCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
582 {
583 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
584 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
585 panic!(
586 "unity: virtual slot {}
587 out of range (vtable len {}
588) on the runtime class behind {}
589 (method `{}
590`)",
591 5usize,
592 __vt.len(),
593 <MapEditHistory_MapEditCommand as ::unity::ClassIdentity>::NAME,
594 "Undo",
595 )
596 });
597 let __inner: extern "C" fn(MapEditHistory_MapEditCommand, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
598 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
599 __inner(__receiver, __mi)
600 }
601 }
602 }
603 #[doc = "`.ctor()` overload"]
604 fn ctor(self) -> () {
605 unsafe {
606 let __receiver =
607 <MapEditHistory_MapEditCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
608 ::unity::il2cpp_call!((::unity::module_base()+0x24c36d0usize)as*mut u8,();
609(MapEditHistory_MapEditCommand)__receiver)
610 }
611 }
612}
613
614#[cfg(feature = "app-mapedithistory")]
615impl<__T: IMapEditHistory_MapEditCommand> IMapEditHistory_MapEditCommandMethods for __T {}
616
617#[cfg(feature = "app-mapedithistory")]
618impl MapEditHistory_MapEditCommand {
619 pub fn do_method_info() -> &'static ::unity::il2cpp::MethodInfo {
620 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
621 }
622
623 pub fn undo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
624 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
625 }
626
627 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
628 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
629 }
630}
631
632#[cfg(feature = "app-mapedithistory")]
633impl MapEditHistory_MapEditCommand {
634 #[doc = "Direct (non-virtual) call to `MapEditHistory_MapEditCommand`'s own `Do`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
635 pub unsafe fn r#do(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
636 let __mi = Self::do_method_info();
637 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
638 __inner(this.into(), ::core::option::Option::None)
639 }
640
641 #[doc = "Direct (non-virtual) call to `MapEditHistory_MapEditCommand`'s own `Undo`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
642 pub unsafe fn undo(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
643 let __mi = Self::undo_method_info();
644 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
645 __inner(this.into(), ::core::option::Option::None)
646 }
647}
648
649#[cfg(feature = "app-mapedithistory")]
650impl MapEditHistory_MapEditCommand {
651 #[doc = "`.ctor()` — no args"]
652 pub fn new() -> Self {
653 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
654 panic!(
655 "{}
656::{}
657 failed to instantiate",
658 ::core::stringify!(MapEditHistory_MapEditCommand),
659 ::core::stringify!(new),
660 )
661 });
662 <Self as IMapEditHistory_MapEditCommandMethods>::ctor(this);
663 this
664 }
665}
666
667#[cfg(feature = "app-mapedithistory")]
668pub trait IMapEditHistory_RotateObjectCommandMethods: IMapEditHistory_RotateObjectCommand {
669 #[doc = "`.ctor(i32, i32, i32, i32)` overload"]
670 fn ctor(
671 self,
672 x: impl ::core::convert::Into<i32>,
673 z: impl ::core::convert::Into<i32>,
674 prev_rotate: impl ::core::convert::Into<i32>,
675 next_rotate: impl ::core::convert::Into<i32>,
676 ) -> () {
677 unsafe {
678 let __receiver =
679 <MapEditHistory_RotateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
680 ::unity::il2cpp_call!((::unity::module_base()+0x24c3fe0usize)as*mut u8,();
681(MapEditHistory_RotateObjectCommand)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(i32)::core::convert::Into::into(prev_rotate),(i32)::core::convert::Into::into(next_rotate))
682 }
683 }
684 #[doc = "`Do()` overload"]
685 fn r#do(self) -> () {
686 unsafe {
687 let __receiver =
688 <MapEditHistory_RotateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
689 {
690 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
691 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
692 panic!(
693 "unity: virtual slot {}
694 out of range (vtable len {}
695) on the runtime class behind {}
696 (method `{}
697`)",
698 4usize,
699 __vt.len(),
700 <MapEditHistory_RotateObjectCommand as ::unity::ClassIdentity>::NAME,
701 "Do",
702 )
703 });
704 let __inner: extern "C" fn(MapEditHistory_RotateObjectCommand, ::unity::OptionalMethod) -> () =
705 ::core::mem::transmute(__vi.method_ptr);
706 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
707 __inner(__receiver, __mi)
708 }
709 }
710 }
711 #[doc = "`Undo()` overload"]
712 fn undo(self) -> () {
713 unsafe {
714 let __receiver =
715 <MapEditHistory_RotateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
716 {
717 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
718 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
719 panic!(
720 "unity: virtual slot {}
721 out of range (vtable len {}
722) on the runtime class behind {}
723 (method `{}
724`)",
725 5usize,
726 __vt.len(),
727 <MapEditHistory_RotateObjectCommand as ::unity::ClassIdentity>::NAME,
728 "Undo",
729 )
730 });
731 let __inner: extern "C" fn(MapEditHistory_RotateObjectCommand, ::unity::OptionalMethod) -> () =
732 ::core::mem::transmute(__vi.method_ptr);
733 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
734 __inner(__receiver, __mi)
735 }
736 }
737 }
738 #[doc = "`ToString()` overload"]
739 fn to_string(self) -> ::unity::Il2CppString {
740 unsafe {
741 let __receiver =
742 <MapEditHistory_RotateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
743 {
744 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
745 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
746 panic!(
747 "unity: virtual slot {}
748 out of range (vtable len {}
749) on the runtime class behind {}
750 (method `{}
751`)",
752 3usize,
753 __vt.len(),
754 <MapEditHistory_RotateObjectCommand as ::unity::ClassIdentity>::NAME,
755 "ToString",
756 )
757 });
758 let __inner: extern "C" fn(MapEditHistory_RotateObjectCommand, ::unity::OptionalMethod) -> ::unity::Il2CppString =
759 ::core::mem::transmute(__vi.method_ptr);
760 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
761 __inner(__receiver, __mi)
762 }
763 }
764 }
765}
766
767#[cfg(feature = "app-mapedithistory")]
768impl<__T: IMapEditHistory_RotateObjectCommand> IMapEditHistory_RotateObjectCommandMethods for __T {}
769
770#[cfg(feature = "app-mapedithistory")]
771impl MapEditHistory_RotateObjectCommand {
772 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
773 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
774 }
775
776 pub fn do_method_info() -> &'static ::unity::il2cpp::MethodInfo {
777 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
778 }
779
780 pub fn undo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
781 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
782 }
783
784 pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
785 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
786 }
787}
788
789#[cfg(feature = "app-mapedithistory")]
790impl MapEditHistory_RotateObjectCommand {
791 #[doc = "Direct (non-virtual) call to `MapEditHistory_RotateObjectCommand`'s own `Do`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
792 pub unsafe fn r#do(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
793 let __mi = Self::do_method_info();
794 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
795 __inner(this.into(), ::core::option::Option::None)
796 }
797
798 #[doc = "Direct (non-virtual) call to `MapEditHistory_RotateObjectCommand`'s own `Undo`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
799 pub unsafe fn undo(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
800 let __mi = Self::undo_method_info();
801 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
802 __inner(this.into(), ::core::option::Option::None)
803 }
804
805 #[doc = "Direct (non-virtual) call to `MapEditHistory_RotateObjectCommand`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
806 pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
807 let __mi = Self::to_string_method_info();
808 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
809 __inner(this.into(), ::core::option::Option::None)
810 }
811}
812
813#[cfg(feature = "app-mapedithistory")]
814impl MapEditHistory_RotateObjectCommand {
815 #[doc = "`.ctor(i32, i32, i32, i32)` — overload selector"]
816 pub fn new(x: i32, z: i32, prev_rotate: i32, next_rotate: i32) -> Self {
817 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
818 panic!(
819 "{}
820::{}
821 failed to instantiate",
822 ::core::stringify!(MapEditHistory_RotateObjectCommand),
823 ::core::stringify!(new),
824 )
825 });
826 <Self as IMapEditHistory_RotateObjectCommandMethods>::ctor(this, x, z, prev_rotate, next_rotate);
827 this
828 }
829}
830
831#[cfg(feature = "app-mapedithistory")]
832pub trait IMapEditHistory_DeleteObjectCommandMethods: IMapEditHistory_DeleteObjectCommand {
833 #[doc = "`.ctor(i32, i32, ::unity::Il2CppString, i32)` overload"]
834 fn ctor(
835 self,
836 x: impl ::core::convert::Into<i32>,
837 z: impl ::core::convert::Into<i32>,
838 delete_object_name: impl ::core::convert::Into<::unity::Il2CppString>,
839 rotate: impl ::core::convert::Into<i32>,
840 ) -> () {
841 unsafe {
842 let __receiver =
843 <MapEditHistory_DeleteObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
844 ::unity::il2cpp_call!((::unity::module_base()+0x24c3870usize)as*mut u8,();
845(MapEditHistory_DeleteObjectCommand)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(::unity::Il2CppString)::core::convert::Into::into(delete_object_name),(i32)::core::convert::Into::into(rotate))
846 }
847 }
848 #[doc = "`Do()` overload"]
849 fn r#do(self) -> () {
850 unsafe {
851 let __receiver =
852 <MapEditHistory_DeleteObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
853 {
854 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
855 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
856 panic!(
857 "unity: virtual slot {}
858 out of range (vtable len {}
859) on the runtime class behind {}
860 (method `{}
861`)",
862 4usize,
863 __vt.len(),
864 <MapEditHistory_DeleteObjectCommand as ::unity::ClassIdentity>::NAME,
865 "Do",
866 )
867 });
868 let __inner: extern "C" fn(MapEditHistory_DeleteObjectCommand, ::unity::OptionalMethod) -> () =
869 ::core::mem::transmute(__vi.method_ptr);
870 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
871 __inner(__receiver, __mi)
872 }
873 }
874 }
875 #[doc = "`Undo()` overload"]
876 fn undo(self) -> () {
877 unsafe {
878 let __receiver =
879 <MapEditHistory_DeleteObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
880 {
881 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
882 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
883 panic!(
884 "unity: virtual slot {}
885 out of range (vtable len {}
886) on the runtime class behind {}
887 (method `{}
888`)",
889 5usize,
890 __vt.len(),
891 <MapEditHistory_DeleteObjectCommand as ::unity::ClassIdentity>::NAME,
892 "Undo",
893 )
894 });
895 let __inner: extern "C" fn(MapEditHistory_DeleteObjectCommand, ::unity::OptionalMethod) -> () =
896 ::core::mem::transmute(__vi.method_ptr);
897 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
898 __inner(__receiver, __mi)
899 }
900 }
901 }
902 #[doc = "`ToString()` overload"]
903 fn to_string(self) -> ::unity::Il2CppString {
904 unsafe {
905 let __receiver =
906 <MapEditHistory_DeleteObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
907 {
908 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
909 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
910 panic!(
911 "unity: virtual slot {}
912 out of range (vtable len {}
913) on the runtime class behind {}
914 (method `{}
915`)",
916 3usize,
917 __vt.len(),
918 <MapEditHistory_DeleteObjectCommand as ::unity::ClassIdentity>::NAME,
919 "ToString",
920 )
921 });
922 let __inner: extern "C" fn(MapEditHistory_DeleteObjectCommand, ::unity::OptionalMethod) -> ::unity::Il2CppString =
923 ::core::mem::transmute(__vi.method_ptr);
924 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
925 __inner(__receiver, __mi)
926 }
927 }
928 }
929}
930
931#[cfg(feature = "app-mapedithistory")]
932impl<__T: IMapEditHistory_DeleteObjectCommand> IMapEditHistory_DeleteObjectCommandMethods for __T {}
933
934#[cfg(feature = "app-mapedithistory")]
935impl MapEditHistory_DeleteObjectCommand {
936 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
937 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
938 }
939
940 pub fn do_method_info() -> &'static ::unity::il2cpp::MethodInfo {
941 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
942 }
943
944 pub fn undo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
945 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
946 }
947
948 pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
949 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
950 }
951}
952
953#[cfg(feature = "app-mapedithistory")]
954impl MapEditHistory_DeleteObjectCommand {
955 #[doc = "Direct (non-virtual) call to `MapEditHistory_DeleteObjectCommand`'s own `Do`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
956 pub unsafe fn r#do(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
957 let __mi = Self::do_method_info();
958 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
959 __inner(this.into(), ::core::option::Option::None)
960 }
961
962 #[doc = "Direct (non-virtual) call to `MapEditHistory_DeleteObjectCommand`'s own `Undo`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
963 pub unsafe fn undo(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
964 let __mi = Self::undo_method_info();
965 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
966 __inner(this.into(), ::core::option::Option::None)
967 }
968
969 #[doc = "Direct (non-virtual) call to `MapEditHistory_DeleteObjectCommand`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
970 pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
971 let __mi = Self::to_string_method_info();
972 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
973 __inner(this.into(), ::core::option::Option::None)
974 }
975}
976
977#[cfg(feature = "app-mapedithistory")]
978impl MapEditHistory_DeleteObjectCommand {
979 #[doc = "`.ctor(i32, i32, ::unity::Il2CppString, i32)` — overload selector"]
980 pub fn new(x: i32, z: i32, delete_object_name: ::unity::Il2CppString, rotate: i32) -> Self {
981 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
982 panic!(
983 "{}
984::{}
985 failed to instantiate",
986 ::core::stringify!(MapEditHistory_DeleteObjectCommand),
987 ::core::stringify!(new),
988 )
989 });
990 <Self as IMapEditHistory_DeleteObjectCommandMethods>::ctor(this, x, z, delete_object_name, rotate);
991 this
992 }
993}
994
995#[cfg(feature = "app-mapedithistory")]
996pub trait IMapEditHistory_CreateObjectCommandMethods: IMapEditHistory_CreateObjectCommand {
997 #[doc = "`.ctor(i32, i32, ::unity::Il2CppString)` overload"]
998 fn ctor(
999 self,
1000 x: impl ::core::convert::Into<i32>,
1001 z: impl ::core::convert::Into<i32>,
1002 object_name: impl ::core::convert::Into<::unity::Il2CppString>,
1003 ) -> () {
1004 unsafe {
1005 let __receiver =
1006 <MapEditHistory_CreateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1007 ::unity::il2cpp_call!((::unity::module_base()+0x24c3680usize)as*mut u8,();
1008(MapEditHistory_CreateObjectCommand)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(::unity::Il2CppString)::core::convert::Into::into(object_name))
1009 }
1010 }
1011 #[doc = "`Do()` overload"]
1012 fn r#do(self) -> () {
1013 unsafe {
1014 let __receiver =
1015 <MapEditHistory_CreateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1016 {
1017 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1018 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1019 panic!(
1020 "unity: virtual slot {}
1021 out of range (vtable len {}
1022) on the runtime class behind {}
1023 (method `{}
1024`)",
1025 4usize,
1026 __vt.len(),
1027 <MapEditHistory_CreateObjectCommand as ::unity::ClassIdentity>::NAME,
1028 "Do",
1029 )
1030 });
1031 let __inner: extern "C" fn(MapEditHistory_CreateObjectCommand, ::unity::OptionalMethod) -> () =
1032 ::core::mem::transmute(__vi.method_ptr);
1033 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1034 __inner(__receiver, __mi)
1035 }
1036 }
1037 }
1038 #[doc = "`Undo()` overload"]
1039 fn undo(self) -> () {
1040 unsafe {
1041 let __receiver =
1042 <MapEditHistory_CreateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1043 {
1044 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1045 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1046 panic!(
1047 "unity: virtual slot {}
1048 out of range (vtable len {}
1049) on the runtime class behind {}
1050 (method `{}
1051`)",
1052 5usize,
1053 __vt.len(),
1054 <MapEditHistory_CreateObjectCommand as ::unity::ClassIdentity>::NAME,
1055 "Undo",
1056 )
1057 });
1058 let __inner: extern "C" fn(MapEditHistory_CreateObjectCommand, ::unity::OptionalMethod) -> () =
1059 ::core::mem::transmute(__vi.method_ptr);
1060 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1061 __inner(__receiver, __mi)
1062 }
1063 }
1064 }
1065 #[doc = "`ToString()` overload"]
1066 fn to_string(self) -> ::unity::Il2CppString {
1067 unsafe {
1068 let __receiver =
1069 <MapEditHistory_CreateObjectCommand as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1070 {
1071 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1072 let __vi = *__vt.get(3usize).unwrap_or_else(|| {
1073 panic!(
1074 "unity: virtual slot {}
1075 out of range (vtable len {}
1076) on the runtime class behind {}
1077 (method `{}
1078`)",
1079 3usize,
1080 __vt.len(),
1081 <MapEditHistory_CreateObjectCommand as ::unity::ClassIdentity>::NAME,
1082 "ToString",
1083 )
1084 });
1085 let __inner: extern "C" fn(MapEditHistory_CreateObjectCommand, ::unity::OptionalMethod) -> ::unity::Il2CppString =
1086 ::core::mem::transmute(__vi.method_ptr);
1087 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1088 __inner(__receiver, __mi)
1089 }
1090 }
1091 }
1092}
1093
1094#[cfg(feature = "app-mapedithistory")]
1095impl<__T: IMapEditHistory_CreateObjectCommand> IMapEditHistory_CreateObjectCommandMethods for __T {}
1096
1097#[cfg(feature = "app-mapedithistory")]
1098impl MapEditHistory_CreateObjectCommand {
1099 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1100 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1101 }
1102
1103 pub fn do_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1104 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1105 }
1106
1107 pub fn undo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1108 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1109 }
1110
1111 pub fn to_string_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1113 }
1114}
1115
1116#[cfg(feature = "app-mapedithistory")]
1117impl MapEditHistory_CreateObjectCommand {
1118 #[doc = "Direct (non-virtual) call to `MapEditHistory_CreateObjectCommand`'s own `Do`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1119 pub unsafe fn r#do(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1120 let __mi = Self::do_method_info();
1121 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1122 __inner(this.into(), ::core::option::Option::None)
1123 }
1124
1125 #[doc = "Direct (non-virtual) call to `MapEditHistory_CreateObjectCommand`'s own `Undo`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1126 pub unsafe fn undo(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1127 let __mi = Self::undo_method_info();
1128 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1129 __inner(this.into(), ::core::option::Option::None)
1130 }
1131
1132 #[doc = "Direct (non-virtual) call to `MapEditHistory_CreateObjectCommand`'s own `ToString`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1133 pub unsafe fn to_string(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1134 let __mi = Self::to_string_method_info();
1135 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1136 __inner(this.into(), ::core::option::Option::None)
1137 }
1138}
1139
1140#[cfg(feature = "app-mapedithistory")]
1141impl MapEditHistory_CreateObjectCommand {
1142 #[doc = "`.ctor(i32, i32, ::unity::Il2CppString)` — overload selector"]
1143 pub fn new(x: i32, z: i32, object_name: ::unity::Il2CppString) -> Self {
1144 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1145 panic!(
1146 "{}
1147::{}
1148 failed to instantiate",
1149 ::core::stringify!(MapEditHistory_CreateObjectCommand),
1150 ::core::stringify!(new),
1151 )
1152 });
1153 <Self as IMapEditHistory_CreateObjectCommandMethods>::ctor(this, x, z, object_name);
1154 this
1155 }
1156}
1157
1158#[cfg(feature = "app-mapedithistory")]
1159#[doc(hidden)]
1160pub mod prelude {
1161 pub use super::{
1162 IMapEditHistory, IMapEditHistoryMethods, IMapEditHistory_CreateObjectCommand, IMapEditHistory_CreateObjectCommandMethods,
1163 IMapEditHistory_DeleteObjectCommand, IMapEditHistory_DeleteObjectCommandMethods, IMapEditHistory_MapEditCommand,
1164 IMapEditHistory_MapEditCommandMethods, IMapEditHistory_ReplaceObjectCommand, IMapEditHistory_ReplaceObjectCommandMethods,
1165 IMapEditHistory_RotateObjectCommand, IMapEditHistory_RotateObjectCommandMethods, MapEditHistory, MapEditHistory_CreateObjectCommand,
1166 MapEditHistory_DeleteObjectCommand, MapEditHistory_MapEditCommand, MapEditHistory_ReplaceObjectCommand, MapEditHistory_RotateObjectCommand,
1167 };
1168 #[cfg(feature = "app-singletonclass_1")]
1169 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
1170 #[cfg(feature = "system-object")]
1171 pub use crate::system::object::IObjectMethods;
1172 pub use crate::{app::singletonclass_1::ISingletonClass_1, system::object::IObject};
1173}