Skip to main content

engage/generated/app/
dragonridestarttelopmarker.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-dragonridestarttelopmarker-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            object_2::{IObject_2, Object_2},
12            scriptableobject::{IScriptableObject, ScriptableObject},
13            timeline::marker::{IMarker, Marker},
14        },
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/dragonridestarttelopmarker/DragonRideStartTelopMarker.md"))]
18    #[::unity::class(namespace = "App", name = "DragonRideStartTelopMarker")]
19    #[parent(crate::unity_engine::timeline::marker::Marker)]
20    pub struct DragonRideStartTelopMarker {}
21}
22
23#[cfg(feature = "app-dragonridestarttelopmarker-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-dragonridestarttelopmarker")]
27pub trait IDragonRideStartTelopMarkerMethods: IDragonRideStartTelopMarker {
28    #[doc = "`get_id()` overload"]
29    fn get_id(self) -> crate::unity_engine::propertyname::PropertyName {
30        unsafe {
31            let __receiver =
32                <DragonRideStartTelopMarker as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
33            {
34                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
35                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
36                    panic!(
37                        "unity: virtual slot {}
38 out of range (vtable len {}
39) on the runtime class behind {}
40 (method `{}
41`)",
42                        9usize,
43                        __vt.len(),
44                        <DragonRideStartTelopMarker as ::unity::ClassIdentity>::NAME,
45                        "get_id",
46                    )
47                });
48                let __inner: extern "C" fn(DragonRideStartTelopMarker, ::unity::OptionalMethod) -> crate::unity_engine::propertyname::PropertyName =
49                    ::core::mem::transmute(__vi.method_ptr);
50                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
51                __inner(__receiver, __mi)
52            }
53        }
54    }
55    #[doc = "`.ctor()` overload"]
56    fn ctor(self) -> () {
57        unsafe {
58            let __receiver =
59                <DragonRideStartTelopMarker as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60            ::unity::il2cpp_call!((::unity::module_base()+0x2adac30usize)as*mut u8,();
61(DragonRideStartTelopMarker)__receiver)
62        }
63    }
64}
65
66#[cfg(feature = "app-dragonridestarttelopmarker")]
67impl<__T: IDragonRideStartTelopMarker> IDragonRideStartTelopMarkerMethods for __T {}
68
69#[cfg(feature = "app-dragonridestarttelopmarker")]
70impl DragonRideStartTelopMarker {
71    pub fn get_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
72        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
73    }
74
75    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
76        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
77    }
78}
79
80#[cfg(feature = "app-dragonridestarttelopmarker")]
81impl DragonRideStartTelopMarker {
82    #[doc = "Direct (non-virtual) call to `DragonRideStartTelopMarker`'s own `get_id`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
83    pub unsafe fn get_id(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::propertyname::PropertyName {
84        let __mi = Self::get_id_method_info();
85        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::propertyname::PropertyName =
86            ::core::mem::transmute(__mi.method_ptr);
87        __inner(this.into(), ::core::option::Option::None)
88    }
89}
90
91#[cfg(feature = "app-dragonridestarttelopmarker")]
92impl DragonRideStartTelopMarker {
93    #[doc = "`.ctor()` — no args"]
94    pub fn new() -> Self {
95        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
96            panic!(
97                "{}
98::{}
99 failed to instantiate",
100                ::core::stringify!(DragonRideStartTelopMarker),
101                ::core::stringify!(new),
102            )
103        });
104        <Self as IDragonRideStartTelopMarkerMethods>::ctor(this);
105        this
106    }
107}
108
109#[cfg(feature = "app-dragonridestarttelopmarker")]
110#[doc(hidden)]
111pub mod prelude {
112    pub use super::{DragonRideStartTelopMarker, IDragonRideStartTelopMarker, IDragonRideStartTelopMarkerMethods};
113    #[cfg(feature = "system-object")]
114    pub use crate::system::object::IObjectMethods;
115    #[cfg(feature = "unity_engine-object_2")]
116    pub use crate::unity_engine::object_2::IObject_2Methods;
117    #[cfg(feature = "unity_engine-scriptableobject")]
118    pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
119    #[cfg(feature = "unity_engine-timeline-marker")]
120    pub use crate::unity_engine::timeline::marker::IMarkerMethods;
121    pub use crate::{
122        system::object::IObject,
123        unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject, timeline::marker::IMarker},
124    };
125}