Skip to main content

engage/generated/app/
fademarkerreciever.rs

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