1#[cfg(feature = "app-godselectroot-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/godselectroot/GodSelectRoot.md"))]
19 #[::unity::class(namespace = "App", name = "GodSelectRoot")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct GodSelectRoot {
22 #[static_field]
23 #[rename(name = "PrefabPath")]
24 pub prefab_path: ::unity::Il2CppString,
25 #[offset(24)]
26 #[rename(name = "m_RingInfo")]
27 pub m_ring_info: crate::unity_engine::gameobject::GameObject,
28 #[offset(32)]
29 #[rename(name = "m_GodListRoot")]
30 pub m_god_list_root: crate::unity_engine::gameobject::GameObject,
31 #[offset(40)]
32 #[rename(name = "m_RingInfoController")]
33 pub m_ring_info_controller: crate::app::ringinfocontroller::RingInfoController,
34 #[offset(48)]
35 #[rename(name = "m_RefineRingInfoWindow")]
36 pub m_refine_ring_info_window: crate::app::refineringinfowindow::RefineRingInfoWindow,
37 #[offset(56)]
38 #[rename(name = "m_DecideEventHandler")]
39 pub m_decide_event_handler: crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler,
40 #[static_field]
41 #[rename(name = "s_RootInstance")]
42 pub s_root_instance: crate::app::godselectroot::GodSelectRoot,
43 }
44}
45
46#[cfg(feature = "app-godselectroot-types")]
47pub use __types::*;
48
49#[cfg(feature = "app-godselectroot")]
50impl GodSelectRoot {
51 #[doc = "`LoadPrefabAsync()` overload"]
52 pub fn load_prefab_async() -> () {
53 unsafe {
54 ::unity::il2cpp_call!((::unity::module_base()+0x2339bc0usize)as*mut u8,();
55 )
56 }
57 }
58
59 #[doc = "`IsLoadingPrefab()` overload"]
60 pub fn is_loading_prefab() -> bool {
61 unsafe {
62 ::unity::il2cpp_call!((::unity::module_base()+0x2339d20usize)as*mut u8,bool;
63 )
64 }
65 }
66
67 #[doc = "`UnloadPrefab()` overload"]
68 pub fn unload_prefab() -> () {
69 unsafe {
70 ::unity::il2cpp_call!((::unity::module_base()+0x233a720usize)as*mut u8,();
71 )
72 }
73 }
74
75 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler, crate::app::godunit::GodUnit)` overload"]
76 pub fn create_bind(
77 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
78 decide_event_handler: impl ::core::convert::Into<crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler>,
79 selected_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
80 ) -> crate::app::godselectroot::GodSelectRoot {
81 unsafe {
82 ::unity::il2cpp_call!((::unity::module_base()+0x233d470usize)as*mut u8,crate::app::godselectroot::GodSelectRoot;
83(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::godunit::GodUnit)::core::convert::Into::into(selected_god))
84 }
85 }
86
87 #[doc = "`CreateBindForRefineRing(crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler, crate::app::godunit::GodUnit)` overload"]
88 pub fn create_bind_for_refine_ring(
89 decide_event_handler: impl ::core::convert::Into<crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler>,
90 selected_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
91 ) -> crate::app::godselectroot::GodSelectRoot {
92 unsafe {
93 ::unity::il2cpp_call!((::unity::module_base()+0x233dcb0usize)as*mut u8,crate::app::godselectroot::GodSelectRoot;
94(crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::godunit::GodUnit)::core::convert::Into::into(selected_god))
95 }
96 }
97
98 #[doc = "`Destroy(crate::app::godselectroot::GodSelectRoot)` overload"]
99 pub fn destroy(root: impl ::core::convert::Into<crate::app::godselectroot::GodSelectRoot>) -> () {
100 unsafe {
101 ::unity::il2cpp_call!((::unity::module_base()+0x233e020usize)as*mut u8,();
102(crate::app::godselectroot::GodSelectRoot)::core::convert::Into::into(root))
103 }
104 }
105
106 #[doc = "`.cctor()` overload"]
107 pub fn cctor() -> () {
108 unsafe {
109 ::unity::il2cpp_call!((::unity::module_base()+0x233e4a0usize)as*mut u8,();
110 )
111 }
112 }
113}
114
115#[cfg(feature = "app-godselectroot")]
116pub trait IGodSelectRootMethods: IGodSelectRoot {
117 #[doc = "`Create(crate::app::procinst::ProcInst, crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler, crate::app::godunit::GodUnit)` overload"]
118 fn create(
119 self,
120 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
121 decide_event_handler: impl ::core::convert::Into<crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler>,
122 selected_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
123 ) -> () {
124 unsafe {
125 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126 ::unity::il2cpp_call!((::unity::module_base()+0x233d620usize)as*mut u8,();
127(GodSelectRoot)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::godunit::GodUnit)::core::convert::Into::into(selected_god))
128 }
129 }
130 #[doc = "`CreateForRefineRing(crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler, crate::app::godunit::GodUnit)` overload"]
131 fn create_for_refine_ring(
132 self,
133 decide_event_handler: impl ::core::convert::Into<crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler>,
134 selected_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
135 ) -> () {
136 unsafe {
137 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138 ::unity::il2cpp_call!((::unity::module_base()+0x233de40usize)as*mut u8,();
139(GodSelectRoot)__receiver,(crate::app::godunitselectmenu::GodUnitSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::godunit::GodUnit)::core::convert::Into::into(selected_god))
140 }
141 }
142 #[doc = "`GetSelectEventHandlerForRefineRing()` overload"]
143 fn get_select_event_handler_for_refine_ring(self) -> crate::app::godunitselectmenu::GodUnitSelectMenu_SelectEventHandler {
144 unsafe {
145 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146 ::unity::il2cpp_call!((::unity::module_base()+0x233dfa0usize)as*mut u8,crate::app::godunitselectmenu::GodUnitSelectMenu_SelectEventHandler;
147(GodSelectRoot)__receiver)
148 }
149 }
150 #[doc = "`CloseStatus()` overload"]
151 fn close_status(self) -> () {
152 unsafe {
153 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154 ::unity::il2cpp_call!((::unity::module_base()+0x233e1b0usize)as*mut u8,();
155(GodSelectRoot)__receiver)
156 }
157 }
158 #[doc = "`OnSelectMenuItem(crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType)` overload"]
159 fn on_select_menu_item(
160 self,
161 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
162 r#type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
163 ) -> () {
164 unsafe {
165 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166 ::unity::il2cpp_call!((::unity::module_base()+0x233e280usize)as*mut u8,();
167(GodSelectRoot)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(r#type))
168 }
169 }
170 #[doc = "`OnSelectMenuItemForRefineRing(crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType)` overload"]
171 fn on_select_menu_item_for_refine_ring(
172 self,
173 god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
174 r#type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
175 ) -> () {
176 unsafe {
177 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178 ::unity::il2cpp_call!((::unity::module_base()+0x233e400usize)as*mut u8,();
179(GodSelectRoot)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(r#type))
180 }
181 }
182 #[doc = "`ShowModel(crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType)` overload"]
183 fn show_model(
184 self,
185 god_unit: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
186 r#type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
187 ) -> () {
188 unsafe {
189 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190 ::unity::il2cpp_call!((::unity::module_base()+0x233e370usize)as*mut u8,();
191(GodSelectRoot)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god_unit),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(r#type))
192 }
193 }
194 #[doc = "`SetupRingImage()` overload"]
195 fn setup_ring_image(self) -> () {
196 unsafe {
197 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198 ::unity::il2cpp_call!((::unity::module_base()+0x233dbd0usize)as*mut u8,();
199(GodSelectRoot)__receiver)
200 }
201 }
202 #[doc = "`.ctor()` overload"]
203 fn ctor(self) -> () {
204 unsafe {
205 let __receiver = <GodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206 ::unity::il2cpp_call!((::unity::module_base()+0x233e490usize)as*mut u8,();
207(GodSelectRoot)__receiver)
208 }
209 }
210}
211
212#[cfg(feature = "app-godselectroot")]
213impl<__T: IGodSelectRoot> IGodSelectRootMethods for __T {}
214
215#[cfg(feature = "app-godselectroot")]
216impl GodSelectRoot {
217 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
219 }
220
221 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
223 }
224
225 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
227 }
228
229 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
231 }
232
233 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
235 }
236
237 pub fn create_bind_for_refine_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
239 }
240
241 pub fn create_for_refine_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
243 }
244
245 pub fn get_select_event_handler_for_refine_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
247 }
248
249 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
251 }
252
253 pub fn close_status_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
255 }
256
257 pub fn on_select_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
259 }
260
261 pub fn on_select_menu_item_for_refine_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
263 }
264
265 pub fn show_model_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
267 }
268
269 pub fn setup_ring_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
271 }
272
273 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
274 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
275 }
276
277 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
278 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
279 }
280}
281
282#[cfg(feature = "app-godselectroot")]
283impl GodSelectRoot {
284 #[doc = "`.ctor()` — no args"]
285 pub fn new() -> Self {
286 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
287 panic!(
288 "{}
289::{}
290 failed to instantiate",
291 ::core::stringify!(GodSelectRoot),
292 ::core::stringify!(new),
293 )
294 });
295 <Self as IGodSelectRootMethods>::ctor(this);
296 this
297 }
298}
299
300#[cfg(feature = "app-godselectroot")]
301#[doc(hidden)]
302pub mod prelude {
303 pub use super::{GodSelectRoot, IGodSelectRoot, IGodSelectRootMethods};
304 #[cfg(feature = "system-object")]
305 pub use crate::system::object::IObjectMethods;
306 #[cfg(feature = "unity_engine-behaviour")]
307 pub use crate::unity_engine::behaviour::IBehaviourMethods;
308 #[cfg(feature = "unity_engine-component")]
309 pub use crate::unity_engine::component::IComponentMethods;
310 #[cfg(feature = "unity_engine-monobehaviour")]
311 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
312 #[cfg(feature = "unity_engine-object_2")]
313 pub use crate::unity_engine::object_2::IObject_2Methods;
314 pub use crate::{
315 system::object::IObject,
316 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
317 };
318}