Skip to main content

engage/generated/root/
iron19charactersuperengage.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-iron19charactersuperengage-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/root/iron19charactersuperengage/Iron19CharacterSuperEngage.md"))]
19    #[::unity::class(namespace = "", name = "Iron19CharacterSuperEngage")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct Iron19CharacterSuperEngage {
22        #[static_field]
23        #[rename(name = "EditorPrefsDisable")]
24        pub editor_prefs_disable: ::unity::Il2CppString,
25        #[offset(24)]
26        #[rename(name = "m_bInitialized")]
27        pub m_b_initialized: bool,
28        #[offset(25)]
29        #[rename(name = "m_Dirty")]
30        pub m_dirty: bool,
31        #[offset(32)]
32        #[rename(name = "m_ModifiableMaterials")]
33        pub m_modifiable_materials: crate::system::collections::generic::list_1::List_1<crate::unity_engine::material::Material>,
34        #[offset(40)]
35        #[rename(name = "m_InstancedMaterials")]
36        pub m_instanced_materials: crate::system::collections::generic::list_1::List_1<crate::unity_engine::material::Material>,
37        #[offset(48)]
38        #[rename(name = "m_isSuperEngage")]
39        pub m_is_super_engage: bool,
40        #[static_field]
41        #[rename(name = "SUPER_ENGAGE_KEYWORD")]
42        pub super_engage_keyword: ::unity::Il2CppString,
43        #[static_field]
44        #[rename(name = "SUPER_ENGAGE_PROPERTY_NAME")]
45        pub super_engage_property_name: ::unity::Il2CppString,
46        #[static_field]
47        #[rename(name = "m_superEngagePropertyID")]
48        pub m_super_engage_property_id: i32,
49    }
50}
51
52#[cfg(feature = "root-iron19charactersuperengage-types")]
53pub use __types::*;
54
55#[cfg(feature = "root-iron19charactersuperengage")]
56impl Iron19CharacterSuperEngage {
57    #[doc = "`.cctor()` overload"]
58    pub fn cctor() -> () {
59        unsafe {
60            ::unity::il2cpp_call!((::unity::module_base()+0x27a9680usize)as*mut u8,();
61            )
62        }
63    }
64}
65
66#[cfg(feature = "root-iron19charactersuperengage")]
67pub trait IIron19CharacterSuperEngageMethods: IIron19CharacterSuperEngage {
68    #[doc = "`IsSuperEngage()` overload"]
69    fn is_super_engage(self) -> bool {
70        unsafe {
71            let __receiver =
72                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73            ::unity::il2cpp_call!((::unity::module_base()+0x27a8e00usize)as*mut u8,bool;
74(Iron19CharacterSuperEngage)__receiver)
75        }
76    }
77    #[doc = "`Start()` overload"]
78    fn start(self) -> () {
79        unsafe {
80            let __receiver =
81                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            ::unity::il2cpp_call!((::unity::module_base()+0x27a8e10usize)as*mut u8,();
83(Iron19CharacterSuperEngage)__receiver)
84        }
85    }
86    #[doc = "`UpdateMaterials(bool)` overload"]
87    fn update_materials(self, is_force: impl ::core::convert::Into<bool>) -> () {
88        unsafe {
89            let __receiver =
90                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x27a8f00usize)as*mut u8,();
92(Iron19CharacterSuperEngage)__receiver,(bool)::core::convert::Into::into(is_force))
93        }
94    }
95    #[doc = "`OnDestroy()` overload"]
96    fn on_destroy(self) -> () {
97        unsafe {
98            let __receiver =
99                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100            ::unity::il2cpp_call!((::unity::module_base()+0x27a9250usize)as*mut u8,();
101(Iron19CharacterSuperEngage)__receiver)
102        }
103    }
104    #[doc = "`SetSuperEngage(bool)` overload"]
105    fn set_super_engage(self, is_super_engage: impl ::core::convert::Into<bool>) -> () {
106        unsafe {
107            let __receiver =
108                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x27a9440usize)as*mut u8,();
110(Iron19CharacterSuperEngage)__receiver,(bool)::core::convert::Into::into(is_super_engage))
111        }
112    }
113    #[doc = "`MyUpdate()` overload"]
114    fn my_update(self) -> () {
115        unsafe {
116            let __receiver =
117                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x27a9460usize)as*mut u8,();
119(Iron19CharacterSuperEngage)__receiver)
120        }
121    }
122    #[doc = "`UpdateShader()` overload"]
123    fn update_shader(self) -> () {
124        unsafe {
125            let __receiver =
126                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x27a9470usize)as*mut u8,();
128(Iron19CharacterSuperEngage)__receiver)
129        }
130    }
131    #[doc = "`.ctor()` overload"]
132    fn ctor(self) -> () {
133        unsafe {
134            let __receiver =
135                <Iron19CharacterSuperEngage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x27a9670usize)as*mut u8,();
137(Iron19CharacterSuperEngage)__receiver)
138        }
139    }
140}
141
142#[cfg(feature = "root-iron19charactersuperengage")]
143impl<__T: IIron19CharacterSuperEngage> IIron19CharacterSuperEngageMethods for __T {}
144
145#[cfg(feature = "root-iron19charactersuperengage")]
146impl Iron19CharacterSuperEngage {
147    pub fn is_super_engage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
148        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
149    }
150
151    pub fn start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
152        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
153    }
154
155    pub fn update_materials_method_info() -> &'static ::unity::il2cpp::MethodInfo {
156        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
157    }
158
159    pub fn on_destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
160        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
161    }
162
163    pub fn set_super_engage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
164        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
165    }
166
167    pub fn my_update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
168        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
169    }
170
171    pub fn update_shader_method_info() -> &'static ::unity::il2cpp::MethodInfo {
172        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
173    }
174
175    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
176        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
177    }
178
179    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
180        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
181    }
182}
183
184#[cfg(feature = "root-iron19charactersuperengage")]
185impl Iron19CharacterSuperEngage {
186    #[doc = "`.ctor()` — no args"]
187    pub fn new() -> Self {
188        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
189            panic!(
190                "{}
191::{}
192 failed to instantiate",
193                ::core::stringify!(Iron19CharacterSuperEngage),
194                ::core::stringify!(new),
195            )
196        });
197        <Self as IIron19CharacterSuperEngageMethods>::ctor(this);
198        this
199    }
200}
201
202#[cfg(feature = "root-iron19charactersuperengage")]
203#[doc(hidden)]
204pub mod prelude {
205    pub use super::{IIron19CharacterSuperEngage, IIron19CharacterSuperEngageMethods, Iron19CharacterSuperEngage};
206    #[cfg(feature = "system-object")]
207    pub use crate::system::object::IObjectMethods;
208    #[cfg(feature = "unity_engine-behaviour")]
209    pub use crate::unity_engine::behaviour::IBehaviourMethods;
210    #[cfg(feature = "unity_engine-component")]
211    pub use crate::unity_engine::component::IComponentMethods;
212    #[cfg(feature = "unity_engine-monobehaviour")]
213    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
214    #[cfg(feature = "unity_engine-object_2")]
215    pub use crate::unity_engine::object_2::IObject_2Methods;
216    pub use crate::{
217        system::object::IObject,
218        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
219    };
220}