Skip to main content

engage/generated/unity_engine/player_loop/
update.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-player_loop-update-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/update/Update_DirectorUpdate.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct Update_DirectorUpdate {}
17    impl ::unity::ClassIdentity for Update_DirectorUpdate {
18        const NAME: &'static str = "Update.DirectorUpdate";
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 Update_DirectorUpdate {
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/update/Update_ScriptRunDelayedDynamicFrameRate.md"))]
33    #[repr(C)]
34    #[derive(::core::clone::Clone, ::core::marker::Copy)]
35    pub struct Update_ScriptRunDelayedDynamicFrameRate {}
36    impl ::unity::ClassIdentity for Update_ScriptRunDelayedDynamicFrameRate {
37        const NAME: &'static str = "Update.ScriptRunDelayedDynamicFrameRate";
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 Update_ScriptRunDelayedDynamicFrameRate {
46        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
47            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
48        }
49    }
50
51    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/player_loop/update/Update_ScriptRunBehaviourUpdate.md"))]
52    #[repr(C)]
53    #[derive(::core::clone::Clone, ::core::marker::Copy)]
54    pub struct Update_ScriptRunBehaviourUpdate {}
55    impl ::unity::ClassIdentity for Update_ScriptRunBehaviourUpdate {
56        const NAME: &'static str = "Update.ScriptRunBehaviourUpdate";
57        const NAMESPACE: &'static str = "UnityEngine.PlayerLoop";
58
59        fn class() -> ::unity::Class {
60            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
61            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
62        }
63    }
64    impl ::unity::IlType for Update_ScriptRunBehaviourUpdate {
65        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
66            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
67        }
68    }
69
70    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/player_loop/update/Update.md"))]
71    #[repr(C)]
72    #[derive(::core::clone::Clone, ::core::marker::Copy)]
73    pub struct Update {}
74    impl ::unity::ClassIdentity for Update {
75        const NAME: &'static str = "Update";
76        const NAMESPACE: &'static str = "UnityEngine.PlayerLoop";
77
78        fn class() -> ::unity::Class {
79            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
80            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
81        }
82    }
83    impl ::unity::IlType for Update {
84        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
85            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
86        }
87    }
88
89    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/player_loop/update/Update_ScriptRunDelayedTasks.md"))]
90    #[repr(C)]
91    #[derive(::core::clone::Clone, ::core::marker::Copy)]
92    pub struct Update_ScriptRunDelayedTasks {}
93    impl ::unity::ClassIdentity for Update_ScriptRunDelayedTasks {
94        const NAME: &'static str = "Update.ScriptRunDelayedTasks";
95        const NAMESPACE: &'static str = "UnityEngine.PlayerLoop";
96
97        fn class() -> ::unity::Class {
98            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
99            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
100        }
101    }
102    impl ::unity::IlType for Update_ScriptRunDelayedTasks {
103        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
104            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
105        }
106    }
107}
108
109#[cfg(feature = "unity_engine-player_loop-update-types")]
110pub use __types::*;
111
112#[cfg(feature = "unity_engine-player_loop-update")]
113#[doc(hidden)]
114pub mod prelude {
115    pub use super::{
116        Update, Update_DirectorUpdate, Update_ScriptRunBehaviourUpdate, Update_ScriptRunDelayedDynamicFrameRate, Update_ScriptRunDelayedTasks,
117    };
118    #[cfg(feature = "system-object")]
119    pub use crate::system::object::IObjectMethods;
120    #[cfg(feature = "system-valuetype")]
121    pub use crate::system::valuetype::IValueTypeMethods;
122    pub use crate::system::{object::IObject, valuetype::IValueType};
123}