1#[cfg(feature = "app-proc-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 delegate::{Delegate, IDelegate},
10 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
11 object::{IObject, Object},
12 r#enum::{Enum, IEnum},
13 valuetype::{IValueType, ValueType},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/proc/Proc_ProcCallback_1.md"))]
17 #[::unity::class(namespace = "App", name = "Proc.ProcCallback`1")]
18 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
19 #[parent(crate::system::delegate::Delegate)]
20 #[parent(crate::system::object::Object)]
21 pub struct Proc_ProcCallback_1<T0: ::unity::ClassIdentity> {}
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/proc/Proc.md"))]
24 #[::unity::class(namespace = "App", name = "Proc")]
25 #[parent(crate::system::object::Object)]
26 pub struct Proc {
27 #[static_field]
28 #[rename(name = "s_Roots")]
29 pub s_roots: ::unity::Array<crate::app::procinst::ProcInst>,
30 }
31
32 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/proc/Proc_RootType.md"))]
33 #[repr(C)]
34 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
35 pub struct Proc_RootType {
36 pub value: i32,
37 }
38 impl ::unity::ClassIdentity for Proc_RootType {
39 const NAME: &'static str = "Proc.RootType";
40 const NAMESPACE: &'static str = "App";
41
42 fn class() -> ::unity::Class {
43 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
44 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
45 }
46 }
47 impl ::unity::IlType for Proc_RootType {
48 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
49 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
50 }
51 }
52 impl Proc_RootType {
53 pub fn hi() -> Self {
54 Self { value: 0 }
55 }
56
57 pub fn def() -> Self {
58 Self { value: 1 }
59 }
60
61 pub fn low() -> Self {
62 Self { value: 2 }
63 }
64
65 pub fn num() -> Self {
66 Self { value: 3 }
67 }
68 }
69}
70
71#[cfg(feature = "app-proc-types")]
72pub use __types::*;
73
74#[cfg(feature = "app-proc")]
75#[::unity::methods]
76impl<T0: ::unity::ClassIdentity> Proc_ProcCallback_1<T0> {
77 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
78 #[method(name = ".ctor", args = 2)]
79 pub fn ctor(self, object: crate::system::object::Object, method: ::unity::IntPtr) -> ();
80
81 #[doc = "`Invoke(T0)` overload"]
82 #[method(name = "Invoke", args = 1)]
83 pub fn invoke(self, inst: T0) -> ();
84}
85
86#[cfg(feature = "app-proc")]
87impl<T0: ::unity::ClassIdentity> Proc_ProcCallback_1<T0> {
88 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
89 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
90 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
91 panic!(
92 "{}
93::{}
94 failed to instantiate",
95 ::core::stringify!(Proc_ProcCallback_1),
96 ::core::stringify!(new),
97 )
98 });
99 <Self as IProc_ProcCallback_1Methods<T0>>::ctor(this, object, method);
100 this
101 }
102}
103
104#[cfg(feature = "app-proc")]
105impl Proc {
106 #[doc = "`Initialize()` overload"]
107 pub fn initialize() -> () {
108 unsafe {
109 ::unity::il2cpp_call!((::unity::module_base()+0x2819980usize)as*mut u8,();
110 )
111 }
112 }
113
114 #[doc = "`Exec(crate::app::proc::Proc_RootType)` overload"]
115 pub fn exec(r#type: impl ::core::convert::Into<crate::app::proc::Proc_RootType>) -> () {
116 unsafe {
117 ::unity::il2cpp_call!((::unity::module_base()+0x2819f70usize)as*mut u8,();
118(crate::app::proc::Proc_RootType)::core::convert::Into::into(r#type))
119 }
120 }
121
122 #[doc = "`Sweep()` overload"]
123 pub fn sweep() -> () {
124 unsafe {
125 ::unity::il2cpp_call!((::unity::module_base()+0x281a3b0usize)as*mut u8,();
126 )
127 }
128 }
129
130 #[doc = "`FindByName(::unity::Il2CppString)` overload"]
131 pub fn find_by_name(name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::procinst::ProcInst {
132 unsafe {
133 ::unity::il2cpp_call!((::unity::module_base()+0x281a5b0usize)as*mut u8,crate::app::procinst::ProcInst;
134(::unity::Il2CppString)::core::convert::Into::into(name))
135 }
136 }
137
138 #[doc = "`KillByName(::unity::Il2CppString)` overload"]
139 pub fn kill_by_name(name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
140 unsafe {
141 ::unity::il2cpp_call!((::unity::module_base()+0x281a810usize)as*mut u8,();
142(::unity::Il2CppString)::core::convert::Into::into(name))
143 }
144 }
145
146 #[doc = "`KillByBind(crate::app::procinst::ProcInst)` overload"]
147 pub fn kill_by_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
148 unsafe {
149 ::unity::il2cpp_call!((::unity::module_base()+0x281aa60usize)as*mut u8,();
150(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
151 }
152 }
153
154 pub fn find_by_class<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>() -> M0 {
155 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
156 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Proc as ::unity::ClassIdentity>::class(), "FindByClass", 0));
157 #[allow(clippy::type_complexity)]
158 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
159 ::std::sync::OnceLock::new();
160 let _ = true;
161 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
162 ::core::result::Result::Ok(mi) => *mi,
163 ::core::result::Result::Err(e) => {
164 panic!(
165 "method lookup failed: {}
166::{}
167: {}
168",
169 <Proc as ::unity::ClassIdentity>::NAME,
170 "FindByClass",
171 e
172 )
173 },
174 };
175 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
176 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
177 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
178 let mut __guard = __cache.lock().unwrap();
179 *__guard
180 .entry(__key)
181 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
182 };
183 unsafe {
184 let __f: extern "C" fn(::unity::OptionalMethod) -> M0 = ::core::mem::transmute(__inflated.method_ptr);
185 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
186 __f(::core::option::Option::Some(__mi_opaque))
187 }
188 }
189
190 pub fn kill_by_class<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>() -> () {
191 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
192 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Proc as ::unity::ClassIdentity>::class(), "KillByClass", 0));
193 #[allow(clippy::type_complexity)]
194 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
195 ::std::sync::OnceLock::new();
196 let _ = true;
197 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
198 ::core::result::Result::Ok(mi) => *mi,
199 ::core::result::Result::Err(e) => {
200 panic!(
201 "method lookup failed: {}
202::{}
203: {}
204",
205 <Proc as ::unity::ClassIdentity>::NAME,
206 "KillByClass",
207 e
208 )
209 },
210 };
211 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
212 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
213 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
214 let mut __guard = __cache.lock().unwrap();
215 *__guard
216 .entry(__key)
217 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
218 };
219 unsafe {
220 let __f: extern "C" fn(::unity::OptionalMethod) -> () = ::core::mem::transmute(__inflated.method_ptr);
221 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
222 __f(::core::option::Option::Some(__mi_opaque))
223 }
224 }
225
226 pub fn callback_by_class<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
227 callback: impl ::core::convert::Into<crate::app::proc::Proc_ProcCallback_1<M0>>,
228 ) -> bool {
229 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
230 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Proc as ::unity::ClassIdentity>::class(), "CallbackByClass", 1));
231 #[allow(clippy::type_complexity)]
232 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
233 ::std::sync::OnceLock::new();
234 let _ = true;
235 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
236 ::core::result::Result::Ok(mi) => *mi,
237 ::core::result::Result::Err(e) => {
238 panic!(
239 "method lookup failed: {}
240::{}
241: {}
242",
243 <Proc as ::unity::ClassIdentity>::NAME,
244 "CallbackByClass",
245 e
246 )
247 },
248 };
249 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
250 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
251 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
252 let mut __guard = __cache.lock().unwrap();
253 *__guard
254 .entry(__key)
255 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
256 };
257 unsafe {
258 let __f: extern "C" fn(crate::app::proc::Proc_ProcCallback_1<M0>, ::unity::OptionalMethod) -> bool =
259 ::core::mem::transmute(__inflated.method_ptr);
260 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
261 __f(::core::convert::Into::into(callback), ::core::option::Option::Some(__mi_opaque))
262 }
263 }
264
265 #[doc = "`GetRoot(crate::app::proc::Proc_RootType)` overload"]
266 pub fn get_root(r#type: impl ::core::convert::Into<crate::app::proc::Proc_RootType>) -> crate::app::procinst::ProcInst {
267 unsafe {
268 ::unity::il2cpp_call!((::unity::module_base()+0x281aac0usize)as*mut u8,crate::app::procinst::ProcInst;
269(crate::app::proc::Proc_RootType)::core::convert::Into::into(r#type))
270 }
271 }
272
273 #[doc = "`GetRootHi()` overload"]
274 pub fn get_root_hi() -> crate::app::procinst::ProcInst {
275 unsafe {
276 ::unity::il2cpp_call!((::unity::module_base()+0x281ab50usize)as*mut u8,crate::app::procinst::ProcInst;
277 )
278 }
279 }
280
281 #[doc = "`GetRootDef()` overload"]
282 pub fn get_root_def() -> crate::app::procinst::ProcInst {
283 unsafe {
284 ::unity::il2cpp_call!((::unity::module_base()+0x281abd0usize)as*mut u8,crate::app::procinst::ProcInst;
285 )
286 }
287 }
288
289 #[doc = "`GetRootLow()` overload"]
290 pub fn get_root_low() -> crate::app::procinst::ProcInst {
291 unsafe {
292 ::unity::il2cpp_call!((::unity::module_base()+0x281ac50usize)as*mut u8,crate::app::procinst::ProcInst;
293 )
294 }
295 }
296
297 #[doc = "`End()` overload"]
298 pub fn end() -> crate::app::procdesc::ProcDesc {
299 unsafe {
300 ::unity::il2cpp_call!((::unity::module_base()+0x280aa50usize)as*mut u8,crate::app::procdesc::ProcDesc;
301 )
302 }
303 }
304
305 #[doc = "`Halt()` overload"]
306 pub fn halt() -> crate::app::procdesc::ProcDesc {
307 unsafe {
308 ::unity::il2cpp_call!((::unity::module_base()+0x281ad00usize)as*mut u8,crate::app::procdesc::ProcDesc;
309 )
310 }
311 }
312
313 #[doc = "`Jump(i32)` overload"]
314 pub fn jump(label: impl ::core::convert::Into<i32>) -> crate::app::procdesc::ProcDesc {
315 unsafe {
316 ::unity::il2cpp_call!((::unity::module_base()+0x281ad90usize)as*mut u8,crate::app::procdesc::ProcDesc;
317(i32)::core::convert::Into::into(label))
318 }
319 }
320
321 #[doc = "`Jump(::unity::Il2CppString)` overload"]
322 pub fn jump_2(label: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::procdesc::ProcDesc {
323 unsafe {
324 ::unity::il2cpp_call!((::unity::module_base()+0x281ae30usize)as*mut u8,crate::app::procdesc::ProcDesc;
325(::unity::Il2CppString)::core::convert::Into::into(label))
326 }
327 }
328
329 #[doc = "`Label(i32)` overload"]
330 pub fn label(label: impl ::core::convert::Into<i32>) -> crate::app::procdesc::ProcDesc {
331 unsafe {
332 ::unity::il2cpp_call!((::unity::module_base()+0x281aeb0usize)as*mut u8,crate::app::procdesc::ProcDesc;
333(i32)::core::convert::Into::into(label))
334 }
335 }
336
337 #[doc = "`Label(::unity::Il2CppString)` overload"]
338 pub fn label_2(label: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::procdesc::ProcDesc {
339 unsafe {
340 ::unity::il2cpp_call!((::unity::module_base()+0x281af50usize)as*mut u8,crate::app::procdesc::ProcDesc;
341(::unity::Il2CppString)::core::convert::Into::into(label))
342 }
343 }
344
345 #[doc = "`Jump(crate::system::valuetype::ValueType)` overload"]
346 pub fn jump_3(label: impl ::core::convert::Into<crate::system::valuetype::ValueType>) -> crate::app::procdesc::ProcDesc {
347 unsafe {
348 ::unity::il2cpp_call!((::unity::module_base()+0x280a8c0usize)as*mut u8,crate::app::procdesc::ProcDesc;
349(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
350 }
351 }
352
353 #[doc = "`Label(crate::system::valuetype::ValueType)` overload"]
354 pub fn label_3(label: impl ::core::convert::Into<crate::system::valuetype::ValueType>) -> crate::app::procdesc::ProcDesc {
355 unsafe {
356 ::unity::il2cpp_call!((::unity::module_base()+0x280a6c0usize)as*mut u8,crate::app::procdesc::ProcDesc;
357(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
358 }
359 }
360
361 #[doc = "`Push(i32)` overload"]
362 pub fn push(label: impl ::core::convert::Into<i32>) -> crate::app::procdesc::ProcDesc {
363 unsafe {
364 ::unity::il2cpp_call!((::unity::module_base()+0x281afd0usize)as*mut u8,crate::app::procdesc::ProcDesc;
365(i32)::core::convert::Into::into(label))
366 }
367 }
368
369 #[doc = "`Push(crate::system::valuetype::ValueType)` overload"]
370 pub fn push_2(label: impl ::core::convert::Into<crate::system::valuetype::ValueType>) -> crate::app::procdesc::ProcDesc {
371 unsafe {
372 ::unity::il2cpp_call!((::unity::module_base()+0x281b070usize)as*mut u8,crate::app::procdesc::ProcDesc;
373(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
374 }
375 }
376
377 #[doc = "`Pop()` overload"]
378 pub fn pop() -> crate::app::procdesc::ProcDesc {
379 unsafe {
380 ::unity::il2cpp_call!((::unity::module_base()+0x281b130usize)as*mut u8,crate::app::procdesc::ProcDesc;
381 )
382 }
383 }
384
385 #[doc = "`Yield()` overload"]
386 pub fn r#yield() -> crate::app::procdesc::ProcDesc {
387 unsafe {
388 ::unity::il2cpp_call!((::unity::module_base()+0x281b1c0usize)as*mut u8,crate::app::procdesc::ProcDesc;
389 )
390 }
391 }
392
393 #[doc = "`Call(crate::app::procvoidfunction::ProcVoidFunction)` overload"]
394 pub fn call(function: impl ::core::convert::Into<crate::app::procvoidfunction::ProcVoidFunction>) -> crate::app::procdesc::ProcDesc {
395 unsafe {
396 ::unity::il2cpp_call!((::unity::module_base()+0x281b250usize)as*mut u8,crate::app::procdesc::ProcDesc;
397(crate::app::procvoidfunction::ProcVoidFunction)::core::convert::Into::into(function))
398 }
399 }
400
401 #[doc = "`Call(crate::app::procvoidmethod::ProcVoidMethod)` overload"]
402 pub fn call_2(function: impl ::core::convert::Into<crate::app::procvoidmethod::ProcVoidMethod>) -> crate::app::procdesc::ProcDesc {
403 unsafe {
404 ::unity::il2cpp_call!((::unity::module_base()+0x280a7a0usize)as*mut u8,crate::app::procdesc::ProcDesc;
405(crate::app::procvoidmethod::ProcVoidMethod)::core::convert::Into::into(function))
406 }
407 }
408
409 #[doc = "`Call(crate::system::action_2::Action_2<crate::app::procinst::ProcInst,::unity::Il2CppString>, ::unity::Il2CppString)` overload"]
410 pub fn call_3(
411 function: impl ::core::convert::Into<crate::system::action_2::Action_2<crate::app::procinst::ProcInst, ::unity::Il2CppString>>,
412 arg: impl ::core::convert::Into<::unity::Il2CppString>,
413 ) -> crate::app::procdesc::ProcDesc {
414 unsafe {
415 ::unity::il2cpp_call!((::unity::module_base()+0x281b350usize)as*mut u8,crate::app::procdesc::ProcDesc;
416(crate::system::action_2::Action_2<crate::app::procinst::ProcInst, ::unity::Il2CppString>)::core::convert::Into::into(function),(::unity::Il2CppString)::core::convert::Into::into(arg))
417 }
418 }
419
420 #[doc = "`Call(crate::system::action_1::Action_1<::unity::Il2CppString>, ::unity::Il2CppString)` overload"]
421 pub fn call_4(
422 function: impl ::core::convert::Into<crate::system::action_1::Action_1<::unity::Il2CppString>>,
423 arg: impl ::core::convert::Into<::unity::Il2CppString>,
424 ) -> crate::app::procdesc::ProcDesc {
425 unsafe {
426 ::unity::il2cpp_call!((::unity::module_base()+0x281b440usize)as*mut u8,crate::app::procdesc::ProcDesc;
427(crate::system::action_1::Action_1< ::unity::Il2CppString>)::core::convert::Into::into(function),(::unity::Il2CppString)::core::convert::Into::into(arg))
428 }
429 }
430
431 pub fn call_5<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
432 function: impl ::core::convert::Into<crate::system::action_2::Action_2<crate::app::procinst::ProcInst, M0>>,
433 arg: impl ::core::convert::Into<M0>,
434 ) -> crate::app::procdesc::ProcDesc {
435 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
436 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Proc as ::unity::ClassIdentity>::class(), "Call", 2));
437 #[allow(clippy::type_complexity)]
438 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
439 ::std::sync::OnceLock::new();
440 let _ = true;
441 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
442 ::core::result::Result::Ok(mi) => *mi,
443 ::core::result::Result::Err(e) => {
444 panic!(
445 "method lookup failed: {}
446::{}
447: {}
448",
449 <Proc as ::unity::ClassIdentity>::NAME,
450 "Call",
451 e
452 )
453 },
454 };
455 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
456 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
457 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
458 let mut __guard = __cache.lock().unwrap();
459 *__guard
460 .entry(__key)
461 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
462 };
463 unsafe {
464 let __f: extern "C" fn(
465 crate::system::action_2::Action_2<crate::app::procinst::ProcInst, M0>,
466 M0,
467 ::unity::OptionalMethod,
468 ) -> crate::app::procdesc::ProcDesc = ::core::mem::transmute(__inflated.method_ptr);
469 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
470 __f(
471 ::core::convert::Into::into(function),
472 ::core::convert::Into::into(arg),
473 ::core::option::Option::Some(__mi_opaque),
474 )
475 }
476 }
477
478 pub fn call_6<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
479 function: impl ::core::convert::Into<crate::system::action_1::Action_1<M0>>,
480 arg: impl ::core::convert::Into<M0>,
481 ) -> crate::app::procdesc::ProcDesc {
482 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
483 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Proc as ::unity::ClassIdentity>::class(), "Call", 2));
484 #[allow(clippy::type_complexity)]
485 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
486 ::std::sync::OnceLock::new();
487 let _ = true;
488 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
489 ::core::result::Result::Ok(mi) => *mi,
490 ::core::result::Result::Err(e) => {
491 panic!(
492 "method lookup failed: {}
493::{}
494: {}
495",
496 <Proc as ::unity::ClassIdentity>::NAME,
497 "Call",
498 e
499 )
500 },
501 };
502 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
503 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
504 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
505 let mut __guard = __cache.lock().unwrap();
506 *__guard
507 .entry(__key)
508 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
509 };
510 unsafe {
511 let __f: extern "C" fn(crate::system::action_1::Action_1<M0>, M0, ::unity::OptionalMethod) -> crate::app::procdesc::ProcDesc =
512 ::core::mem::transmute(__inflated.method_ptr);
513 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
514 __f(
515 ::core::convert::Into::into(function),
516 ::core::convert::Into::into(arg),
517 ::core::option::Option::Some(__mi_opaque),
518 )
519 }
520 }
521
522 #[doc = "`Tick(crate::app::procvoidfunction::ProcVoidFunction)` overload"]
523 pub fn tick(function: impl ::core::convert::Into<crate::app::procvoidfunction::ProcVoidFunction>) -> crate::app::procdesc::ProcDesc {
524 unsafe {
525 ::unity::il2cpp_call!((::unity::module_base()+0x281b530usize)as*mut u8,crate::app::procdesc::ProcDesc;
526(crate::app::procvoidfunction::ProcVoidFunction)::core::convert::Into::into(function))
527 }
528 }
529
530 #[doc = "`Tick(crate::app::procvoidmethod::ProcVoidMethod)` overload"]
531 pub fn tick_2(method: impl ::core::convert::Into<crate::app::procvoidmethod::ProcVoidMethod>) -> crate::app::procdesc::ProcDesc {
532 unsafe {
533 ::unity::il2cpp_call!((::unity::module_base()+0x281b5f0usize)as*mut u8,crate::app::procdesc::ProcDesc;
534(crate::app::procvoidmethod::ProcVoidMethod)::core::convert::Into::into(method))
535 }
536 }
537
538 #[doc = "`Tick(crate::app::procenummethod::ProcEnumMethod)` overload"]
539 pub fn tick_3(method: impl ::core::convert::Into<crate::app::procenummethod::ProcEnumMethod>) -> crate::app::procdesc::ProcDesc {
540 unsafe {
541 ::unity::il2cpp_call!((::unity::module_base()+0x281b6b0usize)as*mut u8,crate::app::procdesc::ProcDesc;
542(crate::app::procenummethod::ProcEnumMethod)::core::convert::Into::into(method))
543 }
544 }
545
546 #[doc = "`WaitTime(f32)` overload"]
547 pub fn wait_time(second: impl ::core::convert::Into<f32>) -> crate::app::procdesc::ProcDesc {
548 unsafe {
549 ::unity::il2cpp_call!((::unity::module_base()+0x281b7c0usize)as*mut u8,crate::app::procdesc::ProcDesc;
550(f32)::core::convert::Into::into(second))
551 }
552 }
553
554 #[doc = "`WaitWhileTrue(crate::app::procboolfunction::ProcBoolFunction)` overload"]
555 pub fn wait_while_true(function: impl ::core::convert::Into<crate::app::procboolfunction::ProcBoolFunction>) -> crate::app::procdesc::ProcDesc {
556 unsafe {
557 ::unity::il2cpp_call!((::unity::module_base()+0x281b870usize)as*mut u8,crate::app::procdesc::ProcDesc;
558(crate::app::procboolfunction::ProcBoolFunction)::core::convert::Into::into(function))
559 }
560 }
561
562 #[doc = "`WaitWhileFalse(crate::app::procboolfunction::ProcBoolFunction)` overload"]
563 pub fn wait_while_false(function: impl ::core::convert::Into<crate::app::procboolfunction::ProcBoolFunction>) -> crate::app::procdesc::ProcDesc {
564 unsafe {
565 ::unity::il2cpp_call!((::unity::module_base()+0x281b930usize)as*mut u8,crate::app::procdesc::ProcDesc;
566(crate::app::procboolfunction::ProcBoolFunction)::core::convert::Into::into(function))
567 }
568 }
569
570 #[doc = "`WaitWhileTrue(crate::app::procboolmethod::ProcBoolMethod)` overload"]
571 pub fn wait_while_true_2(function: impl ::core::convert::Into<crate::app::procboolmethod::ProcBoolMethod>) -> crate::app::procdesc::ProcDesc {
572 unsafe {
573 ::unity::il2cpp_call!((::unity::module_base()+0x280a840usize)as*mut u8,crate::app::procdesc::ProcDesc;
574(crate::app::procboolmethod::ProcBoolMethod)::core::convert::Into::into(function))
575 }
576 }
577
578 #[doc = "`WaitWhileFalse(crate::app::procboolmethod::ProcBoolMethod)` overload"]
579 pub fn wait_while_false_2(function: impl ::core::convert::Into<crate::app::procboolmethod::ProcBoolMethod>) -> crate::app::procdesc::ProcDesc {
580 unsafe {
581 ::unity::il2cpp_call!((::unity::module_base()+0x281ba30usize)as*mut u8,crate::app::procdesc::ProcDesc;
582(crate::app::procboolmethod::ProcBoolMethod)::core::convert::Into::into(function))
583 }
584 }
585
586 #[doc = "`JumpTrue(crate::app::procboolfunction::ProcBoolFunction, i32)` overload"]
587 pub fn jump_true(
588 function: impl ::core::convert::Into<crate::app::procboolfunction::ProcBoolFunction>,
589 label: impl ::core::convert::Into<i32>,
590 ) -> crate::app::procdesc::ProcDesc {
591 unsafe {
592 ::unity::il2cpp_call!((::unity::module_base()+0x281baf0usize)as*mut u8,crate::app::procdesc::ProcDesc;
593(crate::app::procboolfunction::ProcBoolFunction)::core::convert::Into::into(function),(i32)::core::convert::Into::into(label))
594 }
595 }
596
597 #[doc = "`JumpTrue(crate::app::procboolfunction::ProcBoolFunction, ::unity::Il2CppString)` overload"]
598 pub fn jump_true_2(
599 function: impl ::core::convert::Into<crate::app::procboolfunction::ProcBoolFunction>,
600 label: impl ::core::convert::Into<::unity::Il2CppString>,
601 ) -> crate::app::procdesc::ProcDesc {
602 unsafe {
603 ::unity::il2cpp_call!((::unity::module_base()+0x281bbc0usize)as*mut u8,crate::app::procdesc::ProcDesc;
604(crate::app::procboolfunction::ProcBoolFunction)::core::convert::Into::into(function),(::unity::Il2CppString)::core::convert::Into::into(label))
605 }
606 }
607
608 #[doc = "`JumpFalse(crate::app::procboolfunction::ProcBoolFunction, i32)` overload"]
609 pub fn jump_false(
610 function: impl ::core::convert::Into<crate::app::procboolfunction::ProcBoolFunction>,
611 label: impl ::core::convert::Into<i32>,
612 ) -> crate::app::procdesc::ProcDesc {
613 unsafe {
614 ::unity::il2cpp_call!((::unity::module_base()+0x281bc60usize)as*mut u8,crate::app::procdesc::ProcDesc;
615(crate::app::procboolfunction::ProcBoolFunction)::core::convert::Into::into(function),(i32)::core::convert::Into::into(label))
616 }
617 }
618
619 #[doc = "`JumpFalse(crate::app::procboolfunction::ProcBoolFunction, ::unity::Il2CppString)` overload"]
620 pub fn jump_false_2(
621 function: impl ::core::convert::Into<crate::app::procboolfunction::ProcBoolFunction>,
622 label: impl ::core::convert::Into<::unity::Il2CppString>,
623 ) -> crate::app::procdesc::ProcDesc {
624 unsafe {
625 ::unity::il2cpp_call!((::unity::module_base()+0x281bd30usize)as*mut u8,crate::app::procdesc::ProcDesc;
626(crate::app::procboolfunction::ProcBoolFunction)::core::convert::Into::into(function),(::unity::Il2CppString)::core::convert::Into::into(label))
627 }
628 }
629
630 #[doc = "`JumpTrue(crate::app::procboolmethod::ProcBoolMethod, i32)` overload"]
631 pub fn jump_true_3(
632 function: impl ::core::convert::Into<crate::app::procboolmethod::ProcBoolMethod>,
633 label: impl ::core::convert::Into<i32>,
634 ) -> crate::app::procdesc::ProcDesc {
635 unsafe {
636 ::unity::il2cpp_call!((::unity::module_base()+0x281bdd0usize)as*mut u8,crate::app::procdesc::ProcDesc;
637(crate::app::procboolmethod::ProcBoolMethod)::core::convert::Into::into(function),(i32)::core::convert::Into::into(label))
638 }
639 }
640
641 #[doc = "`JumpFalse(crate::app::procboolmethod::ProcBoolMethod, i32)` overload"]
642 pub fn jump_false_3(
643 function: impl ::core::convert::Into<crate::app::procboolmethod::ProcBoolMethod>,
644 label: impl ::core::convert::Into<i32>,
645 ) -> crate::app::procdesc::ProcDesc {
646 unsafe {
647 ::unity::il2cpp_call!((::unity::module_base()+0x281bea0usize)as*mut u8,crate::app::procdesc::ProcDesc;
648(crate::app::procboolmethod::ProcBoolMethod)::core::convert::Into::into(function),(i32)::core::convert::Into::into(label))
649 }
650 }
651
652 #[doc = "`JumpTrue(crate::app::procboolmethod::ProcBoolMethod, crate::system::valuetype::ValueType)` overload"]
653 pub fn jump_true_4(
654 method: impl ::core::convert::Into<crate::app::procboolmethod::ProcBoolMethod>,
655 label: impl ::core::convert::Into<crate::system::valuetype::ValueType>,
656 ) -> crate::app::procdesc::ProcDesc {
657 unsafe {
658 ::unity::il2cpp_call!((::unity::module_base()+0x280a980usize)as*mut u8,crate::app::procdesc::ProcDesc;
659(crate::app::procboolmethod::ProcBoolMethod)::core::convert::Into::into(method),(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
660 }
661 }
662
663 #[doc = "`JumpFalse(crate::app::procboolmethod::ProcBoolMethod, crate::system::valuetype::ValueType)` overload"]
664 pub fn jump_false_4(
665 method: impl ::core::convert::Into<crate::app::procboolmethod::ProcBoolMethod>,
666 label: impl ::core::convert::Into<crate::system::valuetype::ValueType>,
667 ) -> crate::app::procdesc::ProcDesc {
668 unsafe {
669 ::unity::il2cpp_call!((::unity::module_base()+0x281bf70usize)as*mut u8,crate::app::procdesc::ProcDesc;
670(crate::app::procboolmethod::ProcBoolMethod)::core::convert::Into::into(method),(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
671 }
672 }
673
674 #[doc = "`Persistent(crate::app::procvoidmethod::ProcVoidMethod)` overload"]
675 pub fn persistent(method: impl ::core::convert::Into<crate::app::procvoidmethod::ProcVoidMethod>) -> crate::app::procdesc::ProcDesc {
676 unsafe {
677 ::unity::il2cpp_call!((::unity::module_base()+0x281c040usize)as*mut u8,crate::app::procdesc::ProcDesc;
678(crate::app::procvoidmethod::ProcVoidMethod)::core::convert::Into::into(method))
679 }
680 }
681
682 #[doc = "`PersistentNull()` overload"]
683 pub fn persistent_null() -> crate::app::procdesc::ProcDesc {
684 unsafe {
685 ::unity::il2cpp_call!((::unity::module_base()+0x281c100usize)as*mut u8,crate::app::procdesc::ProcDesc;
686 )
687 }
688 }
689
690 #[doc = "`Sound(::unity::Il2CppString)` overload"]
691 pub fn sound(event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::procdesc::ProcDesc {
692 unsafe {
693 ::unity::il2cpp_call!((::unity::module_base()+0x281c170usize)as*mut u8,crate::app::procdesc::ProcDesc;
694(::unity::Il2CppString)::core::convert::Into::into(event_name))
695 }
696 }
697
698 #[doc = "`Log(::unity::Il2CppString)` overload"]
699 pub fn log(log: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::procdesc::ProcDesc {
700 unsafe {
701 ::unity::il2cpp_call!((::unity::module_base()+0x281c230usize)as*mut u8,crate::app::procdesc::ProcDesc;
702(::unity::Il2CppString)::core::convert::Into::into(log))
703 }
704 }
705
706 #[doc = "`Vsync(crate::app::gametime::GameTime_VsycMode)` overload"]
707 pub fn vsync(mode: impl ::core::convert::Into<crate::app::gametime::GameTime_VsycMode>) -> crate::app::procdesc::ProcDesc {
708 unsafe {
709 ::unity::il2cpp_call!((::unity::module_base()+0x281c2f0usize)as*mut u8,crate::app::procdesc::ProcDesc;
710(crate::app::gametime::GameTime_VsycMode)::core::convert::Into::into(mode))
711 }
712 }
713
714 #[doc = "`WaitIsLoading()` overload"]
715 pub fn wait_is_loading() -> crate::app::procdesc::ProcDesc {
716 unsafe {
717 ::unity::il2cpp_call!((::unity::module_base()+0x281c390usize)as*mut u8,crate::app::procdesc::ProcDesc;
718 )
719 }
720 }
721
722 pub fn create_no_desc<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
723 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
724 ) -> M0 {
725 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
726 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Proc as ::unity::ClassIdentity>::class(), "CreateNoDesc", 1));
727 #[allow(clippy::type_complexity)]
728 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
729 ::std::sync::OnceLock::new();
730 let _ = true;
731 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
732 ::core::result::Result::Ok(mi) => *mi,
733 ::core::result::Result::Err(e) => {
734 panic!(
735 "method lookup failed: {}
736::{}
737: {}
738",
739 <Proc as ::unity::ClassIdentity>::NAME,
740 "CreateNoDesc",
741 e
742 )
743 },
744 };
745 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
746 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
747 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
748 let mut __guard = __cache.lock().unwrap();
749 *__guard
750 .entry(__key)
751 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
752 };
753 unsafe {
754 let __f: extern "C" fn(crate::app::procinst::ProcInst, ::unity::OptionalMethod) -> M0 = ::core::mem::transmute(__inflated.method_ptr);
755 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
756 __f(::core::convert::Into::into(super_), ::core::option::Option::Some(__mi_opaque))
757 }
758 }
759
760 pub fn create_bind_no_desc<M0: ::unity::IlType + ::core::marker::Copy + ::unity::ClassIdentity>(
761 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
762 ) -> M0 {
763 static OPEN: ::std::sync::LazyLock<::unity::Il2CppResult<&'static ::unity::il2cpp::MethodInfo>> =
764 ::std::sync::LazyLock::new(|| ::unity::lookup::method_info_on_class(<Proc as ::unity::ClassIdentity>::class(), "CreateBindNoDesc", 1));
765 #[allow(clippy::type_complexity)]
766 static CACHE: ::std::sync::OnceLock<::std::sync::Mutex<::std::collections::HashMap<usize, &'static ::unity::il2cpp::MethodInfo>>> =
767 ::std::sync::OnceLock::new();
768 let _ = true;
769 let __open: &'static ::unity::il2cpp::MethodInfo = match &*OPEN {
770 ::core::result::Result::Ok(mi) => *mi,
771 ::core::result::Result::Err(e) => {
772 panic!(
773 "method lookup failed: {}
774::{}
775: {}
776",
777 <Proc as ::unity::ClassIdentity>::NAME,
778 "CreateBindNoDesc",
779 e
780 )
781 },
782 };
783 let __cache = CACHE.get_or_init(|| ::std::sync::Mutex::new(::std::collections::HashMap::new()));
784 let __key: usize = <M0 as ::unity::IlType>::il_type() as *const _ as usize;
785 let __inflated: &'static ::unity::il2cpp::MethodInfo = {
786 let mut __guard = __cache.lock().unwrap();
787 *__guard
788 .entry(__key)
789 .or_insert_with(|| ::unity::il2cpp::generic::create_generic_method_info(__open, &[<M0 as ::unity::IlType>::il_type()]))
790 };
791 unsafe {
792 let __f: extern "C" fn(crate::app::procinst::ProcInst, ::unity::OptionalMethod) -> M0 = ::core::mem::transmute(__inflated.method_ptr);
793 let __mi_opaque: &'static () = &*(__inflated as *const _ as *const ());
794 __f(::core::convert::Into::into(super_), ::core::option::Option::Some(__mi_opaque))
795 }
796 }
797
798 #[doc = "`GetDebugLog(crate::app::procinst::ProcInst)` overload"]
799 pub fn get_debug_log(inst: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> ::unity::Il2CppString {
800 unsafe {
801 ::unity::il2cpp_call!((::unity::module_base()+0x281c460usize)as*mut u8, ::unity::Il2CppString;
802(crate::app::procinst::ProcInst)::core::convert::Into::into(inst))
803 }
804 }
805
806 #[doc = "`.cctor()` overload"]
807 pub fn cctor() -> () {
808 unsafe {
809 ::unity::il2cpp_call!((::unity::module_base()+0x281c4d0usize)as*mut u8,();
810 )
811 }
812 }
813}
814
815#[cfg(feature = "app-proc")]
816pub trait IProcMethods: IProc {
817 #[doc = "`.ctor()` overload"]
818 fn ctor(self) -> () {
819 unsafe {
820 let __receiver = <Proc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
821 ::unity::il2cpp_call!((::unity::module_base()+0x281c4c0usize)as*mut u8,();
822(Proc)__receiver)
823 }
824 }
825}
826
827#[cfg(feature = "app-proc")]
828impl<__T: IProc> IProcMethods for __T {}
829
830#[cfg(feature = "app-proc")]
831impl Proc {
832 pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
833 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
834 }
835
836 pub fn exec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
837 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
838 }
839
840 pub fn sweep_method_info() -> &'static ::unity::il2cpp::MethodInfo {
841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
842 }
843
844 pub fn find_by_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
846 }
847
848 pub fn kill_by_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
850 }
851
852 pub fn kill_by_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
854 }
855
856 pub fn get_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
858 }
859
860 pub fn get_root_hi_method_info() -> &'static ::unity::il2cpp::MethodInfo {
861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
862 }
863
864 pub fn get_root_def_method_info() -> &'static ::unity::il2cpp::MethodInfo {
865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
866 }
867
868 pub fn get_root_low_method_info() -> &'static ::unity::il2cpp::MethodInfo {
869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
870 }
871
872 pub fn end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
874 }
875
876 pub fn halt_method_info() -> &'static ::unity::il2cpp::MethodInfo {
877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
878 }
879
880 pub fn jump_method_info() -> &'static ::unity::il2cpp::MethodInfo {
881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
882 }
883
884 pub fn jump_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
886 }
887
888 pub fn label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
890 }
891
892 pub fn label_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
893 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
894 }
895
896 pub fn jump_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
897 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
898 }
899
900 pub fn label_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
901 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
902 }
903
904 pub fn push_method_info() -> &'static ::unity::il2cpp::MethodInfo {
905 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
906 }
907
908 pub fn push_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
909 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
910 }
911
912 pub fn pop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
913 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
914 }
915
916 pub fn yield_method_info() -> &'static ::unity::il2cpp::MethodInfo {
917 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
918 }
919
920 pub fn call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
921 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
922 }
923
924 pub fn call_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
925 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
926 }
927
928 pub fn call_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
929 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
930 }
931
932 pub fn call_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
933 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
934 }
935
936 pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
937 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
938 }
939
940 pub fn tick_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
941 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
942 }
943
944 pub fn tick_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
945 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
946 }
947
948 pub fn wait_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
949 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
950 }
951
952 pub fn wait_while_true_method_info() -> &'static ::unity::il2cpp::MethodInfo {
953 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
954 }
955
956 pub fn wait_while_false_method_info() -> &'static ::unity::il2cpp::MethodInfo {
957 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
958 }
959
960 pub fn wait_while_true_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
961 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
962 }
963
964 pub fn wait_while_false_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
965 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
966 }
967
968 pub fn jump_true_method_info() -> &'static ::unity::il2cpp::MethodInfo {
969 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
970 }
971
972 pub fn jump_true_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
973 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
974 }
975
976 pub fn jump_false_method_info() -> &'static ::unity::il2cpp::MethodInfo {
977 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
978 }
979
980 pub fn jump_false_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
981 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
982 }
983
984 pub fn jump_true_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
985 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
986 }
987
988 pub fn jump_false_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
989 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
990 }
991
992 pub fn jump_true_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
993 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
994 }
995
996 pub fn jump_false_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
997 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
998 }
999
1000 pub fn persistent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1001 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1002 }
1003
1004 pub fn persistent_null_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1005 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1006 }
1007
1008 pub fn sound_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1009 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1010 }
1011
1012 pub fn log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1013 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1014 }
1015
1016 pub fn vsync_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1017 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1018 }
1019
1020 pub fn wait_is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1021 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1022 }
1023
1024 pub fn get_debug_log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1025 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1026 }
1027
1028 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1029 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1030 }
1031
1032 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1033 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1034 }
1035}
1036
1037#[cfg(feature = "app-proc")]
1038impl Proc {
1039 #[doc = "`.ctor()` — no args"]
1040 pub fn new() -> Self {
1041 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1042 panic!(
1043 "{}
1044::{}
1045 failed to instantiate",
1046 ::core::stringify!(Proc),
1047 ::core::stringify!(new),
1048 )
1049 });
1050 <Self as IProcMethods>::ctor(this);
1051 this
1052 }
1053}
1054
1055#[cfg(feature = "app-proc")]
1056#[doc(hidden)]
1057pub mod prelude {
1058 pub use super::{IProc, IProcMethods, IProc_ProcCallback_1, IProc_ProcCallback_1Methods, Proc, Proc_ProcCallback_1, Proc_RootType};
1059 #[cfg(feature = "system-delegate")]
1060 pub use crate::system::delegate::IDelegateMethods;
1061 #[cfg(feature = "system-multicastdelegate")]
1062 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1063 #[cfg(feature = "system-object")]
1064 pub use crate::system::object::IObjectMethods;
1065 #[cfg(feature = "system-enum")]
1066 pub use crate::system::r#enum::IEnumMethods;
1067 #[cfg(feature = "system-valuetype")]
1068 pub use crate::system::valuetype::IValueTypeMethods;
1069 pub use crate::system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType};
1070}