engage/generated/app/
refineshopexchangeroot.rs1#[cfg(feature = "app-refineshopexchangeroot-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/refineshopexchangeroot/RefineShopExchangeRoot.md"))]
19 #[::unity::class(namespace = "App", name = "RefineShopExchangeRoot")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct RefineShopExchangeRoot {
22 #[static_field]
23 #[rename(name = "PrefabPath")]
24 pub prefab_path: ::unity::Il2CppString,
25 #[offset(24)]
26 #[rename(name = "m_TargetMenuObject")]
27 pub m_target_menu_object: crate::unity_engine::gameobject::GameObject,
28 #[offset(32)]
29 #[rename(name = "m_SourceMenuObject")]
30 pub m_source_menu_object: crate::unity_engine::gameobject::GameObject,
31 #[offset(40)]
32 #[rename(name = "m_CountMenuObject")]
33 pub m_count_menu_object: crate::unity_engine::gameobject::GameObject,
34 #[offset(48)]
35 #[rename(name = "m_ResultPopupObject")]
36 pub m_result_popup_object: crate::unity_engine::gameobject::GameObject,
37 }
38}
39
40#[cfg(feature = "app-refineshopexchangeroot-types")]
41pub use __types::*;
42
43#[cfg(feature = "app-refineshopexchangeroot")]
44impl RefineShopExchangeRoot {
45 #[doc = "`LoadPrefabAsync()` overload"]
46 pub fn load_prefab_async() -> () {
47 unsafe {
48 ::unity::il2cpp_call!((::unity::module_base()+0x2963d50usize)as*mut u8,();
49 )
50 }
51 }
52
53 #[doc = "`IsLoadingPrefab()` overload"]
54 pub fn is_loading_prefab() -> bool {
55 unsafe {
56 ::unity::il2cpp_call!((::unity::module_base()+0x2963e10usize)as*mut u8,bool;
57 )
58 }
59 }
60
61 #[doc = "`UnloadPrefab()` overload"]
62 pub fn unload_prefab() -> () {
63 unsafe {
64 ::unity::il2cpp_call!((::unity::module_base()+0x2963eb0usize)as*mut u8,();
65 )
66 }
67 }
68
69 #[doc = "`CreateRoot()` overload"]
70 pub fn create_root() -> crate::app::refineshopexchangeroot::RefineShopExchangeRoot {
71 unsafe {
72 ::unity::il2cpp_call!((::unity::module_base()+0x29621f0usize)as*mut u8,crate::app::refineshopexchangeroot::RefineShopExchangeRoot;
73 )
74 }
75 }
76
77 #[doc = "`.cctor()` overload"]
78 pub fn cctor() -> () {
79 unsafe {
80 ::unity::il2cpp_call!((::unity::module_base()+0x2964100usize)as*mut u8,();
81 )
82 }
83 }
84}
85
86#[cfg(feature = "app-refineshopexchangeroot")]
87pub trait IRefineShopExchangeRootMethods: IRefineShopExchangeRoot {
88 #[doc = "`Create()` overload"]
89 fn create(self) -> () {
90 unsafe {
91 let __receiver =
92 <RefineShopExchangeRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93 ::unity::il2cpp_call!((::unity::module_base()+0x2963f50usize)as*mut u8,();
94(RefineShopExchangeRoot)__receiver)
95 }
96 }
97 #[doc = "`Destroy()` overload"]
98 fn destroy(self) -> () {
99 unsafe {
100 let __receiver =
101 <RefineShopExchangeRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102 ::unity::il2cpp_call!((::unity::module_base()+0x2963c90usize)as*mut u8,();
103(RefineShopExchangeRoot)__receiver)
104 }
105 }
106 #[doc = "`.ctor()` overload"]
107 fn ctor(self) -> () {
108 unsafe {
109 let __receiver =
110 <RefineShopExchangeRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111 ::unity::il2cpp_call!((::unity::module_base()+0x29640f0usize)as*mut u8,();
112(RefineShopExchangeRoot)__receiver)
113 }
114 }
115 #[doc = "`GetTargetMenuContent()` overload"]
116 fn get_target_menu_content(self) -> crate::app::refineshopexchangetargetmenucontent::RefineShopExchangeTargetMenuContent {
117 unsafe {
118 let __receiver =
119 <RefineShopExchangeRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
120 ::unity::il2cpp_call!((::unity::module_base()+0x2962500usize)as*mut u8,crate::app::refineshopexchangetargetmenucontent::RefineShopExchangeTargetMenuContent;
121(RefineShopExchangeRoot)__receiver)
122 }
123 }
124 #[doc = "`GetSourceMenuContent()` overload"]
125 fn get_source_menu_content(self) -> crate::app::refineshopexchangesourcemenucontent::RefineShopExchangeSourceMenuContent {
126 unsafe {
127 let __receiver =
128 <RefineShopExchangeRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 ::unity::il2cpp_call!((::unity::module_base()+0x2962aa0usize)as*mut u8,crate::app::refineshopexchangesourcemenucontent::RefineShopExchangeSourceMenuContent;
130(RefineShopExchangeRoot)__receiver)
131 }
132 }
133 #[doc = "`GetCountMenuContent()` overload"]
134 fn get_count_menu_content(self) -> crate::app::refineshopexchangecountmenucontent::RefineShopExchangeCountMenuContent {
135 unsafe {
136 let __receiver =
137 <RefineShopExchangeRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 ::unity::il2cpp_call!((::unity::module_base()+0x2963120usize)as*mut u8,crate::app::refineshopexchangecountmenucontent::RefineShopExchangeCountMenuContent;
139(RefineShopExchangeRoot)__receiver)
140 }
141 }
142 #[doc = "`GetResultPopup()` overload"]
143 fn get_result_popup(self) -> crate::app::refineshopexchangeresultpopup::RefineShopExchangeResultPopup {
144 unsafe {
145 let __receiver =
146 <RefineShopExchangeRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x29635d0usize)as*mut u8,crate::app::refineshopexchangeresultpopup::RefineShopExchangeResultPopup;
148(RefineShopExchangeRoot)__receiver)
149 }
150 }
151}
152
153#[cfg(feature = "app-refineshopexchangeroot")]
154impl<__T: IRefineShopExchangeRoot> IRefineShopExchangeRootMethods for __T {}
155
156#[cfg(feature = "app-refineshopexchangeroot")]
157impl RefineShopExchangeRoot {
158 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
160 }
161
162 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
164 }
165
166 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
168 }
169
170 pub fn create_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
172 }
173
174 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
176 }
177
178 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
180 }
181
182 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
184 }
185
186 pub fn get_target_menu_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
188 }
189
190 pub fn get_source_menu_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
192 }
193
194 pub fn get_count_menu_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
196 }
197
198 pub fn get_result_popup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
200 }
201
202 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
204 }
205}
206
207#[cfg(feature = "app-refineshopexchangeroot")]
208impl RefineShopExchangeRoot {
209 #[doc = "`.ctor()` — no args"]
210 pub fn new() -> Self {
211 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
212 panic!(
213 "{}
214::{}
215 failed to instantiate",
216 ::core::stringify!(RefineShopExchangeRoot),
217 ::core::stringify!(new),
218 )
219 });
220 <Self as IRefineShopExchangeRootMethods>::ctor(this);
221 this
222 }
223}
224
225#[cfg(feature = "app-refineshopexchangeroot")]
226#[doc(hidden)]
227pub mod prelude {
228 pub use super::{IRefineShopExchangeRoot, IRefineShopExchangeRootMethods, RefineShopExchangeRoot};
229 #[cfg(feature = "system-object")]
230 pub use crate::system::object::IObjectMethods;
231 #[cfg(feature = "unity_engine-behaviour")]
232 pub use crate::unity_engine::behaviour::IBehaviourMethods;
233 #[cfg(feature = "unity_engine-component")]
234 pub use crate::unity_engine::component::IComponentMethods;
235 #[cfg(feature = "unity_engine-monobehaviour")]
236 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
237 #[cfg(feature = "unity_engine-object_2")]
238 pub use crate::unity_engine::object_2::IObject_2Methods;
239 pub use crate::{
240 system::object::IObject,
241 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
242 };
243}