Skip to main content

engage/generated/app/
gametime.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-gametime-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/gametime/GameTime_VsycMode.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct GameTime_VsycMode {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for GameTime_VsycMode {
21        const NAME: &'static str = "GameTime.VsycMode";
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 GameTime_VsycMode {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl GameTime_VsycMode {
35        pub fn normal() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn slow() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn fast() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn system() -> Self {
48            Self { value: 1 }
49        }
50
51        pub fn movie() -> Self {
52            Self { value: 1 }
53        }
54
55        pub fn demo() -> Self {
56            Self { value: 1 }
57        }
58
59        pub fn combat() -> Self {
60            Self { value: 1 }
61        }
62
63        pub fn hub() -> Self {
64            Self { value: 1 }
65        }
66
67        pub fn bmap() -> Self {
68            Self { value: 0 }
69        }
70
71        pub fn gmap() -> Self {
72            Self { value: 0 }
73        }
74
75        pub fn ending() -> Self {
76            Self { value: 2 }
77        }
78    }
79
80    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gametime/GameTime.md"))]
81    #[::unity::class(namespace = "App", name = "GameTime")]
82    #[parent(crate::system::object::Object)]
83    pub struct GameTime {
84        #[static_field]
85        #[rename(name = "DefaultFixedDeltaTime")]
86        pub default_fixed_delta_time: f32,
87        #[static_field]
88        #[rename(name = "LocalTimeScale")]
89        pub local_time_scale: ::unity::Array<f32>,
90        #[static_field]
91        #[rename(name = "s_VsyncStack")]
92        pub s_vsync_stack: crate::system::collections::generic::stack_1::Stack_1<i32>,
93        #[static_field]
94        #[rename(name = "Version")]
95        pub version: i32,
96        #[static_field]
97        #[rename(name = "s_PlayTime")]
98        pub s_play_time: i32,
99        #[static_field]
100        #[rename(name = "s_WatchTime")]
101        pub s_watch_time: i32,
102        #[static_field]
103        #[rename(name = "MaxTime")]
104        pub max_time: i32,
105        #[static_field]
106        #[rename(name = "TimeUnit")]
107        pub time_unit: i32,
108        #[static_field]
109        #[rename(name = "TimeInv")]
110        pub time_inv: f32,
111        #[static_field]
112        #[rename(name = "MaxTimeFloat")]
113        pub max_time_float: f32,
114    }
115
116    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gametime/GameTime_Ch.md"))]
117    #[repr(C)]
118    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
119    pub struct GameTime_Ch {
120        pub value: i32,
121    }
122    impl ::unity::ClassIdentity for GameTime_Ch {
123        const NAME: &'static str = "GameTime.Ch";
124        const NAMESPACE: &'static str = "App";
125
126        fn class() -> ::unity::Class {
127            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
128            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
129        }
130    }
131    impl ::unity::IlType for GameTime_Ch {
132        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
133            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
134        }
135    }
136    impl GameTime_Ch {
137        pub fn game() -> Self {
138            Self { value: 0 }
139        }
140
141        pub fn combat() -> Self {
142            Self { value: 1 }
143        }
144
145        pub fn scene() -> Self {
146            Self { value: 2 }
147        }
148
149        pub fn pause() -> Self {
150            Self { value: 3 }
151        }
152
153        pub fn debug() -> Self {
154            Self { value: 4 }
155        }
156
157        pub fn num() -> Self {
158            Self { value: 5 }
159        }
160    }
161}
162
163#[cfg(feature = "app-gametime-types")]
164pub use __types::*;
165
166#[cfg(feature = "app-gametime")]
167impl GameTime {
168    #[doc = "`get_Time()` overload"]
169    pub fn get_time() -> f32 {
170        unsafe {
171            ::unity::il2cpp_call!((::unity::module_base()+0x250c620usize)as*mut u8,f32;
172            )
173        }
174    }
175
176    #[doc = "`get_UnscaledTime()` overload"]
177    pub fn get_unscaled_time() -> f32 {
178        unsafe {
179            ::unity::il2cpp_call!((::unity::module_base()+0x250c630usize)as*mut u8,f32;
180            )
181        }
182    }
183
184    #[doc = "`get_RealTime()` overload"]
185    pub fn get_real_time() -> f64 {
186        unsafe {
187            ::unity::il2cpp_call!((::unity::module_base()+0x250c640usize)as*mut u8,f64;
188            )
189        }
190    }
191
192    #[doc = "`get_DeltaTime()` overload"]
193    pub fn get_delta_time() -> f32 {
194        unsafe {
195            ::unity::il2cpp_call!((::unity::module_base()+0x250c650usize)as*mut u8,f32;
196            )
197        }
198    }
199
200    #[doc = "`get_UnscaledDeltaTime()` overload"]
201    pub fn get_unscaled_delta_time() -> f32 {
202        unsafe {
203            ::unity::il2cpp_call!((::unity::module_base()+0x250c660usize)as*mut u8,f32;
204            )
205        }
206    }
207
208    #[doc = "`get_FrameCount()` overload"]
209    pub fn get_frame_count() -> i32 {
210        unsafe {
211            ::unity::il2cpp_call!((::unity::module_base()+0x250c6a0usize)as*mut u8,i32;
212            )
213        }
214    }
215
216    #[doc = "`get_TimeScale()` overload"]
217    pub fn get_time_scale() -> f32 {
218        unsafe {
219            ::unity::il2cpp_call!((::unity::module_base()+0x250c6b0usize)as*mut u8,f32;
220            )
221        }
222    }
223
224    #[doc = "`Initialize()` overload"]
225    pub fn initialize() -> () {
226        unsafe {
227            ::unity::il2cpp_call!((::unity::module_base()+0x250c6c0usize)as*mut u8,();
228            )
229        }
230    }
231
232    #[doc = "`SetTimeScale(crate::app::gametime::GameTime_Ch, f32)` overload"]
233    pub fn set_time_scale(ch: impl ::core::convert::Into<crate::app::gametime::GameTime_Ch>, scale: impl ::core::convert::Into<f32>) -> f32 {
234        unsafe {
235            ::unity::il2cpp_call!((::unity::module_base()+0x250c880usize)as*mut u8,f32;
236(crate::app::gametime::GameTime_Ch)::core::convert::Into::into(ch),(f32)::core::convert::Into::into(scale))
237        }
238    }
239
240    #[doc = "`GetTimeScale(crate::app::gametime::GameTime_Ch)` overload"]
241    pub fn get_time_scale_2(ch: impl ::core::convert::Into<crate::app::gametime::GameTime_Ch>) -> f32 {
242        unsafe {
243            ::unity::il2cpp_call!((::unity::module_base()+0x250cad0usize)as*mut u8,f32;
244(crate::app::gametime::GameTime_Ch)::core::convert::Into::into(ch))
245        }
246    }
247
248    #[doc = "`UpdateTimeScale()` overload"]
249    pub fn update_time_scale() -> () {
250        unsafe {
251            ::unity::il2cpp_call!((::unity::module_base()+0x250c930usize)as*mut u8,();
252            )
253        }
254    }
255
256    #[doc = "`PushVsyncCount(crate::app::gametime::GameTime_VsycMode)` overload"]
257    pub fn push_vsync_count(mode: impl ::core::convert::Into<crate::app::gametime::GameTime_VsycMode>) -> () {
258        unsafe {
259            ::unity::il2cpp_call!((::unity::module_base()+0x250cb60usize)as*mut u8,();
260(crate::app::gametime::GameTime_VsycMode)::core::convert::Into::into(mode))
261        }
262    }
263
264    #[doc = "`PopVsyncCount()` overload"]
265    pub fn pop_vsync_count() -> () {
266        unsafe {
267            ::unity::il2cpp_call!((::unity::module_base()+0x250cd20usize)as*mut u8,();
268            )
269        }
270    }
271
272    #[doc = "`SetVsyncCount(crate::app::gametime::GameTime_VsycMode)` overload"]
273    pub fn set_vsync_count(mode: impl ::core::convert::Into<crate::app::gametime::GameTime_VsycMode>) -> () {
274        unsafe {
275            ::unity::il2cpp_call!((::unity::module_base()+0x250cc00usize)as*mut u8,();
276(crate::app::gametime::GameTime_VsycMode)::core::convert::Into::into(mode))
277        }
278    }
279
280    #[doc = "`SetVsyncCount(i32)` overload"]
281    pub fn set_vsync_count_2(count: impl ::core::convert::Into<i32>) -> () {
282        unsafe {
283            ::unity::il2cpp_call!((::unity::module_base()+0x250cda0usize)as*mut u8,();
284(i32)::core::convert::Into::into(count))
285        }
286    }
287
288    #[doc = "`get_VsyncDeltaCount()` overload"]
289    pub fn get_vsync_delta_count() -> i32 {
290        unsafe {
291            ::unity::il2cpp_call!((::unity::module_base()+0x250ceb0usize)as*mut u8,i32;
292            )
293        }
294    }
295
296    #[doc = "`get_VsyncDeltaTime()` overload"]
297    pub fn get_vsync_delta_time() -> f32 {
298        unsafe {
299            ::unity::il2cpp_call!((::unity::module_base()+0x250cf00usize)as*mut u8,f32;
300            )
301        }
302    }
303
304    #[doc = "`get_VsyncFixedCount()` overload"]
305    pub fn get_vsync_fixed_count() -> i32 {
306        unsafe {
307            ::unity::il2cpp_call!((::unity::module_base()+0x250cfb0usize)as*mut u8,i32;
308            )
309        }
310    }
311
312    #[doc = "`get_VsyncFixedTime()` overload"]
313    pub fn get_vsync_fixed_time() -> f32 {
314        unsafe {
315            ::unity::il2cpp_call!((::unity::module_base()+0x250cfc0usize)as*mut u8,f32;
316            )
317        }
318    }
319
320    #[doc = "`GetTimeRatio(f32)` overload"]
321    pub fn get_time_ratio(time: impl ::core::convert::Into<f32>) -> f32 {
322        unsafe {
323            ::unity::il2cpp_call!((::unity::module_base()+0x250d040usize)as*mut u8,f32;
324(f32)::core::convert::Into::into(time))
325        }
326    }
327
328    #[doc = "`get_PlayTime()` overload"]
329    pub fn get_play_time() -> f32 {
330        unsafe {
331            ::unity::il2cpp_call!((::unity::module_base()+0x250d0c0usize)as*mut u8,f32;
332            )
333        }
334    }
335
336    #[doc = "`set_PlayTime(f32)` overload"]
337    pub fn set_play_time(value: impl ::core::convert::Into<f32>) -> () {
338        unsafe {
339            ::unity::il2cpp_call!((::unity::module_base()+0x250d140usize)as*mut u8,();
340(f32)::core::convert::Into::into(value))
341        }
342    }
343
344    #[doc = "`get_WatchTime()` overload"]
345    pub fn get_watch_time() -> f32 {
346        unsafe {
347            ::unity::il2cpp_call!((::unity::module_base()+0x250d1e0usize)as*mut u8,f32;
348            )
349        }
350    }
351
352    #[doc = "`set_WatchTime(f32)` overload"]
353    pub fn set_watch_time(value: impl ::core::convert::Into<f32>) -> () {
354        unsafe {
355            ::unity::il2cpp_call!((::unity::module_base()+0x250d260usize)as*mut u8,();
356(f32)::core::convert::Into::into(value))
357        }
358    }
359
360    #[doc = "`get_IsWatching()` overload"]
361    pub fn get_is_watching() -> bool {
362        unsafe {
363            ::unity::il2cpp_call!((::unity::module_base()+0x250d300usize)as*mut u8,bool;
364            )
365        }
366    }
367
368    #[doc = "`set_IsWatching(bool)` overload"]
369    pub fn set_is_watching(value: impl ::core::convert::Into<bool>) -> () {
370        unsafe {
371            ::unity::il2cpp_call!((::unity::module_base()+0x250d370usize)as*mut u8,();
372(bool)::core::convert::Into::into(value))
373        }
374    }
375
376    #[doc = "`WatchStart()` overload"]
377    pub fn watch_start() -> () {
378        unsafe {
379            ::unity::il2cpp_call!((::unity::module_base()+0x250d3f0usize)as*mut u8,();
380            )
381        }
382    }
383
384    #[doc = "`WatchStop()` overload"]
385    pub fn watch_stop() -> () {
386        unsafe {
387            ::unity::il2cpp_call!((::unity::module_base()+0x250d4c0usize)as*mut u8,();
388            )
389        }
390    }
391
392    #[doc = "`WatchReset()` overload"]
393    pub fn watch_reset() -> () {
394        unsafe {
395            ::unity::il2cpp_call!((::unity::module_base()+0x250d580usize)as*mut u8,();
396            )
397        }
398    }
399
400    #[doc = "`ToHour(f32)` overload"]
401    pub fn to_hour(time: impl ::core::convert::Into<f32>) -> i32 {
402        unsafe {
403            ::unity::il2cpp_call!((::unity::module_base()+0x250d5f0usize)as*mut u8,i32;
404(f32)::core::convert::Into::into(time))
405        }
406    }
407
408    #[doc = "`ToMinute(f32)` overload"]
409    pub fn to_minute(time: impl ::core::convert::Into<f32>) -> i32 {
410        unsafe {
411            ::unity::il2cpp_call!((::unity::module_base()+0x250d620usize)as*mut u8,i32;
412(f32)::core::convert::Into::into(time))
413        }
414    }
415
416    #[doc = "`ToSecond(f32)` overload"]
417    pub fn to_second(time: impl ::core::convert::Into<f32>) -> i32 {
418        unsafe {
419            ::unity::il2cpp_call!((::unity::module_base()+0x250d680usize)as*mut u8,i32;
420(f32)::core::convert::Into::into(time))
421        }
422    }
423
424    #[doc = "`ToDebug(f32)` overload"]
425    pub fn to_debug(time: impl ::core::convert::Into<f32>) -> ::unity::Il2CppString {
426        unsafe {
427            ::unity::il2cpp_call!((::unity::module_base()+0x250d6d0usize)as*mut u8, ::unity::Il2CppString;
428(f32)::core::convert::Into::into(time))
429        }
430    }
431
432    #[doc = "`Reset()` overload"]
433    pub fn reset() -> () {
434        unsafe {
435            ::unity::il2cpp_call!((::unity::module_base()+0x250d870usize)as*mut u8,();
436            )
437        }
438    }
439
440    #[doc = "`Update()` overload"]
441    pub fn update() -> () {
442        unsafe {
443            ::unity::il2cpp_call!((::unity::module_base()+0x250d8e0usize)as*mut u8,();
444            )
445        }
446    }
447
448    #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
449    pub fn serialize(stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
450        unsafe {
451            ::unity::il2cpp_call!((::unity::module_base()+0x250da80usize)as*mut u8,();
452(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
453        }
454    }
455
456    #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
457    pub fn deserialize(stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
458        unsafe {
459            ::unity::il2cpp_call!((::unity::module_base()+0x250dbd0usize)as*mut u8,();
460(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
461        }
462    }
463
464    #[doc = "`.cctor()` overload"]
465    pub fn cctor() -> () {
466        unsafe {
467            ::unity::il2cpp_call!((::unity::module_base()+0x250de60usize)as*mut u8,();
468            )
469        }
470    }
471}
472
473#[cfg(feature = "app-gametime")]
474pub trait IGameTimeMethods: IGameTime {
475    #[doc = "`.ctor()` overload"]
476    fn ctor(self) -> () {
477        unsafe {
478            let __receiver = <GameTime as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
479            ::unity::il2cpp_call!((::unity::module_base()+0x250de50usize)as*mut u8,();
480(GameTime)__receiver)
481        }
482    }
483}
484
485#[cfg(feature = "app-gametime")]
486impl<__T: IGameTime> IGameTimeMethods for __T {}
487
488#[cfg(feature = "app-gametime")]
489impl GameTime {
490    pub fn get_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
491        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
492    }
493
494    pub fn get_unscaled_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
495        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
496    }
497
498    pub fn get_real_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
499        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
500    }
501
502    pub fn get_delta_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
503        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
504    }
505
506    pub fn get_unscaled_delta_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
507        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
508    }
509
510    pub fn get_frame_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
511        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
512    }
513
514    pub fn get_time_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
515        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
516    }
517
518    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
519        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
520    }
521
522    pub fn set_time_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
523        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
524    }
525
526    pub fn get_time_scale_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
527        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
528    }
529
530    pub fn update_time_scale_method_info() -> &'static ::unity::il2cpp::MethodInfo {
531        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
532    }
533
534    pub fn push_vsync_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
535        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
536    }
537
538    pub fn pop_vsync_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
539        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
540    }
541
542    pub fn set_vsync_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
543        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
544    }
545
546    pub fn set_vsync_count_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
547        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
548    }
549
550    pub fn get_vsync_delta_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
551        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
552    }
553
554    pub fn get_vsync_delta_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
555        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
556    }
557
558    pub fn get_vsync_fixed_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
559        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
560    }
561
562    pub fn get_vsync_fixed_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
563        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
564    }
565
566    pub fn get_time_ratio_method_info() -> &'static ::unity::il2cpp::MethodInfo {
567        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
568    }
569
570    pub fn get_play_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
571        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
572    }
573
574    pub fn set_play_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
575        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
576    }
577
578    pub fn get_watch_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
579        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
580    }
581
582    pub fn set_watch_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
583        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
584    }
585
586    pub fn get_is_watching_method_info() -> &'static ::unity::il2cpp::MethodInfo {
587        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
588    }
589
590    pub fn set_is_watching_method_info() -> &'static ::unity::il2cpp::MethodInfo {
591        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
592    }
593
594    pub fn watch_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
595        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
596    }
597
598    pub fn watch_stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
599        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
600    }
601
602    pub fn watch_reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
603        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
604    }
605
606    pub fn to_hour_method_info() -> &'static ::unity::il2cpp::MethodInfo {
607        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
608    }
609
610    pub fn to_minute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
611        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
612    }
613
614    pub fn to_second_method_info() -> &'static ::unity::il2cpp::MethodInfo {
615        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
616    }
617
618    pub fn to_debug_method_info() -> &'static ::unity::il2cpp::MethodInfo {
619        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
620    }
621
622    pub fn reset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
623        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
624    }
625
626    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
627        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
628    }
629
630    pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
631        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
632    }
633
634    pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
635        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
636    }
637
638    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
639        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
640    }
641
642    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
643        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
644    }
645}
646
647#[cfg(feature = "app-gametime")]
648impl GameTime {
649    #[doc = "`.ctor()` — no args"]
650    pub fn new() -> Self {
651        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
652            panic!(
653                "{}
654::{}
655 failed to instantiate",
656                ::core::stringify!(GameTime),
657                ::core::stringify!(new),
658            )
659        });
660        <Self as IGameTimeMethods>::ctor(this);
661        this
662    }
663}
664
665#[cfg(feature = "app-gametime")]
666#[doc(hidden)]
667pub mod prelude {
668    pub use super::{GameTime, GameTime_Ch, GameTime_VsycMode, IGameTime, IGameTimeMethods};
669    #[cfg(feature = "system-object")]
670    pub use crate::system::object::IObjectMethods;
671    #[cfg(feature = "system-enum")]
672    pub use crate::system::r#enum::IEnumMethods;
673    #[cfg(feature = "system-valuetype")]
674    pub use crate::system::valuetype::IValueTypeMethods;
675    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
676}