1#[cfg(feature = "app-eventsequence-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 stackprocinst_1::{IStackProcInst_1, StackProcInst_1},
12 },
13 system::{
14 object::{IObject, Object},
15 r#enum::{Enum, IEnum},
16 valuetype::{IValueType, ValueType},
17 },
18 };
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/eventsequence/EventSequence_Coroutine.md"))]
21 #[::unity::class(namespace = "App", name = "EventSequence.Coroutine")]
22 #[parent(crate::system::object::Object)]
23 pub struct EventSequence_Coroutine {
24 #[offset(16)]
25 #[rename(name = "m_Func")]
26 pub m_func: crate::moon_sharp::interpreter::dynvalue::DynValue,
27 #[offset(24)]
28 #[rename(name = "m_Args")]
29 pub m_args: ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>,
30 #[offset(32)]
31 #[rename(name = "m_First")]
32 pub m_first: bool,
33 }
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/eventsequence/EventSequence_MapEventStatck.md"))]
36 #[::unity::class(namespace = "App", name = "EventSequence.MapEventStatck")]
37 #[parent(crate::app::procinst::ProcInst)]
38 pub struct EventSequence_MapEventStatck {
39 #[offset(112)]
40 #[rename(name = "m_Stack")]
41 pub m_stack: crate::system::collections::generic::stack_1::Stack_1<crate::app::mapinspector::MapInspector>,
42 #[offset(120)]
43 #[rename(name = "m_UnitIndex")]
44 pub m_unit_index: i32,
45 }
46
47 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/eventsequence/EventSequence.md"))]
48 #[::unity::class(namespace = "App", name = "EventSequence")]
49 #[parent(crate::app::stackprocinst_1::StackProcInst_1<crate::app::eventsequence::EventSequence>)]
50 pub struct EventSequence {
51 #[offset(112)]
52 #[rename(name = "m_Current")]
53 pub m_current: crate::app::eventsequence::EventSequence_Coroutine,
54 #[offset(120)]
55 #[rename(name = "m_Coroutines")]
56 pub m_coroutines: crate::system::collections::generic::list_1::List_1<crate::app::eventsequence::EventSequence_Coroutine>,
57 #[offset(128)]
58 #[rename(name = "m_BindingUI")]
59 pub m_binding_ui: bool,
60 }
61
62 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/eventsequence/EventSequence_Label.md"))]
63 #[repr(C)]
64 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
65 pub struct EventSequence_Label {
66 pub value: i32,
67 }
68 impl ::unity::ClassIdentity for EventSequence_Label {
69 const NAME: &'static str = "EventSequence.Label";
70 const NAMESPACE: &'static str = "App";
71
72 fn class() -> ::unity::Class {
73 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
74 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
75 }
76 }
77 impl ::unity::IlType for EventSequence_Label {
78 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
79 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
80 }
81 }
82 impl EventSequence_Label {
83 pub fn end() -> Self {
84 Self { value: 0 }
85 }
86 }
87}
88
89#[cfg(feature = "app-eventsequence-types")]
90pub use __types::*;
91
92#[cfg(feature = "app-eventsequence")]
93pub trait IEventSequence_CoroutineMethods: IEventSequence_Coroutine {
94 #[doc = "`.ctor(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
95 fn ctor(
96 self,
97 func: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
98 args: impl ::core::convert::Into<::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>>,
99 ) -> () {
100 unsafe {
101 let __receiver =
102 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103 ::unity::il2cpp_call!((::unity::module_base()+0x1e588b0usize)as*mut u8,();
104(EventSequence_Coroutine)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(func),(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(args))
105 }
106 }
107 #[doc = "`.ctor(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
108 fn ctor_2(
109 self,
110 func: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
111 callback: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
112 args: impl ::core::convert::Into<::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>>,
113 ) -> () {
114 unsafe {
115 let __receiver =
116 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117 ::unity::il2cpp_call!((::unity::module_base()+0x1e58910usize)as*mut u8,();
118(EventSequence_Coroutine)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(func),(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(callback),(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(args))
119 }
120 }
121 #[doc = "`GetCallbackArgs(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
122 fn get_callback_args(
123 self,
124 callback: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
125 args: impl ::core::convert::Into<::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>>,
126 ) -> ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue> {
127 unsafe {
128 let __receiver =
129 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 ::unity::il2cpp_call!((::unity::module_base()+0x1e58980usize)as*mut u8, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue> ;
131(EventSequence_Coroutine)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(callback),(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(args))
132 }
133 }
134 #[doc = "`GetCoroutine()` overload"]
135 fn get_coroutine(self) -> crate::moon_sharp::interpreter::coroutine_2::Coroutine_2 {
136 unsafe {
137 let __receiver =
138 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x1e58ad0usize)as*mut u8,crate::moon_sharp::interpreter::coroutine_2::Coroutine_2;
140(EventSequence_Coroutine)__receiver)
141 }
142 }
143 #[doc = "`GetStackTrace()` overload"]
144 fn get_stack_trace(self) -> ::unity::Array<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem> {
145 unsafe {
146 let __receiver =
147 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 ::unity::il2cpp_call!((::unity::module_base()+0x1e58af0usize)as*mut u8, ::unity::Array<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem> ;
149(EventSequence_Coroutine)__receiver)
150 }
151 }
152 #[doc = "`Yield()` overload"]
153 fn r#yield(self) -> () {
154 unsafe {
155 let __receiver =
156 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157 ::unity::il2cpp_call!((::unity::module_base()+0x1e58b50usize)as*mut u8,();
158(EventSequence_Coroutine)__receiver)
159 }
160 }
161 #[doc = "`DoCoroutine()` overload"]
162 fn do_coroutine(self) -> crate::moon_sharp::interpreter::dynvalue::DynValue {
163 unsafe {
164 let __receiver =
165 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166 ::unity::il2cpp_call!((::unity::module_base()+0x1e58ba0usize)as*mut u8,crate::moon_sharp::interpreter::dynvalue::DynValue;
167(EventSequence_Coroutine)__receiver)
168 }
169 }
170 #[doc = "`IsDead()` overload"]
171 fn is_dead(self) -> bool {
172 unsafe {
173 let __receiver =
174 <EventSequence_Coroutine as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175 ::unity::il2cpp_call!((::unity::module_base()+0x1e58cf0usize)as*mut u8,bool;
176(EventSequence_Coroutine)__receiver)
177 }
178 }
179}
180
181#[cfg(feature = "app-eventsequence")]
182impl<__T: IEventSequence_Coroutine> IEventSequence_CoroutineMethods for __T {}
183
184#[cfg(feature = "app-eventsequence")]
185impl EventSequence_Coroutine {
186 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
188 }
189
190 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
192 }
193
194 pub fn get_callback_args_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
196 }
197
198 pub fn get_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
200 }
201
202 pub fn get_stack_trace_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
204 }
205
206 pub fn yield_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
208 }
209
210 pub fn do_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
212 }
213
214 pub fn is_dead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
216 }
217}
218
219#[cfg(feature = "app-eventsequence")]
220impl EventSequence_Coroutine {
221 #[doc = "`.ctor(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` — overload selector"]
222 pub fn new(
223 func: crate::moon_sharp::interpreter::dynvalue::DynValue,
224 args: ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>,
225 ) -> Self {
226 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
227 panic!(
228 "{}
229::{}
230 failed to instantiate",
231 ::core::stringify!(EventSequence_Coroutine),
232 ::core::stringify!(new),
233 )
234 });
235 <Self as IEventSequence_CoroutineMethods>::ctor(this, func, args);
236 this
237 }
238
239 #[doc = "`.ctor(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` — overload selector"]
240 pub fn new_2(
241 func: crate::moon_sharp::interpreter::dynvalue::DynValue,
242 callback: crate::moon_sharp::interpreter::dynvalue::DynValue,
243 args: ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>,
244 ) -> Self {
245 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
246 panic!(
247 "{}
248::{}
249 failed to instantiate",
250 ::core::stringify!(EventSequence_Coroutine),
251 ::core::stringify!(new_2),
252 )
253 });
254 <Self as IEventSequence_CoroutineMethods>::ctor_2(this, func, callback, args);
255 this
256 }
257}
258
259#[cfg(feature = "app-eventsequence")]
260impl EventSequence_MapEventStatck {
261 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, crate::app::mapinspector::MapInspector_Kind, crate::app::unit::Unit, i32, i32, i32, i32)` overload"]
262 pub fn try_create_bind(
263 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
264 kind: impl ::core::convert::Into<crate::app::mapinspector::MapInspector_Kind>,
265 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
266 arg1: impl ::core::convert::Into<i32>,
267 arg2: impl ::core::convert::Into<i32>,
268 arg3: impl ::core::convert::Into<i32>,
269 arg4: impl ::core::convert::Into<i32>,
270 ) -> bool {
271 unsafe {
272 ::unity::il2cpp_call!((::unity::module_base()+0x1e59000usize)as*mut u8,bool;
273(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::mapinspector::MapInspector_Kind)::core::convert::Into::into(kind),(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(arg1),(i32)::core::convert::Into::into(arg2),(i32)::core::convert::Into::into(arg3),(i32)::core::convert::Into::into(arg4))
274 }
275 }
276
277 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, crate::app::mapinspector::MapInspector)` overload"]
278 pub fn try_create_bind_2(
279 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
280 inspector: impl ::core::convert::Into<crate::app::mapinspector::MapInspector>,
281 ) -> bool {
282 unsafe {
283 ::unity::il2cpp_call!((::unity::module_base()+0x1e59120usize)as*mut u8,bool;
284(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::mapinspector::MapInspector)::core::convert::Into::into(inspector))
285 }
286 }
287
288 #[doc = "`IsExist(crate::app::unit::Unit)` overload"]
289 pub fn is_exist(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
290 unsafe {
291 ::unity::il2cpp_call!((::unity::module_base()+0x1e591b0usize)as*mut u8,bool;
292(crate::app::unit::Unit)::core::convert::Into::into(unit))
293 }
294 }
295
296 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, crate::app::mapinspector::MapInspector_Kind, crate::app::unit::Unit)` overload"]
297 pub fn try_create_bind_3(
298 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
299 kind: impl ::core::convert::Into<crate::app::mapinspector::MapInspector_Kind>,
300 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
301 ) -> bool {
302 unsafe {
303 ::unity::il2cpp_call!((::unity::module_base()+0x1e591d0usize)as*mut u8,bool;
304(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::mapinspector::MapInspector_Kind)::core::convert::Into::into(kind),(crate::app::unit::Unit)::core::convert::Into::into(unit))
305 }
306 }
307
308 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, crate::app::mapinspector::MapInspector_Kind, crate::app::unit::Unit, i32)` overload"]
309 pub fn try_create_bind_4(
310 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
311 kind: impl ::core::convert::Into<crate::app::mapinspector::MapInspector_Kind>,
312 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
313 value: impl ::core::convert::Into<i32>,
314 ) -> bool {
315 unsafe {
316 ::unity::il2cpp_call!((::unity::module_base()+0x1e59210usize)as*mut u8,bool;
317(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::mapinspector::MapInspector_Kind)::core::convert::Into::into(kind),(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(value))
318 }
319 }
320
321 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, crate::app::mapinspector::MapInspector_Kind, crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
322 pub fn try_create_bind_5(
323 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
324 kind: impl ::core::convert::Into<crate::app::mapinspector::MapInspector_Kind>,
325 from: impl ::core::convert::Into<crate::app::unit::Unit>,
326 to: impl ::core::convert::Into<crate::app::unit::Unit>,
327 ) -> bool {
328 unsafe {
329 ::unity::il2cpp_call!((::unity::module_base()+0x1e59240usize)as*mut u8,bool;
330(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::mapinspector::MapInspector_Kind)::core::convert::Into::into(kind),(crate::app::unit::Unit)::core::convert::Into::into(from),(crate::app::unit::Unit)::core::convert::Into::into(to))
331 }
332 }
333}
334
335#[cfg(feature = "app-eventsequence")]
336pub trait IEventSequence_MapEventStatckMethods: IEventSequence_MapEventStatck {
337 #[doc = "`.ctor(crate::app::mapinspector::MapInspector)` overload"]
338 fn ctor(self, inspector: impl ::core::convert::Into<crate::app::mapinspector::MapInspector>) -> () {
339 unsafe {
340 let __receiver =
341 <EventSequence_MapEventStatck as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 ::unity::il2cpp_call!((::unity::module_base()+0x1e58d30usize)as*mut u8,();
343(EventSequence_MapEventStatck)__receiver,(crate::app::mapinspector::MapInspector)::core::convert::Into::into(inspector))
344 }
345 }
346 #[doc = "`.ctor(crate::system::collections::generic::stack_1::Stack_1<crate::app::mapinspector::MapInspector>, crate::app::unit::Unit)` overload"]
347 fn ctor_2(
348 self,
349 stack: impl ::core::convert::Into<crate::system::collections::generic::stack_1::Stack_1<crate::app::mapinspector::MapInspector>>,
350 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
351 ) -> () {
352 unsafe {
353 let __receiver =
354 <EventSequence_MapEventStatck as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
355 ::unity::il2cpp_call!((::unity::module_base()+0x1e58e00usize)as*mut u8,();
356(EventSequence_MapEventStatck)__receiver,(crate::system::collections::generic::stack_1::Stack_1<crate::app::mapinspector::MapInspector>)::core::convert::Into::into(stack),(crate::app::unit::Unit)::core::convert::Into::into(unit))
357 }
358 }
359 #[doc = "`OnCreate()` overload"]
360 fn on_create(self) -> () {
361 unsafe {
362 let __receiver =
363 <EventSequence_MapEventStatck as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364 {
365 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
366 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
367 panic!(
368 "unity: virtual slot {}
369 out of range (vtable len {}
370) on the runtime class behind {}
371 (method `{}
372`)",
373 9usize,
374 __vt.len(),
375 <EventSequence_MapEventStatck as ::unity::ClassIdentity>::NAME,
376 "OnCreate",
377 )
378 });
379 let __inner: extern "C" fn(EventSequence_MapEventStatck, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
380 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
381 __inner(__receiver, __mi)
382 }
383 }
384 }
385 #[doc = "`OnTick()` overload"]
386 fn on_tick(self) -> () {
387 unsafe {
388 let __receiver =
389 <EventSequence_MapEventStatck as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
390 {
391 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
392 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
393 panic!(
394 "unity: virtual slot {}
395 out of range (vtable len {}
396) on the runtime class behind {}
397 (method `{}
398`)",
399 6usize,
400 __vt.len(),
401 <EventSequence_MapEventStatck as ::unity::ClassIdentity>::NAME,
402 "OnTick",
403 )
404 });
405 let __inner: extern "C" fn(EventSequence_MapEventStatck, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
406 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
407 __inner(__receiver, __mi)
408 }
409 }
410 }
411 #[doc = "`OnDispose()` overload"]
412 fn on_dispose(self) -> () {
413 unsafe {
414 let __receiver =
415 <EventSequence_MapEventStatck as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
416 {
417 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
418 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
419 panic!(
420 "unity: virtual slot {}
421 out of range (vtable len {}
422) on the runtime class behind {}
423 (method `{}
424`)",
425 10usize,
426 __vt.len(),
427 <EventSequence_MapEventStatck as ::unity::ClassIdentity>::NAME,
428 "OnDispose",
429 )
430 });
431 let __inner: extern "C" fn(EventSequence_MapEventStatck, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
432 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
433 __inner(__receiver, __mi)
434 }
435 }
436 }
437}
438
439#[cfg(feature = "app-eventsequence")]
440impl<__T: IEventSequence_MapEventStatck> IEventSequence_MapEventStatckMethods for __T {}
441
442#[cfg(feature = "app-eventsequence")]
443impl EventSequence_MapEventStatck {
444 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
445 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
446 }
447
448 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
449 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
450 }
451
452 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
453 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
454 }
455
456 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
457 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
458 }
459
460 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
462 }
463
464 pub fn try_create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
466 }
467
468 pub fn try_create_bind_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
470 }
471
472 pub fn is_exist_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
474 }
475
476 pub fn try_create_bind_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
478 }
479
480 pub fn try_create_bind_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
482 }
483
484 pub fn try_create_bind_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
486 }
487}
488
489#[cfg(feature = "app-eventsequence")]
490impl EventSequence_MapEventStatck {
491 #[doc = "Direct (non-virtual) call to `EventSequence_MapEventStatck`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
492 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
493 let __mi = Self::on_create_method_info();
494 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
495 __inner(this.into(), ::core::option::Option::None)
496 }
497
498 #[doc = "Direct (non-virtual) call to `EventSequence_MapEventStatck`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
499 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
500 let __mi = Self::on_tick_method_info();
501 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
502 __inner(this.into(), ::core::option::Option::None)
503 }
504
505 #[doc = "Direct (non-virtual) call to `EventSequence_MapEventStatck`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
506 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
507 let __mi = Self::on_dispose_method_info();
508 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
509 __inner(this.into(), ::core::option::Option::None)
510 }
511}
512
513#[cfg(feature = "app-eventsequence")]
514impl EventSequence_MapEventStatck {
515 #[doc = "`.ctor(crate::app::mapinspector::MapInspector)` — overload selector"]
516 pub fn new(inspector: crate::app::mapinspector::MapInspector) -> Self {
517 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
518 panic!(
519 "{}
520::{}
521 failed to instantiate",
522 ::core::stringify!(EventSequence_MapEventStatck),
523 ::core::stringify!(new),
524 )
525 });
526 <Self as IEventSequence_MapEventStatckMethods>::ctor(this, inspector);
527 this
528 }
529
530 #[doc = "`.ctor(crate::system::collections::generic::stack_1::Stack_1<crate::app::mapinspector::MapInspector>, crate::app::unit::Unit)` — overload selector"]
531 pub fn new_2(
532 stack: crate::system::collections::generic::stack_1::Stack_1<crate::app::mapinspector::MapInspector>,
533 unit: crate::app::unit::Unit,
534 ) -> Self {
535 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
536 panic!(
537 "{}
538::{}
539 failed to instantiate",
540 ::core::stringify!(EventSequence_MapEventStatck),
541 ::core::stringify!(new_2),
542 )
543 });
544 <Self as IEventSequence_MapEventStatckMethods>::ctor_2(this, stack, unit);
545 this
546 }
547}
548
549#[cfg(feature = "app-eventsequence")]
550impl EventSequence {
551 #[doc = "`GetCoroutines()` overload"]
552 pub fn get_coroutines() -> crate::system::collections::generic::list_1::List_1<crate::app::eventsequence::EventSequence_Coroutine> {
553 unsafe {
554 ::unity::il2cpp_call!((::unity::module_base()+0x24e3740usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::eventsequence::EventSequence_Coroutine> ;
555 )
556 }
557 }
558
559 #[doc = "`GetStackCount()` overload"]
560 pub fn get_stack_count() -> i32 {
561 unsafe {
562 ::unity::il2cpp_call!((::unity::module_base()+0x24e37e0usize)as*mut u8,i32;
563 )
564 }
565 }
566
567 #[doc = "`GetStackFunction()` overload"]
568 pub fn get_stack_function() -> ::unity::Il2CppString {
569 unsafe {
570 ::unity::il2cpp_call!((::unity::module_base()+0x24e38a0usize)as*mut u8, ::unity::Il2CppString;
571 )
572 }
573 }
574
575 #[doc = "`GetCurrentAddress()` overload"]
576 pub fn get_current_address() -> i32 {
577 unsafe {
578 ::unity::il2cpp_call!((::unity::module_base()+0x24e3980usize)as*mut u8,i32;
579 )
580 }
581 }
582
583 #[doc = "`DummyCall(crate::app::procinst::ProcInst)` overload"]
584 pub fn dummy_call(p: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
585 unsafe {
586 ::unity::il2cpp_call!((::unity::module_base()+0x24e3a80usize)as*mut u8,();
587(crate::app::procinst::ProcInst)::core::convert::Into::into(p))
588 }
589 }
590
591 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, crate::moon_sharp::interpreter::dynvalue::DynValue, crate::app::procvoidfunction::ProcVoidFunction, crate::app::procvoidfunction::ProcVoidFunction, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
592 pub fn try_create_bind(
593 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
594 func: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
595 pre_call: impl ::core::convert::Into<crate::app::procvoidfunction::ProcVoidFunction>,
596 post_call: impl ::core::convert::Into<crate::app::procvoidfunction::ProcVoidFunction>,
597 args: impl ::core::convert::Into<::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>>,
598 ) -> bool {
599 unsafe {
600 ::unity::il2cpp_call!((::unity::module_base()+0x24e3a90usize)as*mut u8,bool;
601(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(func),(crate::app::procvoidfunction::ProcVoidFunction)::core::convert::Into::into(pre_call),(crate::app::procvoidfunction::ProcVoidFunction)::core::convert::Into::into(post_call),(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(args))
602 }
603 }
604
605 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, crate::app::mapinspector::MapInspector)` overload"]
606 pub fn try_create_bind_2(
607 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
608 inspector: impl ::core::convert::Into<crate::app::mapinspector::MapInspector>,
609 ) -> () {
610 unsafe {
611 ::unity::il2cpp_call!((::unity::module_base()+0x24e3ec0usize)as*mut u8,();
612(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::mapinspector::MapInspector)::core::convert::Into::into(inspector))
613 }
614 }
615
616 #[doc = "`IsBindingUI()` overload"]
617 pub fn is_binding_ui() -> bool {
618 unsafe {
619 ::unity::il2cpp_call!((::unity::module_base()+0x24e3fa0usize)as*mut u8,bool;
620 )
621 }
622 }
623
624 #[doc = "`TryCreateBind(crate::app::procinst::ProcInst, ::unity::Il2CppString)` overload"]
625 pub fn try_create_bind_3(
626 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
627 name: impl ::core::convert::Into<::unity::Il2CppString>,
628 ) -> bool {
629 unsafe {
630 ::unity::il2cpp_call!((::unity::module_base()+0x24e4080usize)as*mut u8,bool;
631(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Il2CppString)::core::convert::Into::into(name))
632 }
633 }
634
635 #[doc = "`Turn(crate::app::procinst::ProcInst, i32, crate::app::force::Force_Type)` overload"]
636 pub fn turn(
637 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
638 turn: impl ::core::convert::Into<i32>,
639 force: impl ::core::convert::Into<crate::app::force::Force_Type>,
640 ) -> bool {
641 unsafe {
642 ::unity::il2cpp_call!((::unity::module_base()+0x24e4210usize)as*mut u8,bool;
643(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(i32)::core::convert::Into::into(turn),(crate::app::force::Force_Type)::core::convert::Into::into(force))
644 }
645 }
646
647 #[doc = "`TurnAfter(crate::app::procinst::ProcInst, i32, crate::app::force::Force_Type)` overload"]
648 pub fn turn_after(
649 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
650 turn: impl ::core::convert::Into<i32>,
651 force: impl ::core::convert::Into<crate::app::force::Force_Type>,
652 ) -> bool {
653 unsafe {
654 ::unity::il2cpp_call!((::unity::module_base()+0x24e4230usize)as*mut u8,bool;
655(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(i32)::core::convert::Into::into(turn),(crate::app::force::Force_Type)::core::convert::Into::into(force))
656 }
657 }
658
659 #[doc = "`TurnEnd(crate::app::procinst::ProcInst, i32, crate::app::force::Force_Type)` overload"]
660 pub fn turn_end(
661 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
662 turn: impl ::core::convert::Into<i32>,
663 force: impl ::core::convert::Into<crate::app::force::Force_Type>,
664 ) -> bool {
665 unsafe {
666 ::unity::il2cpp_call!((::unity::module_base()+0x24e4250usize)as*mut u8,bool;
667(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(i32)::core::convert::Into::into(turn),(crate::app::force::Force_Type)::core::convert::Into::into(force))
668 }
669 }
670
671 #[doc = "`Area(crate::app::procinst::ProcInst, crate::app::unit::Unit, i32, i32, crate::app::force::Force_Type)` overload"]
672 pub fn area(
673 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
674 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
675 x: impl ::core::convert::Into<i32>,
676 z: impl ::core::convert::Into<i32>,
677 force: impl ::core::convert::Into<crate::app::force::Force_Type>,
678 ) -> bool {
679 unsafe {
680 ::unity::il2cpp_call!((::unity::module_base()+0x24e4270usize)as*mut u8,bool;
681(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::force::Force_Type)::core::convert::Into::into(force))
682 }
683 }
684
685 #[doc = "`Die(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
686 pub fn die(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
687 unsafe {
688 ::unity::il2cpp_call!((::unity::module_base()+0x24e4290usize)as*mut u8,bool;
689(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
690 }
691 }
692
693 #[doc = "`ReviveBefore(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
694 pub fn revive_before(
695 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
696 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
697 ) -> bool {
698 unsafe {
699 ::unity::il2cpp_call!((::unity::module_base()+0x24e42a0usize)as*mut u8,bool;
700(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
701 }
702 }
703
704 #[doc = "`ReviveAfter(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
705 pub fn revive_after(
706 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
707 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
708 ) -> bool {
709 unsafe {
710 ::unity::il2cpp_call!((::unity::module_base()+0x24e42b0usize)as*mut u8,bool;
711(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
712 }
713 }
714
715 #[doc = "`Fixed(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
716 pub fn fixed(
717 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
718 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
719 ) -> bool {
720 unsafe {
721 ::unity::il2cpp_call!((::unity::module_base()+0x24e42c0usize)as*mut u8,bool;
722(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
723 }
724 }
725
726 #[doc = "`Talk(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
727 pub fn talk(
728 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
729 from: impl ::core::convert::Into<crate::app::unit::Unit>,
730 to: impl ::core::convert::Into<crate::app::unit::Unit>,
731 ) -> bool {
732 unsafe {
733 ::unity::il2cpp_call!((::unity::module_base()+0x24e42d0usize)as*mut u8,bool;
734(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(from),(crate::app::unit::Unit)::core::convert::Into::into(to))
735 }
736 }
737
738 #[doc = "`HelpSpot(crate::app::procinst::ProcInst, crate::app::unit::Unit, i32, i32)` overload"]
739 pub fn help_spot(
740 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
741 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
742 x: impl ::core::convert::Into<i32>,
743 z: impl ::core::convert::Into<i32>,
744 ) -> bool {
745 unsafe {
746 ::unity::il2cpp_call!((::unity::module_base()+0x24e42f0usize)as*mut u8,bool;
747(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
748 }
749 }
750
751 #[doc = "`BattleBefore(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
752 pub fn battle_before(
753 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
754 from_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
755 to_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
756 ) -> bool {
757 unsafe {
758 ::unity::il2cpp_call!((::unity::module_base()+0x24e4310usize)as*mut u8,bool;
759(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(from_unit),(crate::app::unit::Unit)::core::convert::Into::into(to_unit))
760 }
761 }
762
763 #[doc = "`BattleTalk(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
764 pub fn battle_talk(
765 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
766 from_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
767 to_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
768 ) -> bool {
769 unsafe {
770 ::unity::il2cpp_call!((::unity::module_base()+0x24e4330usize)as*mut u8,bool;
771(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(from_unit),(crate::app::unit::Unit)::core::convert::Into::into(to_unit))
772 }
773 }
774
775 #[doc = "`BattleAfter(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::unit::Unit)` overload"]
776 pub fn battle_after(
777 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
778 from_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
779 to_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
780 ) -> bool {
781 unsafe {
782 ::unity::il2cpp_call!((::unity::module_base()+0x24e4350usize)as*mut u8,bool;
783(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(from_unit),(crate::app::unit::Unit)::core::convert::Into::into(to_unit))
784 }
785 }
786
787 #[doc = "`Pickup(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
788 pub fn pickup(
789 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
790 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
791 ) -> bool {
792 unsafe {
793 ::unity::il2cpp_call!((::unity::module_base()+0x24e4370usize)as*mut u8,bool;
794(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
795 }
796 }
797
798 #[doc = "`UnitCommandPrepare(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
799 pub fn unit_command_prepare(
800 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
801 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
802 ) -> bool {
803 unsafe {
804 ::unity::il2cpp_call!((::unity::module_base()+0x24e4380usize)as*mut u8,bool;
805(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
806 }
807 }
808
809 #[doc = "`UnitCommandInterrupt(crate::app::procinst::ProcInst, crate::app::unit::Unit, ::unity::Il2CppString)` overload"]
810 pub fn unit_command_interrupt(
811 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
812 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
813 command: impl ::core::convert::Into<::unity::Il2CppString>,
814 ) -> bool {
815 unsafe {
816 ::unity::il2cpp_call!((::unity::module_base()+0x24e4390usize)as*mut u8,bool;
817(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit),(::unity::Il2CppString)::core::convert::Into::into(command))
818 }
819 }
820
821 #[doc = "`EngageBefore(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
822 pub fn engage_before(
823 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
824 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
825 ) -> bool {
826 unsafe {
827 ::unity::il2cpp_call!((::unity::module_base()+0x24e43e0usize)as*mut u8,bool;
828(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
829 }
830 }
831
832 #[doc = "`EngageAfter(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
833 pub fn engage_after(
834 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
835 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
836 ) -> bool {
837 unsafe {
838 ::unity::il2cpp_call!((::unity::module_base()+0x24e43f0usize)as*mut u8,bool;
839(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
840 }
841 }
842
843 #[doc = "`TargetSelect(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
844 pub fn target_select(
845 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
846 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
847 ) -> bool {
848 unsafe {
849 ::unity::il2cpp_call!((::unity::module_base()+0x24e4400usize)as*mut u8,bool;
850(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
851 }
852 }
853
854 #[doc = "`Poke(crate::app::procinst::ProcInst, crate::app::mapinspector::MapInspector_Kind, crate::app::unit::Unit, i32, i32)` overload"]
855 pub fn poke(
856 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
857 kind: impl ::core::convert::Into<crate::app::mapinspector::MapInspector_Kind>,
858 unit: impl ::core::convert::Into<crate::app::unit::Unit>,
859 x: impl ::core::convert::Into<i32>,
860 z: impl ::core::convert::Into<i32>,
861 ) -> bool {
862 unsafe {
863 ::unity::il2cpp_call!((::unity::module_base()+0x24e4410usize)as*mut u8,bool;
864(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::mapinspector::MapInspector_Kind)::core::convert::Into::into(kind),(crate::app::unit::Unit)::core::convert::Into::into(unit),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
865 }
866 }
867
868 #[doc = "`Poke(crate::app::procinst::ProcInst, crate::app::pokeinspector::PokeInspector)` overload"]
869 pub fn poke_2(
870 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
871 inspector: impl ::core::convert::Into<crate::app::pokeinspector::PokeInspector>,
872 ) -> bool {
873 unsafe {
874 ::unity::il2cpp_call!((::unity::module_base()+0x24e4420usize)as*mut u8,bool;
875(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::pokeinspector::PokeInspector)::core::convert::Into::into(inspector))
876 }
877 }
878
879 #[doc = "`Startup(crate::app::procinst::ProcInst)` overload"]
880 pub fn startup(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
881 unsafe {
882 ::unity::il2cpp_call!((::unity::module_base()+0x24e4430usize)as*mut u8,();
883(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
884 }
885 }
886
887 #[doc = "`Cleanup(crate::app::procinst::ProcInst)` overload"]
888 pub fn cleanup(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
889 unsafe {
890 ::unity::il2cpp_call!((::unity::module_base()+0x24e4490usize)as*mut u8,();
891(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
892 }
893 }
894
895 #[doc = "`Main(crate::app::procinst::ProcInst)` overload"]
896 pub fn main(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
897 unsafe {
898 ::unity::il2cpp_call!((::unity::module_base()+0x24e44f0usize)as*mut u8,();
899(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
900 }
901 }
902
903 #[doc = "`Opening(crate::app::procinst::ProcInst)` overload"]
904 pub fn opening(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
905 unsafe {
906 ::unity::il2cpp_call!((::unity::module_base()+0x24e4550usize)as*mut u8,();
907(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
908 }
909 }
910
911 #[doc = "`Ending(crate::app::procinst::ProcInst)` overload"]
912 pub fn ending(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
913 unsafe {
914 ::unity::il2cpp_call!((::unity::module_base()+0x24e45b0usize)as*mut u8,();
915(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
916 }
917 }
918
919 #[doc = "`GameOver(crate::app::procinst::ProcInst)` overload"]
920 pub fn game_over(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
921 unsafe {
922 ::unity::il2cpp_call!((::unity::module_base()+0x24e4610usize)as*mut u8,();
923(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
924 }
925 }
926
927 #[doc = "`MapDispos(crate::app::procinst::ProcInst)` overload"]
928 pub fn map_dispos(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
929 unsafe {
930 ::unity::il2cpp_call!((::unity::module_base()+0x24e4670usize)as*mut u8,();
931(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
932 }
933 }
934
935 #[doc = "`MapOpening(crate::app::procinst::ProcInst)` overload"]
936 pub fn map_opening(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
937 unsafe {
938 ::unity::il2cpp_call!((::unity::module_base()+0x24e46d0usize)as*mut u8,();
939(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
940 }
941 }
942
943 #[doc = "`MapEnding(crate::app::procinst::ProcInst)` overload"]
944 pub fn map_ending(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
945 unsafe {
946 ::unity::il2cpp_call!((::unity::module_base()+0x24e4730usize)as*mut u8,();
947(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
948 }
949 }
950}
951
952#[cfg(feature = "app-eventsequence")]
953pub trait IEventSequenceMethods: IEventSequence {
954 #[doc = "`OnCreate()` overload"]
955 fn on_create(self) -> () {
956 unsafe {
957 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
958 {
959 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
960 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
961 panic!(
962 "unity: virtual slot {}
963 out of range (vtable len {}
964) on the runtime class behind {}
965 (method `{}
966`)",
967 9usize,
968 __vt.len(),
969 <EventSequence as ::unity::ClassIdentity>::NAME,
970 "OnCreate",
971 )
972 });
973 let __inner: extern "C" fn(EventSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
974 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
975 __inner(__receiver, __mi)
976 }
977 }
978 }
979 #[doc = "`OnDispose()` overload"]
980 fn on_dispose(self) -> () {
981 unsafe {
982 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
983 {
984 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
985 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
986 panic!(
987 "unity: virtual slot {}
988 out of range (vtable len {}
989) on the runtime class behind {}
990 (method `{}
991`)",
992 10usize,
993 __vt.len(),
994 <EventSequence as ::unity::ClassIdentity>::NAME,
995 "OnDispose",
996 )
997 });
998 let __inner: extern "C" fn(EventSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
999 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1000 __inner(__receiver, __mi)
1001 }
1002 }
1003 }
1004 #[doc = "`OnShutdown()` overload"]
1005 fn on_shutdown(self) -> () {
1006 unsafe {
1007 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1008 {
1009 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1010 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
1011 panic!(
1012 "unity: virtual slot {}
1013 out of range (vtable len {}
1014) on the runtime class behind {}
1015 (method `{}
1016`)",
1017 15usize,
1018 __vt.len(),
1019 <EventSequence as ::unity::ClassIdentity>::NAME,
1020 "OnShutdown",
1021 )
1022 });
1023 let __inner: extern "C" fn(EventSequence, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1024 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1025 __inner(__receiver, __mi)
1026 }
1027 }
1028 }
1029 #[doc = "`TryBindUI()` overload"]
1030 fn try_bind_ui(self) -> () {
1031 unsafe {
1032 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1033 ::unity::il2cpp_call!((::unity::module_base()+0x24e30a0usize)as*mut u8,();
1034(EventSequence)__receiver)
1035 }
1036 }
1037 #[doc = "`TryUnbindUI()` overload"]
1038 fn try_unbind_ui(self) -> () {
1039 unsafe {
1040 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1041 ::unity::il2cpp_call!((::unity::module_base()+0x24e2ec0usize)as*mut u8,();
1042(EventSequence)__receiver)
1043 }
1044 }
1045 #[doc = "`GetCurrent()` overload"]
1046 fn get_current(self) -> crate::app::eventsequence::EventSequence_Coroutine {
1047 unsafe {
1048 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1049 ::unity::il2cpp_call!((::unity::module_base()+0x24e32c0usize)as*mut u8,crate::app::eventsequence::EventSequence_Coroutine;
1050(EventSequence)__receiver)
1051 }
1052 }
1053 #[doc = "`Tick()` overload"]
1054 fn tick(self) -> () {
1055 unsafe {
1056 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1057 ::unity::il2cpp_call!((::unity::module_base()+0x24e3340usize)as*mut u8,();
1058(EventSequence)__receiver)
1059 }
1060 }
1061 #[doc = "`YieldCoroutine()` overload"]
1062 fn yield_coroutine(self) -> () {
1063 unsafe {
1064 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1065 ::unity::il2cpp_call!((::unity::module_base()+0x24e3470usize)as*mut u8,();
1066(EventSequence)__receiver)
1067 }
1068 }
1069 #[doc = "`AddCoroutine(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
1070 fn add_coroutine(
1071 self,
1072 func: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1073 args: impl ::core::convert::Into<::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>>,
1074 ) -> crate::app::eventsequence::EventSequence {
1075 unsafe {
1076 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1077 ::unity::il2cpp_call!((::unity::module_base()+0x24e3490usize)as*mut u8,crate::app::eventsequence::EventSequence;
1078(EventSequence)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(func),(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(args))
1079 }
1080 }
1081 #[doc = "`JumpCoroutine(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)` overload"]
1082 fn jump_coroutine(
1083 self,
1084 func: impl ::core::convert::Into<crate::moon_sharp::interpreter::dynvalue::DynValue>,
1085 args: impl ::core::convert::Into<::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>>,
1086 ) -> crate::app::eventsequence::EventSequence {
1087 unsafe {
1088 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1089 ::unity::il2cpp_call!((::unity::module_base()+0x24e3620usize)as*mut u8,crate::app::eventsequence::EventSequence;
1090(EventSequence)__receiver,(crate::moon_sharp::interpreter::dynvalue::DynValue)::core::convert::Into::into(func),(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(args))
1091 }
1092 }
1093 #[doc = "`GetDebugLog()` overload"]
1094 fn get_debug_log(self) -> ::unity::Il2CppString {
1095 unsafe {
1096 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1097 {
1098 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1099 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
1100 panic!(
1101 "unity: virtual slot {}
1102 out of range (vtable len {}
1103) on the runtime class behind {}
1104 (method `{}
1105`)",
1106 17usize,
1107 __vt.len(),
1108 <EventSequence as ::unity::ClassIdentity>::NAME,
1109 "GetDebugLog",
1110 )
1111 });
1112 let __inner: extern "C" fn(EventSequence, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
1113 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1114 __inner(__receiver, __mi)
1115 }
1116 }
1117 }
1118 #[doc = "`.ctor()` overload"]
1119 fn ctor(self) -> () {
1120 unsafe {
1121 let __receiver = <EventSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1122 ::unity::il2cpp_call!((::unity::module_base()+0x24e3de0usize)as*mut u8,();
1123(EventSequence)__receiver)
1124 }
1125 }
1126}
1127
1128#[cfg(feature = "app-eventsequence")]
1129impl<__T: IEventSequence> IEventSequenceMethods for __T {}
1130
1131#[cfg(feature = "app-eventsequence")]
1132impl EventSequence {
1133 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1134 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1135 }
1136
1137 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1138 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1139 }
1140
1141 pub fn on_shutdown_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1142 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1143 }
1144
1145 pub fn try_bind_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1146 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1147 }
1148
1149 pub fn try_unbind_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1150 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1151 }
1152
1153 pub fn get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1154 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1155 }
1156
1157 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1158 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1159 }
1160
1161 pub fn yield_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1162 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1163 }
1164
1165 pub fn add_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1166 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1167 }
1168
1169 pub fn jump_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1170 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1171 }
1172
1173 pub fn get_debug_log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1174 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1175 }
1176
1177 pub fn get_coroutines_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1178 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1179 }
1180
1181 pub fn get_stack_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1182 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1183 }
1184
1185 pub fn get_stack_function_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1186 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1187 }
1188
1189 pub fn get_current_address_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1191 }
1192
1193 pub fn dummy_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1195 }
1196
1197 pub fn try_create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1199 }
1200
1201 pub fn try_create_bind_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1203 }
1204
1205 pub fn is_binding_ui_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1207 }
1208
1209 pub fn try_create_bind_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1211 }
1212
1213 pub fn turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1215 }
1216
1217 pub fn turn_after_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1219 }
1220
1221 pub fn turn_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1223 }
1224
1225 pub fn area_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1227 }
1228
1229 pub fn die_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1231 }
1232
1233 pub fn revive_before_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1235 }
1236
1237 pub fn revive_after_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1238 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1239 }
1240
1241 pub fn fixed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1242 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1243 }
1244
1245 pub fn talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1247 }
1248
1249 pub fn help_spot_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1251 }
1252
1253 pub fn battle_before_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1254 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1255 }
1256
1257 pub fn battle_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1259 }
1260
1261 pub fn battle_after_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1263 }
1264
1265 pub fn pickup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1267 }
1268
1269 pub fn unit_command_prepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1271 }
1272
1273 pub fn unit_command_interrupt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1275 }
1276
1277 pub fn engage_before_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1279 }
1280
1281 pub fn engage_after_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1282 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1283 }
1284
1285 pub fn target_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1286 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1287 }
1288
1289 pub fn poke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1290 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1291 }
1292
1293 pub fn poke_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1294 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1295 }
1296
1297 pub fn startup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1298 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1299 }
1300
1301 pub fn cleanup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1302 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1303 }
1304
1305 pub fn main_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1306 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1307 }
1308
1309 pub fn opening_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1310 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1311 }
1312
1313 pub fn ending_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1314 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1315 }
1316
1317 pub fn game_over_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1318 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1319 }
1320
1321 pub fn map_dispos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1322 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1323 }
1324
1325 pub fn map_opening_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1326 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1327 }
1328
1329 pub fn map_ending_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1330 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1331 }
1332
1333 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1334 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1335 }
1336}
1337
1338#[cfg(feature = "app-eventsequence")]
1339impl EventSequence {
1340 #[doc = "Direct (non-virtual) call to `EventSequence`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1341 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1342 let __mi = Self::on_create_method_info();
1343 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1344 __inner(this.into(), ::core::option::Option::None)
1345 }
1346
1347 #[doc = "Direct (non-virtual) call to `EventSequence`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1348 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1349 let __mi = Self::on_dispose_method_info();
1350 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1351 __inner(this.into(), ::core::option::Option::None)
1352 }
1353
1354 #[doc = "Direct (non-virtual) call to `EventSequence`'s own `OnShutdown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1355 pub unsafe fn on_shutdown(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1356 let __mi = Self::on_shutdown_method_info();
1357 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1358 __inner(this.into(), ::core::option::Option::None)
1359 }
1360
1361 #[doc = "Direct (non-virtual) call to `EventSequence`'s own `GetDebugLog`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1362 pub unsafe fn get_debug_log(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1363 let __mi = Self::get_debug_log_method_info();
1364 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1365 __inner(this.into(), ::core::option::Option::None)
1366 }
1367}
1368
1369#[cfg(feature = "app-eventsequence")]
1370impl EventSequence {
1371 #[doc = "`.ctor()` — no args"]
1372 pub fn new() -> Self {
1373 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1374 panic!(
1375 "{}
1376::{}
1377 failed to instantiate",
1378 ::core::stringify!(EventSequence),
1379 ::core::stringify!(new),
1380 )
1381 });
1382 <Self as IEventSequenceMethods>::ctor(this);
1383 this
1384 }
1385}
1386
1387#[cfg(feature = "app-eventsequence")]
1388#[doc(hidden)]
1389pub mod prelude {
1390 pub use super::{
1391 EventSequence, EventSequence_Coroutine, EventSequence_Label, EventSequence_MapEventStatck, IEventSequence, IEventSequenceMethods,
1392 IEventSequence_Coroutine, IEventSequence_CoroutineMethods, IEventSequence_MapEventStatck, IEventSequence_MapEventStatckMethods,
1393 };
1394 #[cfg(feature = "app-procinst")]
1395 pub use crate::app::procinst::IProcInstMethods;
1396 #[cfg(feature = "app-stackprocinst_1")]
1397 pub use crate::app::stackprocinst_1::IStackProcInst_1Methods;
1398 #[cfg(feature = "system-object")]
1399 pub use crate::system::object::IObjectMethods;
1400 #[cfg(feature = "system-enum")]
1401 pub use crate::system::r#enum::IEnumMethods;
1402 #[cfg(feature = "system-valuetype")]
1403 pub use crate::system::valuetype::IValueTypeMethods;
1404 pub use crate::{
1405 app::{procinst::IProcInst, stackprocinst_1::IStackProcInst_1},
1406 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
1407 };
1408}