Skip to main content

engage/generated/unity_engine/player_loop/
timeupdate.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-player_loop-timeupdate-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/player_loop/timeupdate/TimeUpdate_WaitForLastPresentationAndUpdateTime.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct TimeUpdate_WaitForLastPresentationAndUpdateTime {}
17    impl ::unity::ClassIdentity for TimeUpdate_WaitForLastPresentationAndUpdateTime {
18        const NAME: &'static str = "TimeUpdate.WaitForLastPresentationAndUpdateTime";
19        const NAMESPACE: &'static str = "UnityEngine.PlayerLoop";
20
21        fn class() -> ::unity::Class {
22            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
23            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
24        }
25    }
26    impl ::unity::IlType for TimeUpdate_WaitForLastPresentationAndUpdateTime {
27        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
28            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
29        }
30    }
31
32    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/player_loop/timeupdate/TimeUpdate.md"))]
33    #[repr(C)]
34    #[derive(::core::clone::Clone, ::core::marker::Copy)]
35    pub struct TimeUpdate {}
36    impl ::unity::ClassIdentity for TimeUpdate {
37        const NAME: &'static str = "TimeUpdate";
38        const NAMESPACE: &'static str = "UnityEngine.PlayerLoop";
39
40        fn class() -> ::unity::Class {
41            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
42            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
43        }
44    }
45    impl ::unity::IlType for TimeUpdate {
46        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
47            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
48        }
49    }
50}
51
52#[cfg(feature = "unity_engine-player_loop-timeupdate-types")]
53pub use __types::*;
54
55#[cfg(feature = "unity_engine-player_loop-timeupdate")]
56#[doc(hidden)]
57pub mod prelude {
58    pub use super::{TimeUpdate, TimeUpdate_WaitForLastPresentationAndUpdateTime};
59    #[cfg(feature = "system-object")]
60    pub use crate::system::object::IObjectMethods;
61    #[cfg(feature = "system-valuetype")]
62    pub use crate::system::valuetype::IValueTypeMethods;
63    pub use crate::system::{object::IObject, valuetype::IValueType};
64}