Skip to main content

engage/generated/app/
reliancepopupcontroller.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-reliancepopupcontroller-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/reliancepopupcontroller/ReliancePopUpController.md"))]
19    #[::unity::class(namespace = "App", name = "ReliancePopUpController")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct ReliancePopUpController {
22        #[static_field]
23        #[rename(name = "PrefabPath")]
24        pub prefab_path: ::unity::Il2CppString,
25        #[offset(24)]
26        #[rename(name = "m_Animator")]
27        pub m_animator: crate::unity_engine::animator::Animator,
28        #[offset(32)]
29        #[rename(name = "m_UnitIcon0")]
30        pub m_unit_icon0: crate::app::uniticon::UnitIcon,
31        #[offset(40)]
32        #[rename(name = "m_UnitIcon1")]
33        pub m_unit_icon1: crate::app::uniticon::UnitIcon,
34        #[offset(48)]
35        #[rename(name = "m_Heart0")]
36        pub m_heart0: crate::unity_engine::gameobject::GameObject,
37        #[offset(56)]
38        #[rename(name = "m_Heart1")]
39        pub m_heart1: crate::unity_engine::gameobject::GameObject,
40        #[offset(64)]
41        #[rename(name = "m_WdwReliance")]
42        pub m_wdw_reliance: crate::unity_engine::gameobject::GameObject,
43        #[offset(72)]
44        #[rename(name = "m_WdwTalk")]
45        pub m_wdw_talk: crate::unity_engine::gameobject::GameObject,
46        #[offset(80)]
47        #[rename(name = "m_TextReliance")]
48        pub m_text_reliance: crate::unity_engine::gameobject::GameObject,
49        #[offset(88)]
50        #[rename(name = "m_TextTalk")]
51        pub m_text_talk: crate::unity_engine::gameobject::GameObject,
52        #[offset(96)]
53        #[rename(name = "m_TalkIcon")]
54        pub m_talk_icon: crate::unity_engine::gameobject::GameObject,
55    }
56}
57
58#[cfg(feature = "app-reliancepopupcontroller-types")]
59pub use __types::*;
60
61#[cfg(feature = "app-reliancepopupcontroller")]
62impl ReliancePopUpController {
63    #[doc = "`LoadPrefabAsync()` overload"]
64    pub fn load_prefab_async() -> () {
65        unsafe {
66            ::unity::il2cpp_call!((::unity::module_base()+0x2010bc0usize)as*mut u8,();
67            )
68        }
69    }
70
71    #[doc = "`IsLoadingPrefab()` overload"]
72    pub fn is_loading_prefab() -> bool {
73        unsafe {
74            ::unity::il2cpp_call!((::unity::module_base()+0x2010c60usize)as*mut u8,bool;
75            )
76        }
77    }
78
79    #[doc = "`IsLoaded()` overload"]
80    pub fn is_loaded() -> bool {
81        unsafe {
82            ::unity::il2cpp_call!((::unity::module_base()+0x2010ce0usize)as*mut u8,bool;
83            )
84        }
85    }
86
87    #[doc = "`UnloadPrefab()` overload"]
88    pub fn unload_prefab() -> () {
89        unsafe {
90            ::unity::il2cpp_call!((::unity::module_base()+0x2010db0usize)as*mut u8,();
91            )
92        }
93    }
94
95    #[doc = "`Create()` overload"]
96    pub fn create() -> crate::app::reliancepopupcontroller::ReliancePopUpController {
97        unsafe {
98            ::unity::il2cpp_call!((::unity::module_base()+0x2010e30usize)as*mut u8,crate::app::reliancepopupcontroller::ReliancePopUpController;
99            )
100        }
101    }
102
103    #[doc = "`Destroy(crate::app::reliancepopupcontroller::ReliancePopUpController)` overload"]
104    pub fn destroy(content: impl ::core::convert::Into<crate::app::reliancepopupcontroller::ReliancePopUpController>) -> () {
105        unsafe {
106            ::unity::il2cpp_call!((::unity::module_base()+0x2010ee0usize)as*mut u8,();
107(crate::app::reliancepopupcontroller::ReliancePopUpController)::core::convert::Into::into(content))
108        }
109    }
110}
111
112#[cfg(feature = "app-reliancepopupcontroller")]
113pub trait IReliancePopUpControllerMethods: IReliancePopUpController {
114    #[doc = "`Awake()` overload"]
115    fn awake(self) -> () {
116        unsafe {
117            let __receiver =
118                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x2010f60usize)as*mut u8,();
120(ReliancePopUpController)__receiver)
121        }
122    }
123    #[doc = "`Update()` overload"]
124    fn update(self) -> () {
125        unsafe {
126            let __receiver =
127                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x2011260usize)as*mut u8,();
129(ReliancePopUpController)__receiver)
130        }
131    }
132    #[doc = "`IsPlayingAnim()` overload"]
133    fn is_playing_anim(self) -> bool {
134        unsafe {
135            let __receiver =
136                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            ::unity::il2cpp_call!((::unity::module_base()+0x2011360usize)as*mut u8,bool;
138(ReliancePopUpController)__receiver)
139        }
140    }
141    #[doc = "`PopUp(crate::app::unit::Unit, crate::app::unit::Unit, i32)` overload"]
142    fn pop_up(
143        self,
144        unit_l: impl ::core::convert::Into<crate::app::unit::Unit>,
145        unit_r: impl ::core::convert::Into<crate::app::unit::Unit>,
146        value: impl ::core::convert::Into<i32>,
147    ) -> () {
148        unsafe {
149            let __receiver =
150                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x2011380usize)as*mut u8,();
152(ReliancePopUpController)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit_l),(crate::app::unit::Unit)::core::convert::Into::into(unit_r),(i32)::core::convert::Into::into(value))
153        }
154    }
155    #[doc = "`Hide()` overload"]
156    fn hide(self) -> () {
157        unsafe {
158            let __receiver =
159                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
160            ::unity::il2cpp_call!((::unity::module_base()+0x2011770usize)as*mut u8,();
161(ReliancePopUpController)__receiver)
162        }
163    }
164    #[doc = "`ActiveReliance()` overload"]
165    fn active_reliance(self) -> () {
166        unsafe {
167            let __receiver =
168                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169            ::unity::il2cpp_call!((::unity::module_base()+0x20116b0usize)as*mut u8,();
170(ReliancePopUpController)__receiver)
171        }
172    }
173    #[doc = "`ActiveTalk()` overload"]
174    fn active_talk(self) -> () {
175        unsafe {
176            let __receiver =
177                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178            ::unity::il2cpp_call!((::unity::module_base()+0x20115d0usize)as*mut u8,();
179(ReliancePopUpController)__receiver)
180        }
181    }
182    #[doc = "`.ctor()` overload"]
183    fn ctor(self) -> () {
184        unsafe {
185            let __receiver =
186                <ReliancePopUpController as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187            ::unity::il2cpp_call!((::unity::module_base()+0x20117f0usize)as*mut u8,();
188(ReliancePopUpController)__receiver)
189        }
190    }
191}
192
193#[cfg(feature = "app-reliancepopupcontroller")]
194impl<__T: IReliancePopUpController> IReliancePopUpControllerMethods for __T {}
195
196#[cfg(feature = "app-reliancepopupcontroller")]
197impl ReliancePopUpController {
198    pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
200    }
201
202    pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
204    }
205
206    pub fn is_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
208    }
209
210    pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
212    }
213
214    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
216    }
217
218    pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
220    }
221
222    pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
223        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
224    }
225
226    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
228    }
229
230    pub fn is_playing_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
232    }
233
234    pub fn pop_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
235        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
236    }
237
238    pub fn hide_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
240    }
241
242    pub fn active_reliance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
243        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
244    }
245
246    pub fn active_talk_method_info() -> &'static ::unity::il2cpp::MethodInfo {
247        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
248    }
249
250    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
251        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
252    }
253}
254
255#[cfg(feature = "app-reliancepopupcontroller")]
256impl ReliancePopUpController {
257    #[doc = "`.ctor()` — no args"]
258    pub fn new() -> Self {
259        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
260            panic!(
261                "{}
262::{}
263 failed to instantiate",
264                ::core::stringify!(ReliancePopUpController),
265                ::core::stringify!(new),
266            )
267        });
268        <Self as IReliancePopUpControllerMethods>::ctor(this);
269        this
270    }
271}
272
273#[cfg(feature = "app-reliancepopupcontroller")]
274#[doc(hidden)]
275pub mod prelude {
276    pub use super::{IReliancePopUpController, IReliancePopUpControllerMethods, ReliancePopUpController};
277    #[cfg(feature = "system-object")]
278    pub use crate::system::object::IObjectMethods;
279    #[cfg(feature = "unity_engine-behaviour")]
280    pub use crate::unity_engine::behaviour::IBehaviourMethods;
281    #[cfg(feature = "unity_engine-component")]
282    pub use crate::unity_engine::component::IComponentMethods;
283    #[cfg(feature = "unity_engine-monobehaviour")]
284    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
285    #[cfg(feature = "unity_engine-object_2")]
286    pub use crate::unity_engine::object_2::IObject_2Methods;
287    pub use crate::{
288        system::object::IObject,
289        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
290    };
291}