engage/generated/app/
targetshowmarkerreciever.rs1#[cfg(feature = "app-targetshowmarkerreciever-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/targetshowmarkerreciever/TargetShowMarkerReciever.md"))]
19 #[::unity::class(namespace = "App", name = "TargetShowMarkerReciever")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct TargetShowMarkerReciever {
22 #[offset(24)]
23 #[rename(name = "m_CameraComponent")]
24 pub m_camera_component: crate::app::dragonridecamera::DragonRideCamera,
25 }
26}
27
28#[cfg(feature = "app-targetshowmarkerreciever-types")]
29pub use __types::*;
30
31#[cfg(feature = "app-targetshowmarkerreciever")]
32pub trait ITargetShowMarkerRecieverMethods: ITargetShowMarkerReciever {
33 #[doc = "`Start()` overload"]
34 fn start(self) -> () {
35 unsafe {
36 let __receiver =
37 <TargetShowMarkerReciever as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
38 ::unity::il2cpp_call!((::unity::module_base()+0x21de0f0usize)as*mut u8,();
39(TargetShowMarkerReciever)__receiver)
40 }
41 }
42 #[doc = "`Update()` overload"]
43 fn update(self) -> () {
44 unsafe {
45 let __receiver =
46 <TargetShowMarkerReciever as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
47 ::unity::il2cpp_call!((::unity::module_base()+0x21de100usize)as*mut u8,();
48(TargetShowMarkerReciever)__receiver)
49 }
50 }
51 #[doc = "`Awake()` overload"]
52 fn awake(self) -> () {
53 unsafe {
54 let __receiver =
55 <TargetShowMarkerReciever as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
56 ::unity::il2cpp_call!((::unity::module_base()+0x21de110usize)as*mut u8,();
57(TargetShowMarkerReciever)__receiver)
58 }
59 }
60 #[doc = "`OnNotify(crate::unity_engine::playables::playable::Playable, crate::unity_engine::playables::inotification::INotification, crate::system::object::Object)` overload"]
61 fn on_notify(
62 self,
63 origin: impl ::core::convert::Into<crate::unity_engine::playables::playable::Playable>,
64 notification: impl ::core::convert::Into<crate::unity_engine::playables::inotification::INotification>,
65 context: impl ::core::convert::Into<crate::system::object::Object>,
66 ) -> () {
67 unsafe {
68 let __receiver =
69 <TargetShowMarkerReciever as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70 {
71 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
72 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
73 panic!(
74 "unity: virtual slot {}
75 out of range (vtable len {}
76) on the runtime class behind {}
77 (method `{}
78`)",
79 4usize,
80 __vt.len(),
81 <TargetShowMarkerReciever as ::unity::ClassIdentity>::NAME,
82 "OnNotify",
83 )
84 });
85 let __inner: extern "C" fn(
86 TargetShowMarkerReciever,
87 crate::unity_engine::playables::playable::Playable,
88 crate::unity_engine::playables::inotification::INotification,
89 crate::system::object::Object,
90 ::unity::OptionalMethod,
91 ) -> () = ::core::mem::transmute(__vi.method_ptr);
92 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
93 __inner(
94 __receiver,
95 ::core::convert::Into::into(origin),
96 ::core::convert::Into::into(notification),
97 ::core::convert::Into::into(context),
98 __mi,
99 )
100 }
101 }
102 }
103 #[doc = "`.ctor()` overload"]
104 fn ctor(self) -> () {
105 unsafe {
106 let __receiver =
107 <TargetShowMarkerReciever as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108 ::unity::il2cpp_call!((::unity::module_base()+0x21de290usize)as*mut u8,();
109(TargetShowMarkerReciever)__receiver)
110 }
111 }
112}
113
114#[cfg(feature = "app-targetshowmarkerreciever")]
115impl<__T: ITargetShowMarkerReciever> ITargetShowMarkerRecieverMethods for __T {}
116
117#[cfg(feature = "app-targetshowmarkerreciever")]
118impl TargetShowMarkerReciever {
119 pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
121 }
122
123 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
124 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
125 }
126
127 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
129 }
130
131 pub fn on_notify_method_info() -> &'static ::unity::il2cpp::MethodInfo {
132 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
133 }
134
135 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
137 }
138}
139
140#[cfg(feature = "app-targetshowmarkerreciever")]
141impl TargetShowMarkerReciever {
142 #[doc = "Direct (non-virtual) call to `TargetShowMarkerReciever`'s own `OnNotify`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
143 pub unsafe fn on_notify(
144 this: impl ::core::convert::Into<::unity::IlInstance>,
145 origin: crate::unity_engine::playables::playable::Playable,
146 notification: crate::unity_engine::playables::inotification::INotification,
147 context: crate::system::object::Object,
148 ) -> () {
149 let __mi = Self::on_notify_method_info();
150 let __inner: extern "C" fn(
151 ::unity::IlInstance,
152 crate::unity_engine::playables::playable::Playable,
153 crate::unity_engine::playables::inotification::INotification,
154 crate::system::object::Object,
155 ::unity::OptionalMethod,
156 ) -> () = ::core::mem::transmute(__mi.method_ptr);
157 __inner(this.into(), origin, notification, context, ::core::option::Option::None)
158 }
159}
160
161#[cfg(feature = "app-targetshowmarkerreciever")]
162impl TargetShowMarkerReciever {
163 #[doc = "`.ctor()` — no args"]
164 pub fn new() -> Self {
165 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
166 panic!(
167 "{}
168::{}
169 failed to instantiate",
170 ::core::stringify!(TargetShowMarkerReciever),
171 ::core::stringify!(new),
172 )
173 });
174 <Self as ITargetShowMarkerRecieverMethods>::ctor(this);
175 this
176 }
177}
178
179#[cfg(feature = "app-targetshowmarkerreciever")]
180#[doc(hidden)]
181pub mod prelude {
182 pub use super::{ITargetShowMarkerReciever, ITargetShowMarkerRecieverMethods, TargetShowMarkerReciever};
183 #[cfg(feature = "system-object")]
184 pub use crate::system::object::IObjectMethods;
185 #[cfg(feature = "unity_engine-behaviour")]
186 pub use crate::unity_engine::behaviour::IBehaviourMethods;
187 #[cfg(feature = "unity_engine-component")]
188 pub use crate::unity_engine::component::IComponentMethods;
189 #[cfg(feature = "unity_engine-monobehaviour")]
190 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
191 #[cfg(feature = "unity_engine-object_2")]
192 pub use crate::unity_engine::object_2::IObject_2Methods;
193 pub use crate::{
194 system::object::IObject,
195 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
196 };
197}