1#[cfg(feature = "app-procinst-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::{
9 object::{IObject, Object},
10 r#enum::{Enum, IEnum},
11 valuetype::{IValueType, ValueType},
12 };
13
14 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/procinst/ProcInst_State.md"))]
15 #[repr(C)]
16 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17 pub struct ProcInst_State {
18 pub value: i32,
19 }
20 impl ::unity::ClassIdentity for ProcInst_State {
21 const NAME: &'static str = "ProcInst.State";
22 const NAMESPACE: &'static str = "App";
23
24 fn class() -> ::unity::Class {
25 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27 }
28 }
29 impl ::unity::IlType for ProcInst_State {
30 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32 }
33 }
34 impl ProcInst_State {
35 pub fn dead() -> Self {
36 Self { value: 1 }
37 }
38
39 pub fn parent_bind() -> Self {
40 Self { value: 2 }
41 }
42
43 pub fn executed() -> Self {
44 Self { value: 4 }
45 }
46
47 pub fn r#continue() -> Self {
48 Self { value: 8 }
49 }
50
51 pub fn r#yield() -> Self {
52 Self { value: 16 }
53 }
54 }
55
56 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/procinst/ProcInst.md"))]
57 #[::unity::class(namespace = "App", name = "ProcInst")]
58 #[parent(crate::system::object::Object)]
59 pub struct ProcInst {
60 #[offset(16)]
61 #[rename(name = "m_Descs")]
62 pub m_descs: ::unity::Array<crate::app::procdesc::ProcDesc>,
63 #[offset(24)]
64 #[rename(name = "m_DescIndex")]
65 pub m_desc_index: i32,
66 #[offset(32)]
67 #[rename(name = "m_Name")]
68 pub m_name: ::unity::Il2CppString,
69 #[offset(40)]
70 #[rename(name = "m_HashCode")]
71 pub m_hash_code: i32,
72 #[offset(48)]
73 #[rename(name = "m_Super")]
74 pub m_super: crate::app::procinst::ProcInst,
75 #[offset(56)]
76 #[rename(name = "m_Child")]
77 pub m_child: crate::app::procinst::ProcInst,
78 #[offset(64)]
79 #[rename(name = "m_Prev")]
80 pub m_prev: crate::app::procinst::ProcInst,
81 #[offset(72)]
82 #[rename(name = "m_Next")]
83 pub m_next: crate::app::procinst::ProcInst,
84 #[offset(80)]
85 #[rename(name = "m_Persistent")]
86 pub m_persistent: crate::app::procvoidmethod::ProcVoidMethod,
87 #[offset(88)]
88 #[rename(name = "m_State")]
89 pub m_state: crate::app::procinst::ProcInst_State,
90 #[offset(92)]
91 #[rename(name = "m_Suspend")]
92 pub m_suspend: i32,
93 #[offset(96)]
94 #[rename(name = "m_WaitTime")]
95 pub m_wait_time: f32,
96 #[offset(100)]
97 #[rename(name = "m_TickTime")]
98 pub m_tick_time: f32,
99 #[offset(104)]
100 #[rename(name = "m_Stack")]
101 pub m_stack: crate::app::rawvaluestack::RawValueStack,
102 }
103}
104
105#[cfg(feature = "app-procinst-types")]
106pub use __types::*;
107
108#[cfg(feature = "app-procinst")]
109pub trait IProcInstMethods: IProcInst {
110 #[doc = "`.ctor()` overload"]
111 fn ctor(self) -> () {
112 unsafe {
113 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
114 ::unity::il2cpp_call!((::unity::module_base()+0x280b9c0usize)as*mut u8,();
115(ProcInst)__receiver)
116 }
117 }
118 #[doc = "`GetNoDesc()` overload"]
119 fn get_no_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
120 unsafe {
121 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
122 ::unity::il2cpp_call!((::unity::module_base()+0x281e0c0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
123(ProcInst)__receiver)
124 }
125 }
126 #[doc = "`GetCoroutine()` overload"]
127 fn get_coroutine(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
128 unsafe {
129 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 ::unity::il2cpp_call!((::unity::module_base()+0x281e250usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
131(ProcInst)__receiver)
132 }
133 }
134 #[doc = "`CreateNoDesc(crate::app::procinst::ProcInst)` overload"]
135 fn create_no_desc(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
136 unsafe {
137 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 ::unity::il2cpp_call!((::unity::module_base()+0x281e400usize)as*mut u8,crate::app::procinst::ProcInst;
139(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
140 }
141 }
142 #[doc = "`CreateCoroutine(crate::app::procinst::ProcInst)` overload"]
143 fn create_coroutine(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
144 unsafe {
145 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146 ::unity::il2cpp_call!((::unity::module_base()+0x281e450usize)as*mut u8,crate::app::procinst::ProcInst;
147(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
148 }
149 }
150 #[doc = "`CreateBindNoDesc(crate::app::procinst::ProcInst)` overload"]
151 fn create_bind_no_desc(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
152 unsafe {
153 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154 ::unity::il2cpp_call!((::unity::module_base()+0x281e080usize)as*mut u8,crate::app::procinst::ProcInst;
155(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
156 }
157 }
158 #[doc = "`CreateBindCoroutine(crate::app::procinst::ProcInst)` overload"]
159 fn create_bind_coroutine(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::procinst::ProcInst {
160 unsafe {
161 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162 ::unity::il2cpp_call!((::unity::module_base()+0x281e490usize)as*mut u8,crate::app::procinst::ProcInst;
163(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
164 }
165 }
166 #[doc = "`Create(crate::app::procinst::ProcInst, ::unity::Array<crate::app::procdesc::ProcDesc>, ::unity::Il2CppString)` overload"]
167 fn create(
168 self,
169 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
170 descs: impl ::core::convert::Into<::unity::Array<crate::app::procdesc::ProcDesc>>,
171 name: impl ::core::convert::Into<::unity::Il2CppString>,
172 ) -> crate::app::procinst::ProcInst {
173 unsafe {
174 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175 ::unity::il2cpp_call!((::unity::module_base()+0x281e440usize)as*mut u8,crate::app::procinst::ProcInst;
176(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Array<crate::app::procdesc::ProcDesc>)::core::convert::Into::into(descs),(::unity::Il2CppString)::core::convert::Into::into(name))
177 }
178 }
179 #[doc = "`CreateBind(crate::app::procinst::ProcInst, ::unity::Array<crate::app::procdesc::ProcDesc>, ::unity::Il2CppString)` overload"]
180 fn create_bind(
181 self,
182 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
183 descs: impl ::core::convert::Into<::unity::Array<crate::app::procdesc::ProcDesc>>,
184 name: impl ::core::convert::Into<::unity::Il2CppString>,
185 ) -> crate::app::procinst::ProcInst {
186 unsafe {
187 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
188 ::unity::il2cpp_call!((::unity::module_base()+0x280a6b0usize)as*mut u8,crate::app::procinst::ProcInst;
189(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Array<crate::app::procdesc::ProcDesc>)::core::convert::Into::into(descs),(::unity::Il2CppString)::core::convert::Into::into(name))
190 }
191 }
192 #[doc = "`CreateRoot(::unity::Il2CppString)` overload"]
193 fn create_root(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::procinst::ProcInst {
194 unsafe {
195 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196 ::unity::il2cpp_call!((::unity::module_base()+0x2819dc0usize)as*mut u8,crate::app::procinst::ProcInst;
197(ProcInst)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name))
198 }
199 }
200 #[doc = "`RecursiveTick()` overload"]
201 fn recursive_tick(self) -> () {
202 unsafe {
203 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
204 ::unity::il2cpp_call!((::unity::module_base()+0x281a060usize)as*mut u8,();
205(ProcInst)__receiver)
206 }
207 }
208 #[doc = "`RecursivePersistentTask()` overload"]
209 fn recursive_persistent_task(self) -> () {
210 unsafe {
211 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212 ::unity::il2cpp_call!((::unity::module_base()+0x281a360usize)as*mut u8,();
213(ProcInst)__receiver)
214 }
215 }
216 #[doc = "`RecursiveRemove()` overload"]
217 fn recursive_remove(self) -> () {
218 unsafe {
219 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
220 ::unity::il2cpp_call!((::unity::module_base()+0x281a560usize)as*mut u8,();
221(ProcInst)__receiver)
222 }
223 }
224 #[doc = "`GetSuper()` overload"]
225 fn get_super(self) -> crate::app::procinst::ProcInst {
226 unsafe {
227 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
228 ::unity::il2cpp_call!((::unity::module_base()+0x281ead0usize)as*mut u8,crate::app::procinst::ProcInst;
229(ProcInst)__receiver)
230 }
231 }
232 #[doc = "`GetChild()` overload"]
233 fn get_child(self) -> crate::app::procinst::ProcInst {
234 unsafe {
235 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
236 ::unity::il2cpp_call!((::unity::module_base()+0x281eae0usize)as*mut u8,crate::app::procinst::ProcInst;
237(ProcInst)__receiver)
238 }
239 }
240 #[doc = "`GetPrev()` overload"]
241 fn get_prev(self) -> crate::app::procinst::ProcInst {
242 unsafe {
243 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
244 ::unity::il2cpp_call!((::unity::module_base()+0x281eaf0usize)as*mut u8,crate::app::procinst::ProcInst;
245(ProcInst)__receiver)
246 }
247 }
248 #[doc = "`GetNext()` overload"]
249 fn get_next(self) -> crate::app::procinst::ProcInst {
250 unsafe {
251 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
252 ::unity::il2cpp_call!((::unity::module_base()+0x281eb00usize)as*mut u8,crate::app::procinst::ProcInst;
253(ProcInst)__receiver)
254 }
255 }
256 #[doc = "`GetLabel()` overload"]
257 fn get_label(self) -> i32 {
258 unsafe {
259 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
260 ::unity::il2cpp_call!((::unity::module_base()+0x281eb10usize)as*mut u8,i32;
261(ProcInst)__receiver)
262 }
263 }
264 #[doc = "`GetWaitTime()` overload"]
265 fn get_wait_time(self) -> f32 {
266 unsafe {
267 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
268 ::unity::il2cpp_call!((::unity::module_base()+0x281eb80usize)as*mut u8,f32;
269(ProcInst)__receiver)
270 }
271 }
272 #[doc = "`IsWait()` overload"]
273 fn is_wait(self) -> bool {
274 unsafe {
275 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
276 ::unity::il2cpp_call!((::unity::module_base()+0x281eb90usize)as*mut u8,bool;
277(ProcInst)__receiver)
278 }
279 }
280 #[doc = "`IsBind()` overload"]
281 fn is_bind(self) -> bool {
282 unsafe {
283 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
284 ::unity::il2cpp_call!((::unity::module_base()+0x281e6e0usize)as*mut u8,bool;
285(ProcInst)__receiver)
286 }
287 }
288 #[doc = "`IsDead()` overload"]
289 fn is_dead(self) -> bool {
290 unsafe {
291 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
292 ::unity::il2cpp_call!((::unity::module_base()+0x281d1d0usize)as*mut u8,bool;
293(ProcInst)__receiver)
294 }
295 }
296 #[doc = "`IsParentBind()` overload"]
297 fn is_parent_bind(self) -> bool {
298 unsafe {
299 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300 ::unity::il2cpp_call!((::unity::module_base()+0x281aab0usize)as*mut u8,bool;
301(ProcInst)__receiver)
302 }
303 }
304 #[doc = "`IsContinueExecute()` overload"]
305 fn is_continue_execute(self) -> bool {
306 unsafe {
307 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
308 ::unity::il2cpp_call!((::unity::module_base()+0x281db90usize)as*mut u8,bool;
309(ProcInst)__receiver)
310 }
311 }
312 #[doc = "`Delete()` overload"]
313 fn delete(self) -> () {
314 unsafe {
315 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
316 ::unity::il2cpp_call!((::unity::module_base()+0x281aa40usize)as*mut u8,();
317(ProcInst)__receiver)
318 }
319 }
320 #[doc = "`Next()` overload"]
321 fn next(self) -> () {
322 unsafe {
323 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
324 ::unity::il2cpp_call!((::unity::module_base()+0x281d9a0usize)as*mut u8,();
325(ProcInst)__receiver)
326 }
327 }
328 #[doc = "`NextImm()` overload"]
329 fn next_imm(self) -> () {
330 unsafe {
331 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
332 ::unity::il2cpp_call!((::unity::module_base()+0x281df70usize)as*mut u8,();
333(ProcInst)__receiver)
334 }
335 }
336 #[doc = "`Jump(i32)` overload"]
337 fn jump(self, label: impl ::core::convert::Into<i32>) -> () {
338 unsafe {
339 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
340 ::unity::il2cpp_call!((::unity::module_base()+0x281e6f0usize)as*mut u8,();
341(ProcInst)__receiver,(i32)::core::convert::Into::into(label))
342 }
343 }
344 #[doc = "`Jump(crate::system::valuetype::ValueType)` overload"]
345 fn jump_2(self, label: impl ::core::convert::Into<crate::system::valuetype::ValueType>) -> () {
346 unsafe {
347 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348 ::unity::il2cpp_call!((::unity::module_base()+0x281ec70usize)as*mut u8,();
349(ProcInst)__receiver,(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
350 }
351 }
352 #[doc = "`TryJump(crate::system::valuetype::ValueType)` overload"]
353 fn try_jump(self, label: impl ::core::convert::Into<crate::system::valuetype::ValueType>) -> bool {
354 unsafe {
355 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
356 ::unity::il2cpp_call!((::unity::module_base()+0x281ed60usize)as*mut u8,bool;
357(ProcInst)__receiver,(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
358 }
359 }
360 #[doc = "`PushJump(i32)` overload"]
361 fn push_jump(self, label: impl ::core::convert::Into<i32>) -> () {
362 unsafe {
363 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
364 ::unity::il2cpp_call!((::unity::module_base()+0x281e790usize)as*mut u8,();
365(ProcInst)__receiver,(i32)::core::convert::Into::into(label))
366 }
367 }
368 #[doc = "`PushJump(crate::system::valuetype::ValueType)` overload"]
369 fn push_jump_2(self, label: impl ::core::convert::Into<crate::system::valuetype::ValueType>) -> () {
370 unsafe {
371 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x281ef00usize)as*mut u8,();
373(ProcInst)__receiver,(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
374 }
375 }
376 #[doc = "`PopJump()` overload"]
377 fn pop_jump(self) -> () {
378 unsafe {
379 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 ::unity::il2cpp_call!((::unity::module_base()+0x281e920usize)as*mut u8,();
381(ProcInst)__receiver)
382 }
383 }
384 #[doc = "`JumpImm(i32)` overload"]
385 fn jump_imm(self, label: impl ::core::convert::Into<i32>) -> () {
386 unsafe {
387 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
388 ::unity::il2cpp_call!((::unity::module_base()+0x281ef90usize)as*mut u8,();
389(ProcInst)__receiver,(i32)::core::convert::Into::into(label))
390 }
391 }
392 #[doc = "`JumpImm(crate::system::valuetype::ValueType)` overload"]
393 fn jump_imm_2(self, label: impl ::core::convert::Into<crate::system::valuetype::ValueType>) -> () {
394 unsafe {
395 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
396 ::unity::il2cpp_call!((::unity::module_base()+0x281f040usize)as*mut u8,();
397(ProcInst)__receiver,(crate::system::valuetype::ValueType)::core::convert::Into::into(label))
398 }
399 }
400 #[doc = "`WaitTime(f32)` overload"]
401 fn wait_time(self, time: impl ::core::convert::Into<f32>) -> () {
402 unsafe {
403 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
404 ::unity::il2cpp_call!((::unity::module_base()+0x281f140usize)as*mut u8,();
405(ProcInst)__receiver,(f32)::core::convert::Into::into(time))
406 }
407 }
408 #[doc = "`DeleteChild()` overload"]
409 fn delete_child(self) -> () {
410 unsafe {
411 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412 ::unity::il2cpp_call!((::unity::module_base()+0x281f150usize)as*mut u8,();
413(ProcInst)__receiver)
414 }
415 }
416 #[doc = "`Yield()` overload"]
417 fn r#yield(self) -> () {
418 unsafe {
419 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
420 ::unity::il2cpp_call!((::unity::module_base()+0x281f170usize)as*mut u8,();
421(ProcInst)__receiver)
422 }
423 }
424 #[doc = "`Assert()` overload"]
425 fn assert(self) -> () {
426 unsafe {
427 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
428 ::unity::il2cpp_call!((::unity::module_base()+0x281f180usize)as*mut u8,();
429(ProcInst)__receiver)
430 }
431 }
432 #[doc = "`FindNext(bool)` overload"]
433 fn find_next(self, is_first: impl ::core::convert::Into<bool>) -> crate::app::procinst::ProcInst {
434 unsafe {
435 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
436 ::unity::il2cpp_call!((::unity::module_base()+0x281a7c0usize)as*mut u8,crate::app::procinst::ProcInst;
437(ProcInst)__receiver,(bool)::core::convert::Into::into(is_first))
438 }
439 }
440 #[doc = "`get_TickTime()` overload"]
441 fn get_tick_time(self) -> f32 {
442 unsafe {
443 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
444 ::unity::il2cpp_call!((::unity::module_base()+0x281f1a0usize)as*mut u8,f32;
445(ProcInst)__receiver)
446 }
447 }
448 #[doc = "`set_TickTime(f32)` overload"]
449 fn set_tick_time(self, value: impl ::core::convert::Into<f32>) -> () {
450 unsafe {
451 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
452 ::unity::il2cpp_call!((::unity::module_base()+0x281f1b0usize)as*mut u8,();
453(ProcInst)__receiver,(f32)::core::convert::Into::into(value))
454 }
455 }
456 #[doc = "`get_Name()` overload"]
457 fn get_name(self) -> ::unity::Il2CppString {
458 unsafe {
459 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
460 ::unity::il2cpp_call!((::unity::module_base()+0x281f1c0usize)as*mut u8, ::unity::Il2CppString;
461(ProcInst)__receiver)
462 }
463 }
464 #[doc = "`get_HashCode()` overload"]
465 fn get_hash_code(self) -> i32 {
466 unsafe {
467 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
468 ::unity::il2cpp_call!((::unity::module_base()+0x281f1d0usize)as*mut u8,i32;
469(ProcInst)__receiver)
470 }
471 }
472 #[doc = "`get_PersistentMethod()` overload"]
473 fn get_persistent_method(self) -> crate::app::procvoidmethod::ProcVoidMethod {
474 unsafe {
475 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
476 ::unity::il2cpp_call!((::unity::module_base()+0x281f1e0usize)as*mut u8,crate::app::procvoidmethod::ProcVoidMethod;
477(ProcInst)__receiver)
478 }
479 }
480 #[doc = "`set_PersistentMethod(crate::app::procvoidmethod::ProcVoidMethod)` overload"]
481 fn set_persistent_method(self, value: impl ::core::convert::Into<crate::app::procvoidmethod::ProcVoidMethod>) -> () {
482 unsafe {
483 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
484 ::unity::il2cpp_call!((::unity::module_base()+0x281f1f0usize)as*mut u8,();
485(ProcInst)__receiver,(crate::app::procvoidmethod::ProcVoidMethod)::core::convert::Into::into(value))
486 }
487 }
488 #[doc = "`get_Desc()` overload"]
489 fn get_desc(self) -> crate::app::procdesc::ProcDesc {
490 unsafe {
491 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
492 ::unity::il2cpp_call!((::unity::module_base()+0x281d960usize)as*mut u8,crate::app::procdesc::ProcDesc;
493(ProcInst)__receiver)
494 }
495 }
496 #[doc = "`get_DescIndex()` overload"]
497 fn get_desc_index(self) -> i32 {
498 unsafe {
499 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
500 ::unity::il2cpp_call!((::unity::module_base()+0x281f200usize)as*mut u8,i32;
501(ProcInst)__receiver)
502 }
503 }
504 #[doc = "`get_DescType()` overload"]
505 fn get_desc_type(self) -> crate::app::procdesc::ProcDesc_Type {
506 unsafe {
507 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
508 ::unity::il2cpp_call!((::unity::module_base()+0x281f210usize)as*mut u8,crate::app::procdesc::ProcDesc_Type;
509(ProcInst)__receiver)
510 }
511 }
512 #[doc = "`CreateInternal(crate::app::procinst::ProcInst, ::unity::Array<crate::app::procdesc::ProcDesc>, ::unity::Il2CppString, bool)` overload"]
513 fn create_internal(
514 self,
515 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
516 descs: impl ::core::convert::Into<::unity::Array<crate::app::procdesc::ProcDesc>>,
517 name: impl ::core::convert::Into<::unity::Il2CppString>,
518 is_bind: impl ::core::convert::Into<bool>,
519 ) -> crate::app::procinst::ProcInst {
520 unsafe {
521 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
522 ::unity::il2cpp_call!((::unity::module_base()+0x281e4d0usize)as*mut u8,crate::app::procinst::ProcInst;
523(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Array<crate::app::procdesc::ProcDesc>)::core::convert::Into::into(descs),(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(is_bind))
524 }
525 }
526 #[doc = "`CreateInternal(::unity::Array<crate::app::procdesc::ProcDesc>, ::unity::Il2CppString)` overload"]
527 fn create_internal_2(
528 self,
529 descs: impl ::core::convert::Into<::unity::Array<crate::app::procdesc::ProcDesc>>,
530 name: impl ::core::convert::Into<::unity::Il2CppString>,
531 ) -> crate::app::procinst::ProcInst {
532 unsafe {
533 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
534 ::unity::il2cpp_call!((::unity::module_base()+0x281e5d0usize)as*mut u8,crate::app::procinst::ProcInst;
535(ProcInst)__receiver,(::unity::Array<crate::app::procdesc::ProcDesc>)::core::convert::Into::into(descs),(::unity::Il2CppString)::core::convert::Into::into(name))
536 }
537 }
538 #[doc = "`Connect(crate::app::procinst::ProcInst)` overload"]
539 fn connect(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
540 unsafe {
541 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
542 ::unity::il2cpp_call!((::unity::module_base()+0x281f250usize)as*mut u8,();
543(ProcInst)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
544 }
545 }
546 #[doc = "`Disconnect()` overload"]
547 fn disconnect(self) -> () {
548 unsafe {
549 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550 ::unity::il2cpp_call!((::unity::module_base()+0x281e9f0usize)as*mut u8,();
551(ProcInst)__receiver)
552 }
553 }
554 #[doc = "`Bind()` overload"]
555 fn bind(self) -> () {
556 unsafe {
557 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
558 ::unity::il2cpp_call!((::unity::module_base()+0x281f2d0usize)as*mut u8,();
559(ProcInst)__receiver)
560 }
561 }
562 #[doc = "`Unbind()` overload"]
563 fn unbind(self) -> () {
564 unsafe {
565 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
566 ::unity::il2cpp_call!((::unity::module_base()+0x281f310usize)as*mut u8,();
567(ProcInst)__receiver)
568 }
569 }
570 #[doc = "`MarkingDeath(bool)` overload"]
571 fn marking_death(self, is_first: impl ::core::convert::Into<bool>) -> () {
572 unsafe {
573 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
574 ::unity::il2cpp_call!((::unity::module_base()+0x281eba0usize)as*mut u8,();
575(ProcInst)__receiver,(bool)::core::convert::Into::into(is_first))
576 }
577 }
578 #[doc = "`get_CanWaitSkip()` overload"]
579 fn get_can_wait_skip(self) -> bool {
580 unsafe {
581 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
582 {
583 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
584 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
585 panic!(
586 "unity: virtual slot {}
587 out of range (vtable len {}
588) on the runtime class behind {}
589 (method `{}
590`)",
591 4usize,
592 __vt.len(),
593 <ProcInst as ::unity::ClassIdentity>::NAME,
594 "get_CanWaitSkip",
595 )
596 });
597 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
598 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
599 __inner(__receiver, __mi)
600 }
601 }
602 }
603 #[doc = "`OnStart()` overload"]
604 fn on_start(self) -> () {
605 unsafe {
606 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
607 {
608 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
609 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
610 panic!(
611 "unity: virtual slot {}
612 out of range (vtable len {}
613) on the runtime class behind {}
614 (method `{}
615`)",
616 5usize,
617 __vt.len(),
618 <ProcInst as ::unity::ClassIdentity>::NAME,
619 "OnStart",
620 )
621 });
622 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
623 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
624 __inner(__receiver, __mi)
625 }
626 }
627 }
628 #[doc = "`OnTick()` overload"]
629 fn on_tick(self) -> () {
630 unsafe {
631 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
632 {
633 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
634 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
635 panic!(
636 "unity: virtual slot {}
637 out of range (vtable len {}
638) on the runtime class behind {}
639 (method `{}
640`)",
641 6usize,
642 __vt.len(),
643 <ProcInst as ::unity::ClassIdentity>::NAME,
644 "OnTick",
645 )
646 });
647 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
648 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
649 __inner(__receiver, __mi)
650 }
651 }
652 }
653 #[doc = "`OnCoroutine()` overload"]
654 fn on_coroutine(self) -> crate::system::collections::ienumerator::IEnumerator {
655 unsafe {
656 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
657 {
658 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
659 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
660 panic!(
661 "unity: virtual slot {}
662 out of range (vtable len {}
663) on the runtime class behind {}
664 (method `{}
665`)",
666 7usize,
667 __vt.len(),
668 <ProcInst as ::unity::ClassIdentity>::NAME,
669 "OnCoroutine",
670 )
671 });
672 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> crate::system::collections::ienumerator::IEnumerator =
673 ::core::mem::transmute(__vi.method_ptr);
674 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
675 __inner(__receiver, __mi)
676 }
677 }
678 }
679 #[doc = "`OnPersistent()` overload"]
680 fn on_persistent(self) -> () {
681 unsafe {
682 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
683 {
684 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
685 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
686 panic!(
687 "unity: virtual slot {}
688 out of range (vtable len {}
689) on the runtime class behind {}
690 (method `{}
691`)",
692 8usize,
693 __vt.len(),
694 <ProcInst as ::unity::ClassIdentity>::NAME,
695 "OnPersistent",
696 )
697 });
698 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
699 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
700 __inner(__receiver, __mi)
701 }
702 }
703 }
704 #[doc = "`OnCreate()` overload"]
705 fn on_create(self) -> () {
706 unsafe {
707 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
708 {
709 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
710 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
711 panic!(
712 "unity: virtual slot {}
713 out of range (vtable len {}
714) on the runtime class behind {}
715 (method `{}
716`)",
717 9usize,
718 __vt.len(),
719 <ProcInst as ::unity::ClassIdentity>::NAME,
720 "OnCreate",
721 )
722 });
723 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
724 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
725 __inner(__receiver, __mi)
726 }
727 }
728 }
729 #[doc = "`OnDispose()` overload"]
730 fn on_dispose(self) -> () {
731 unsafe {
732 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
733 {
734 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
735 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
736 panic!(
737 "unity: virtual slot {}
738 out of range (vtable len {}
739) on the runtime class behind {}
740 (method `{}
741`)",
742 10usize,
743 __vt.len(),
744 <ProcInst as ::unity::ClassIdentity>::NAME,
745 "OnDispose",
746 )
747 });
748 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
749 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
750 __inner(__receiver, __mi)
751 }
752 }
753 }
754 #[doc = "`OnBind()` overload"]
755 fn on_bind(self) -> () {
756 unsafe {
757 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
758 {
759 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
760 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
761 panic!(
762 "unity: virtual slot {}
763 out of range (vtable len {}
764) on the runtime class behind {}
765 (method `{}
766`)",
767 11usize,
768 __vt.len(),
769 <ProcInst as ::unity::ClassIdentity>::NAME,
770 "OnBind",
771 )
772 });
773 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
774 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
775 __inner(__receiver, __mi)
776 }
777 }
778 }
779 #[doc = "`OnUnbind()` overload"]
780 fn on_unbind(self) -> () {
781 unsafe {
782 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
783 {
784 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
785 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
786 panic!(
787 "unity: virtual slot {}
788 out of range (vtable len {}
789) on the runtime class behind {}
790 (method `{}
791`)",
792 12usize,
793 __vt.len(),
794 <ProcInst as ::unity::ClassIdentity>::NAME,
795 "OnUnbind",
796 )
797 });
798 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
799 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
800 __inner(__receiver, __mi)
801 }
802 }
803 }
804 #[doc = "`OnSingletonCreate()` overload"]
805 fn on_singleton_create(self) -> () {
806 unsafe {
807 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
808 {
809 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
810 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
811 panic!(
812 "unity: virtual slot {}
813 out of range (vtable len {}
814) on the runtime class behind {}
815 (method `{}
816`)",
817 13usize,
818 __vt.len(),
819 <ProcInst as ::unity::ClassIdentity>::NAME,
820 "OnSingletonCreate",
821 )
822 });
823 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
824 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
825 __inner(__receiver, __mi)
826 }
827 }
828 }
829 #[doc = "`OnSingletonDispose()` overload"]
830 fn on_singleton_dispose(self) -> () {
831 unsafe {
832 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
833 {
834 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
835 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
836 panic!(
837 "unity: virtual slot {}
838 out of range (vtable len {}
839) on the runtime class behind {}
840 (method `{}
841`)",
842 14usize,
843 __vt.len(),
844 <ProcInst as ::unity::ClassIdentity>::NAME,
845 "OnSingletonDispose",
846 )
847 });
848 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
849 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
850 __inner(__receiver, __mi)
851 }
852 }
853 }
854 #[doc = "`OnShutdown()` overload"]
855 fn on_shutdown(self) -> () {
856 unsafe {
857 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
858 {
859 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
860 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
861 panic!(
862 "unity: virtual slot {}
863 out of range (vtable len {}
864) on the runtime class behind {}
865 (method `{}
866`)",
867 15usize,
868 __vt.len(),
869 <ProcInst as ::unity::ClassIdentity>::NAME,
870 "OnShutdown",
871 )
872 });
873 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
874 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
875 __inner(__receiver, __mi)
876 }
877 }
878 }
879 #[doc = "`OnDrawMonitor(crate::app::debugmonitor::DebugMonitor)` overload"]
880 fn on_draw_monitor(self, monitor: impl ::core::convert::Into<crate::app::debugmonitor::DebugMonitor>) -> () {
881 unsafe {
882 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
883 {
884 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
885 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
886 panic!(
887 "unity: virtual slot {}
888 out of range (vtable len {}
889) on the runtime class behind {}
890 (method `{}
891`)",
892 16usize,
893 __vt.len(),
894 <ProcInst as ::unity::ClassIdentity>::NAME,
895 "OnDrawMonitor",
896 )
897 });
898 let __inner: extern "C" fn(ProcInst, crate::app::debugmonitor::DebugMonitor, ::unity::OptionalMethod) -> () =
899 ::core::mem::transmute(__vi.method_ptr);
900 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
901 __inner(__receiver, ::core::convert::Into::into(monitor), __mi)
902 }
903 }
904 }
905 #[doc = "`GetDebugLog()` overload"]
906 fn get_debug_log(self) -> ::unity::Il2CppString {
907 unsafe {
908 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
909 {
910 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
911 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
912 panic!(
913 "unity: virtual slot {}
914 out of range (vtable len {}
915) on the runtime class behind {}
916 (method `{}
917`)",
918 17usize,
919 __vt.len(),
920 <ProcInst as ::unity::ClassIdentity>::NAME,
921 "GetDebugLog",
922 )
923 });
924 let __inner: extern "C" fn(ProcInst, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
925 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
926 __inner(__receiver, __mi)
927 }
928 }
929 }
930 #[doc = "`Shutdown()` overload"]
931 fn shutdown(self) -> () {
932 unsafe {
933 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
934 ::unity::il2cpp_call!((::unity::module_base()+0x281f460usize)as*mut u8,();
935(ProcInst)__receiver)
936 }
937 }
938 #[doc = "`ShutdownChild()` overload"]
939 fn shutdown_child(self) -> () {
940 unsafe {
941 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
942 ::unity::il2cpp_call!((::unity::module_base()+0x281f4b0usize)as*mut u8,();
943(ProcInst)__receiver)
944 }
945 }
946 #[doc = "`DrawMonitor(crate::app::debugmonitor::DebugMonitor)` overload"]
947 fn draw_monitor(self, monitor: impl ::core::convert::Into<crate::app::debugmonitor::DebugMonitor>) -> () {
948 unsafe {
949 let __receiver = <ProcInst as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
950 ::unity::il2cpp_call!((::unity::module_base()+0x281f4e0usize)as*mut u8,();
951(ProcInst)__receiver,(crate::app::debugmonitor::DebugMonitor)::core::convert::Into::into(monitor))
952 }
953 }
954}
955
956#[cfg(feature = "app-procinst")]
957impl<__T: IProcInst> IProcInstMethods for __T {}
958
959#[cfg(feature = "app-procinst")]
960impl ProcInst {
961 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
962 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
963 }
964
965 pub fn get_no_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
966 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
967 }
968
969 pub fn get_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
970 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
971 }
972
973 pub fn create_no_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
974 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
975 }
976
977 pub fn create_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
978 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
979 }
980
981 pub fn create_bind_no_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
982 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
983 }
984
985 pub fn create_bind_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
986 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
987 }
988
989 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
990 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
991 }
992
993 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
994 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
995 }
996
997 pub fn create_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
998 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
999 }
1000
1001 pub fn recursive_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1002 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1003 }
1004
1005 pub fn recursive_persistent_task_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1006 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1007 }
1008
1009 pub fn recursive_remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1010 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1011 }
1012
1013 pub fn get_super_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1015 }
1016
1017 pub fn get_child_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1019 }
1020
1021 pub fn get_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1023 }
1024
1025 pub fn get_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1027 }
1028
1029 pub fn get_label_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1031 }
1032
1033 pub fn get_wait_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1035 }
1036
1037 pub fn is_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1039 }
1040
1041 pub fn is_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1043 }
1044
1045 pub fn is_dead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1047 }
1048
1049 pub fn is_parent_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1051 }
1052
1053 pub fn is_continue_execute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1055 }
1056
1057 pub fn delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1059 }
1060
1061 pub fn next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1062 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1063 }
1064
1065 pub fn next_imm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1066 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1067 }
1068
1069 pub fn jump_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1070 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1071 }
1072
1073 pub fn jump_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1074 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1075 }
1076
1077 pub fn try_jump_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1078 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1079 }
1080
1081 pub fn push_jump_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1082 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1083 }
1084
1085 pub fn push_jump_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1086 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1087 }
1088
1089 pub fn pop_jump_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1090 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1091 }
1092
1093 pub fn jump_imm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1094 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1095 }
1096
1097 pub fn jump_imm_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1098 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1099 }
1100
1101 pub fn wait_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1102 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1103 }
1104
1105 pub fn delete_child_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1106 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1107 }
1108
1109 pub fn yield_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1110 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1111 }
1112
1113 pub fn assert_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1114 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1115 }
1116
1117 pub fn find_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1118 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1119 }
1120
1121 pub fn get_tick_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1122 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1123 }
1124
1125 pub fn set_tick_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1126 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1127 }
1128
1129 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1130 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1131 }
1132
1133 pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1134 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1135 }
1136
1137 pub fn get_persistent_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1138 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1139 }
1140
1141 pub fn set_persistent_method_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1142 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1143 }
1144
1145 pub fn get_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1146 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1147 }
1148
1149 pub fn get_desc_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1150 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1151 }
1152
1153 pub fn get_desc_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1154 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1155 }
1156
1157 pub fn create_internal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1158 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1159 }
1160
1161 pub fn create_internal_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1162 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1163 }
1164
1165 pub fn connect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1166 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1167 }
1168
1169 pub fn disconnect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1170 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1171 }
1172
1173 pub fn bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1174 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
1175 }
1176
1177 pub fn unbind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1178 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1179 }
1180
1181 pub fn marking_death_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1182 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
1183 }
1184
1185 pub fn get_can_wait_skip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1186 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1187 }
1188
1189 pub fn on_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1190 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1191 }
1192
1193 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1194 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1195 }
1196
1197 pub fn on_coroutine_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1198 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1199 }
1200
1201 pub fn on_persistent_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1202 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1203 }
1204
1205 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1206 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1207 }
1208
1209 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1210 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1211 }
1212
1213 pub fn on_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1214 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1215 }
1216
1217 pub fn on_unbind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1219 }
1220
1221 pub fn on_singleton_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1223 }
1224
1225 pub fn on_singleton_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1227 }
1228
1229 pub fn on_shutdown_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1231 }
1232
1233 pub fn on_draw_monitor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1235 }
1236
1237 pub fn get_debug_log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1238 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1239 }
1240
1241 pub fn shutdown_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1242 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1243 }
1244
1245 pub fn shutdown_child_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1247 }
1248
1249 pub fn draw_monitor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1251 }
1252}
1253
1254#[cfg(feature = "app-procinst")]
1255impl ProcInst {
1256 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `get_CanWaitSkip`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1257 pub unsafe fn get_can_wait_skip(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1258 let __mi = Self::get_can_wait_skip_method_info();
1259 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1260 __inner(this.into(), ::core::option::Option::None)
1261 }
1262
1263 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnStart`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1264 pub unsafe fn on_start(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1265 let __mi = Self::on_start_method_info();
1266 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1267 __inner(this.into(), ::core::option::Option::None)
1268 }
1269
1270 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1271 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1272 let __mi = Self::on_tick_method_info();
1273 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1274 __inner(this.into(), ::core::option::Option::None)
1275 }
1276
1277 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnCoroutine`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1278 pub unsafe fn on_coroutine(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::system::collections::ienumerator::IEnumerator {
1279 let __mi = Self::on_coroutine_method_info();
1280 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::system::collections::ienumerator::IEnumerator =
1281 ::core::mem::transmute(__mi.method_ptr);
1282 __inner(this.into(), ::core::option::Option::None)
1283 }
1284
1285 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnPersistent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1286 pub unsafe fn on_persistent(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1287 let __mi = Self::on_persistent_method_info();
1288 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1289 __inner(this.into(), ::core::option::Option::None)
1290 }
1291
1292 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1293 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1294 let __mi = Self::on_create_method_info();
1295 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1296 __inner(this.into(), ::core::option::Option::None)
1297 }
1298
1299 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1300 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1301 let __mi = Self::on_dispose_method_info();
1302 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1303 __inner(this.into(), ::core::option::Option::None)
1304 }
1305
1306 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnBind`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1307 pub unsafe fn on_bind(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1308 let __mi = Self::on_bind_method_info();
1309 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1310 __inner(this.into(), ::core::option::Option::None)
1311 }
1312
1313 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnUnbind`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1314 pub unsafe fn on_unbind(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1315 let __mi = Self::on_unbind_method_info();
1316 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1317 __inner(this.into(), ::core::option::Option::None)
1318 }
1319
1320 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnSingletonCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1321 pub unsafe fn on_singleton_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1322 let __mi = Self::on_singleton_create_method_info();
1323 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1324 __inner(this.into(), ::core::option::Option::None)
1325 }
1326
1327 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnSingletonDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1328 pub unsafe fn on_singleton_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1329 let __mi = Self::on_singleton_dispose_method_info();
1330 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1331 __inner(this.into(), ::core::option::Option::None)
1332 }
1333
1334 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnShutdown`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1335 pub unsafe fn on_shutdown(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1336 let __mi = Self::on_shutdown_method_info();
1337 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1338 __inner(this.into(), ::core::option::Option::None)
1339 }
1340
1341 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `OnDrawMonitor`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1342 pub unsafe fn on_draw_monitor(this: impl ::core::convert::Into<::unity::IlInstance>, monitor: crate::app::debugmonitor::DebugMonitor) -> () {
1343 let __mi = Self::on_draw_monitor_method_info();
1344 let __inner: extern "C" fn(::unity::IlInstance, crate::app::debugmonitor::DebugMonitor, ::unity::OptionalMethod) -> () =
1345 ::core::mem::transmute(__mi.method_ptr);
1346 __inner(this.into(), monitor, ::core::option::Option::None)
1347 }
1348
1349 #[doc = "Direct (non-virtual) call to `ProcInst`'s own `GetDebugLog`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1350 pub unsafe fn get_debug_log(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1351 let __mi = Self::get_debug_log_method_info();
1352 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1353 __inner(this.into(), ::core::option::Option::None)
1354 }
1355}
1356
1357#[cfg(feature = "app-procinst")]
1358impl ProcInst {
1359 #[doc = "`.ctor()` — no args"]
1360 pub fn new() -> Self {
1361 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1362 panic!(
1363 "{}
1364::{}
1365 failed to instantiate",
1366 ::core::stringify!(ProcInst),
1367 ::core::stringify!(new),
1368 )
1369 });
1370 <Self as IProcInstMethods>::ctor(this);
1371 this
1372 }
1373}
1374
1375#[cfg(feature = "app-procinst")]
1376#[doc(hidden)]
1377pub mod prelude {
1378 pub use super::{IProcInst, IProcInstMethods, ProcInst, ProcInst_State};
1379 #[cfg(feature = "system-object")]
1380 pub use crate::system::object::IObjectMethods;
1381 #[cfg(feature = "system-enum")]
1382 pub use crate::system::r#enum::IEnumMethods;
1383 #[cfg(feature = "system-valuetype")]
1384 pub use crate::system::valuetype::IValueTypeMethods;
1385 pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
1386}