engage/generated/app/
dragonrideeventcamerachecker.rs1#[cfg(feature = "app-dragonrideeventcamerachecker-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonrideeventcamerachecker/DragonRideEventCameraChecker.md"))]
19 #[::unity::class(namespace = "App", name = "DragonRideEventCameraChecker")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct DragonRideEventCameraChecker {
22 #[static_field]
23 #[rename(name = "waitTime")]
24 pub wait_time: f64,
25 #[offset(24)]
26 #[rename(name = "m_TargetObject")]
27 pub m_target_object: crate::unity_engine::gameobject::GameObject,
28 }
29}
30
31#[cfg(feature = "app-dragonrideeventcamerachecker-types")]
32pub use __types::*;
33
34#[cfg(feature = "app-dragonrideeventcamerachecker")]
35impl DragonRideEventCameraChecker {
36 #[doc = "`.cctor()` overload"]
37 pub fn cctor() -> () {
38 unsafe {
39 ::unity::il2cpp_call!((::unity::module_base()+0x2ac56a0usize)as*mut u8,();
40 )
41 }
42 }
43}
44
45#[cfg(feature = "app-dragonrideeventcamerachecker")]
46pub trait IDragonRideEventCameraCheckerMethods: IDragonRideEventCameraChecker {
47 #[doc = "`OnEnable()` overload"]
48 fn on_enable(self) -> () {
49 unsafe {
50 let __receiver =
51 <DragonRideEventCameraChecker as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52 ::unity::il2cpp_call!((::unity::module_base()+0x2ac5660usize)as*mut u8,();
53(DragonRideEventCameraChecker)__receiver)
54 }
55 }
56 #[doc = "`Start()` overload"]
57 fn start(self) -> () {
58 unsafe {
59 let __receiver =
60 <DragonRideEventCameraChecker as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61 ::unity::il2cpp_call!((::unity::module_base()+0x2ac5670usize)as*mut u8,();
62(DragonRideEventCameraChecker)__receiver)
63 }
64 }
65 #[doc = "`Update()` overload"]
66 fn update(self) -> () {
67 unsafe {
68 let __receiver =
69 <DragonRideEventCameraChecker as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70 ::unity::il2cpp_call!((::unity::module_base()+0x2ac5680usize)as*mut u8,();
71(DragonRideEventCameraChecker)__receiver)
72 }
73 }
74 #[doc = "`.ctor()` overload"]
75 fn ctor(self) -> () {
76 unsafe {
77 let __receiver =
78 <DragonRideEventCameraChecker as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79 ::unity::il2cpp_call!((::unity::module_base()+0x2ac5690usize)as*mut u8,();
80(DragonRideEventCameraChecker)__receiver)
81 }
82 }
83}
84
85#[cfg(feature = "app-dragonrideeventcamerachecker")]
86impl<__T: IDragonRideEventCameraChecker> IDragonRideEventCameraCheckerMethods for __T {}
87
88#[cfg(feature = "app-dragonrideeventcamerachecker")]
89impl DragonRideEventCameraChecker {
90 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
92 }
93
94 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
96 }
97
98 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
99 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
100 }
101
102 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
103 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
104 }
105
106 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
108 }
109}
110
111#[cfg(feature = "app-dragonrideeventcamerachecker")]
112impl DragonRideEventCameraChecker {
113 #[doc = "`.ctor()` — no args"]
114 pub fn new() -> Self {
115 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
116 panic!(
117 "{}
118::{}
119 failed to instantiate",
120 ::core::stringify!(DragonRideEventCameraChecker),
121 ::core::stringify!(new),
122 )
123 });
124 <Self as IDragonRideEventCameraCheckerMethods>::ctor(this);
125 this
126 }
127}
128
129#[cfg(feature = "app-dragonrideeventcamerachecker")]
130#[doc(hidden)]
131pub mod prelude {
132 pub use super::{DragonRideEventCameraChecker, IDragonRideEventCameraChecker, IDragonRideEventCameraCheckerMethods};
133 #[cfg(feature = "system-object")]
134 pub use crate::system::object::IObjectMethods;
135 #[cfg(feature = "unity_engine-behaviour")]
136 pub use crate::unity_engine::behaviour::IBehaviourMethods;
137 #[cfg(feature = "unity_engine-component")]
138 pub use crate::unity_engine::component::IComponentMethods;
139 #[cfg(feature = "unity_engine-monobehaviour")]
140 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
141 #[cfg(feature = "unity_engine-object_2")]
142 pub use crate::unity_engine::object_2::IObject_2Methods;
143 pub use crate::{
144 system::object::IObject,
145 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
146 };
147}