Skip to main content

engage/generated/app/
updateend.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-updateend-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/updateend/UpdateEnd.md"))]
19    #[::unity::class(namespace = "App", name = "UpdateEnd")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct UpdateEnd {}
22}
23
24#[cfg(feature = "app-updateend-types")]
25pub use __types::*;
26
27#[cfg(feature = "app-updateend")]
28pub trait IUpdateEndMethods: IUpdateEnd {
29    #[doc = "`LateUpdate()` overload"]
30    fn late_update(self) -> () {
31        unsafe {
32            let __receiver = <UpdateEnd as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
33            ::unity::il2cpp_call!((::unity::module_base()+0x1c7bc20usize)as*mut u8,();
34(UpdateEnd)__receiver)
35        }
36    }
37    #[doc = "`.ctor()` overload"]
38    fn ctor(self) -> () {
39        unsafe {
40            let __receiver = <UpdateEnd as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
41            ::unity::il2cpp_call!((::unity::module_base()+0x1c7bd30usize)as*mut u8,();
42(UpdateEnd)__receiver)
43        }
44    }
45}
46
47#[cfg(feature = "app-updateend")]
48impl<__T: IUpdateEnd> IUpdateEndMethods for __T {}
49
50#[cfg(feature = "app-updateend")]
51impl UpdateEnd {
52    pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
53        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
54    }
55
56    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
57        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
58    }
59}
60
61#[cfg(feature = "app-updateend")]
62impl UpdateEnd {
63    #[doc = "`.ctor()` — no args"]
64    pub fn new() -> Self {
65        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
66            panic!(
67                "{}
68::{}
69 failed to instantiate",
70                ::core::stringify!(UpdateEnd),
71                ::core::stringify!(new),
72            )
73        });
74        <Self as IUpdateEndMethods>::ctor(this);
75        this
76    }
77}
78
79#[cfg(feature = "app-updateend")]
80#[doc(hidden)]
81pub mod prelude {
82    pub use super::{IUpdateEnd, IUpdateEndMethods, UpdateEnd};
83    #[cfg(feature = "system-object")]
84    pub use crate::system::object::IObjectMethods;
85    #[cfg(feature = "unity_engine-behaviour")]
86    pub use crate::unity_engine::behaviour::IBehaviourMethods;
87    #[cfg(feature = "unity_engine-component")]
88    pub use crate::unity_engine::component::IComponentMethods;
89    #[cfg(feature = "unity_engine-monobehaviour")]
90    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
91    #[cfg(feature = "unity_engine-object_2")]
92    pub use crate::unity_engine::object_2::IObject_2Methods;
93    pub use crate::{
94        system::object::IObject,
95        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
96    };
97}