Skip to main content

engage/generated/app/
myroomfaderender.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-myroomfaderender-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/myroomfaderender/MyRoomFadeRender.md"))]
19    #[::unity::class(namespace = "App", name = "MyRoomFadeRender")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct MyRoomFadeRender {
22        #[offset(24)]
23        #[rename(name = "m_color")]
24        pub m_color: crate::unity_engine::color::Color,
25        #[offset(40)]
26        #[rename(name = "m_layer")]
27        pub m_layer: crate::unity_engine::gameobject::GameObject,
28        #[offset(48)]
29        #[rename(name = "m_image")]
30        pub m_image: crate::unity_engine::ui::image::Image,
31    }
32}
33
34#[cfg(feature = "app-myroomfaderender-types")]
35pub use __types::*;
36
37#[cfg(feature = "app-myroomfaderender")]
38pub trait IMyRoomFadeRenderMethods: IMyRoomFadeRender {
39    #[doc = "`Start()` overload"]
40    fn start(self) -> () {
41        unsafe {
42            let __receiver = <MyRoomFadeRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x2390060usize)as*mut u8,();
44(MyRoomFadeRender)__receiver)
45        }
46    }
47    #[doc = "`SetColor(crate::unity_engine::color::Color)` overload"]
48    fn set_color(self, color: impl ::core::convert::Into<crate::unity_engine::color::Color>) -> () {
49        unsafe {
50            let __receiver = <MyRoomFadeRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51            ::unity::il2cpp_call!((::unity::module_base()+0x23902a0usize)as*mut u8,();
52(MyRoomFadeRender)__receiver,(crate::unity_engine::color::Color)::core::convert::Into::into(color))
53        }
54    }
55    #[doc = "`LateUpdate()` overload"]
56    fn late_update(self) -> () {
57        unsafe {
58            let __receiver = <MyRoomFadeRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59            ::unity::il2cpp_call!((::unity::module_base()+0x23902c0usize)as*mut u8,();
60(MyRoomFadeRender)__receiver)
61        }
62    }
63    #[doc = "`.ctor()` overload"]
64    fn ctor(self) -> () {
65        unsafe {
66            let __receiver = <MyRoomFadeRender as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67            ::unity::il2cpp_call!((::unity::module_base()+0x2390310usize)as*mut u8,();
68(MyRoomFadeRender)__receiver)
69        }
70    }
71}
72
73#[cfg(feature = "app-myroomfaderender")]
74impl<__T: IMyRoomFadeRender> IMyRoomFadeRenderMethods for __T {}
75
76#[cfg(feature = "app-myroomfaderender")]
77impl MyRoomFadeRender {
78    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
79        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
80    }
81
82    pub fn set_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
83        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
84    }
85
86    pub fn late_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
87        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
88    }
89
90    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
92    }
93}
94
95#[cfg(feature = "app-myroomfaderender")]
96impl MyRoomFadeRender {
97    #[doc = "`.ctor()` — no args"]
98    pub fn new() -> Self {
99        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
100            panic!(
101                "{}
102::{}
103 failed to instantiate",
104                ::core::stringify!(MyRoomFadeRender),
105                ::core::stringify!(new),
106            )
107        });
108        <Self as IMyRoomFadeRenderMethods>::ctor(this);
109        this
110    }
111}
112
113#[cfg(feature = "app-myroomfaderender")]
114#[doc(hidden)]
115pub mod prelude {
116    pub use super::{IMyRoomFadeRender, IMyRoomFadeRenderMethods, MyRoomFadeRender};
117    #[cfg(feature = "system-object")]
118    pub use crate::system::object::IObjectMethods;
119    #[cfg(feature = "unity_engine-behaviour")]
120    pub use crate::unity_engine::behaviour::IBehaviourMethods;
121    #[cfg(feature = "unity_engine-component")]
122    pub use crate::unity_engine::component::IComponentMethods;
123    #[cfg(feature = "unity_engine-monobehaviour")]
124    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
125    #[cfg(feature = "unity_engine-object_2")]
126    pub use crate::unity_engine::object_2::IObject_2Methods;
127    pub use crate::{
128        system::object::IObject,
129        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
130    };
131}