Skip to main content

engage/generated/app/
mascotcolorchangecontent.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mascotcolorchangecontent-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/mascotcolorchangecontent/MascotColorChangeContent.md"))]
19    #[::unity::class(namespace = "App", name = "MascotColorChangeContent")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct MascotColorChangeContent {
22        #[static_field]
23        #[rename(name = "PrefabPath")]
24        pub prefab_path: ::unity::Il2CppString,
25        #[static_field]
26        #[rename(name = "UIName")]
27        pub ui_name: ::unity::Il2CppString,
28    }
29}
30
31#[cfg(feature = "app-mascotcolorchangecontent-types")]
32pub use __types::*;
33
34#[cfg(feature = "app-mascotcolorchangecontent")]
35impl MascotColorChangeContent {
36    #[doc = "`LoadPrefabAsync()` overload"]
37    pub fn load_prefab_async() -> () {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x2031a00usize)as*mut u8,();
40            )
41        }
42    }
43
44    #[doc = "`IsLoadingPrefab()` overload"]
45    pub fn is_loading_prefab() -> bool {
46        unsafe {
47            ::unity::il2cpp_call!((::unity::module_base()+0x2031aa0usize)as*mut u8,bool;
48            )
49        }
50    }
51
52    #[doc = "`UnloadPrefab()` overload"]
53    pub fn unload_prefab() -> () {
54        unsafe {
55            ::unity::il2cpp_call!((::unity::module_base()+0x2031b20usize)as*mut u8,();
56            )
57        }
58    }
59
60    #[doc = "`Create()` overload"]
61    pub fn create() -> crate::app::mascotcolorchangecontent::MascotColorChangeContent {
62        unsafe {
63            ::unity::il2cpp_call!((::unity::module_base()+0x2031ba0usize)as*mut u8,crate::app::mascotcolorchangecontent::MascotColorChangeContent;
64            )
65        }
66    }
67
68    #[doc = "`Destroy()` overload"]
69    pub fn destroy() -> () {
70        unsafe {
71            ::unity::il2cpp_call!((::unity::module_base()+0x2031c70usize)as*mut u8,();
72            )
73        }
74    }
75}
76
77#[cfg(feature = "app-mascotcolorchangecontent")]
78pub trait IMascotColorChangeContentMethods: IMascotColorChangeContent {
79    #[doc = "`.ctor()` overload"]
80    fn ctor(self) -> () {
81        unsafe {
82            let __receiver =
83                <MascotColorChangeContent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
84            ::unity::il2cpp_call!((::unity::module_base()+0x2031d00usize)as*mut u8,();
85(MascotColorChangeContent)__receiver)
86        }
87    }
88}
89
90#[cfg(feature = "app-mascotcolorchangecontent")]
91impl<__T: IMascotColorChangeContent> IMascotColorChangeContentMethods for __T {}
92
93#[cfg(feature = "app-mascotcolorchangecontent")]
94impl MascotColorChangeContent {
95    pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
96        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
97    }
98
99    pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
100        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
101    }
102
103    pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
104        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
105    }
106
107    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
108        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
109    }
110
111    pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
112        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
113    }
114
115    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
116        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
117    }
118}
119
120#[cfg(feature = "app-mascotcolorchangecontent")]
121impl MascotColorChangeContent {
122    #[doc = "`.ctor()` — no args"]
123    pub fn new() -> Self {
124        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
125            panic!(
126                "{}
127::{}
128 failed to instantiate",
129                ::core::stringify!(MascotColorChangeContent),
130                ::core::stringify!(new),
131            )
132        });
133        <Self as IMascotColorChangeContentMethods>::ctor(this);
134        this
135    }
136}
137
138#[cfg(feature = "app-mascotcolorchangecontent")]
139#[doc(hidden)]
140pub mod prelude {
141    pub use super::{IMascotColorChangeContent, IMascotColorChangeContentMethods, MascotColorChangeContent};
142    #[cfg(feature = "system-object")]
143    pub use crate::system::object::IObjectMethods;
144    #[cfg(feature = "unity_engine-behaviour")]
145    pub use crate::unity_engine::behaviour::IBehaviourMethods;
146    #[cfg(feature = "unity_engine-component")]
147    pub use crate::unity_engine::component::IComponentMethods;
148    #[cfg(feature = "unity_engine-monobehaviour")]
149    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
150    #[cfg(feature = "unity_engine-object_2")]
151    pub use crate::unity_engine::object_2::IObject_2Methods;
152    pub use crate::{
153        system::object::IObject,
154        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
155    };
156}