1#[cfg(feature = "app-challengemapselectroot-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/challengemapselectroot/ChallengeMapSelectRoot_ItemDropNum.md"))]
19 #[::unity::class(namespace = "App", name = "ChallengeMapSelectRoot.ItemDropNum")]
20 #[parent(crate::system::object::Object)]
21 pub struct ChallengeMapSelectRoot_ItemDropNum {}
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/challengemapselectroot/ChallengeMapSelectRoot_RewardInfoItem.md"))]
24 #[::unity::class(namespace = "App", name = "ChallengeMapSelectRoot.RewardInfoItem")]
25 #[parent(crate::system::object::Object)]
26 pub struct ChallengeMapSelectRoot_RewardInfoItem {
27 #[offset(16)]
28 #[rename(name = "m_Root")]
29 pub m_root: crate::unity_engine::gameobject::GameObject,
30 #[offset(24)]
31 #[rename(name = "m_IconImage")]
32 pub m_icon_image: crate::unity_engine::ui::image::Image,
33 #[offset(32)]
34 #[rename(name = "m_NameText")]
35 pub m_name_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
36 #[offset(40)]
37 #[rename(name = "m_MinText")]
38 pub m_min_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
39 #[offset(48)]
40 #[rename(name = "m_Tilde")]
41 pub m_tilde: crate::unity_engine::gameobject::GameObject,
42 #[offset(56)]
43 #[rename(name = "m_MaxText")]
44 pub m_max_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
45 #[offset(64)]
46 #[rename(name = "m_FrmImage")]
47 pub m_frm_image: crate::unity_engine::ui::image::Image,
48 }
49
50 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/challengemapselectroot/ChallengeMapSelectRoot.md"))]
51 #[::unity::class(namespace = "App", name = "ChallengeMapSelectRoot")]
52 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
53 pub struct ChallengeMapSelectRoot {
54 #[static_field]
55 #[rename(name = "PrefabPath")]
56 pub prefab_path: ::unity::Il2CppString,
57 #[static_field]
58 #[rename(name = "SpriteAtlasPath")]
59 pub sprite_atlas_path: ::unity::Il2CppString,
60 #[offset(24)]
61 #[rename(name = "m_SpriteAtlas")]
62 pub m_sprite_atlas: crate::unity_engine::u2d::spriteatlas::SpriteAtlas,
63 #[offset(32)]
64 #[rename(name = "m_MapSelectMenuContent")]
65 pub m_map_select_menu_content: crate::app::basicmenucontent::BasicMenuContent,
66 #[offset(40)]
67 #[rename(name = "m_DifficultySelectMenu")]
68 pub m_difficulty_select_menu: crate::app::basicmenucontent::BasicMenuContent,
69 #[offset(48)]
70 #[rename(name = "m_MapHelpObj")]
71 pub m_map_help_obj: crate::unity_engine::gameobject::GameObject,
72 #[offset(56)]
73 #[rename(name = "m_MapTitleText")]
74 pub m_map_title_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
75 #[offset(64)]
76 #[rename(name = "m_BattleCountText")]
77 pub m_battle_count_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
78 #[offset(72)]
79 #[rename(name = "m_MapImage")]
80 pub m_map_image: crate::unity_engine::ui::image::Image,
81 #[offset(80)]
82 #[rename(name = "m_DifficultyValueText")]
83 pub m_difficulty_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
84 #[offset(88)]
85 #[rename(name = "m_TurnCountValueText")]
86 pub m_turn_count_value_text: crate::tm_pro::textmeshprougui::TextMeshProUGUI,
87 #[offset(96)]
88 #[rename(name = "m_RewardInfoItem")]
89 pub m_reward_info_item: ::unity::Array<crate::app::challengemapselectroot::ChallengeMapSelectRoot_RewardInfoItem>,
90 #[offset(104)]
91 #[rename(name = "m_ExpTextList")]
92 pub m_exp_text_list: ::unity::Array<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
93 #[offset(112)]
94 #[rename(name = "m_SpRoot")]
95 pub m_sp_root: crate::unity_engine::gameobject::GameObject,
96 #[offset(120)]
97 #[rename(name = "m_SpTextList")]
98 pub m_sp_text_list: ::unity::Array<crate::tm_pro::textmeshprougui::TextMeshProUGUI>,
99 #[offset(128)]
100 #[rename(name = "m_SelectChallengeData")]
101 pub m_select_challenge_data: crate::app::challengedata::ChallengeData,
102 #[offset(136)]
103 #[rename(name = "m_MapImageSprite")]
104 pub m_map_image_sprite: crate::unity_engine::sprite::Sprite,
105 #[offset(144)]
106 #[rename(name = "m_RootAnim")]
107 pub m_root_anim: crate::unity_engine::animator::Animator,
108 }
109}
110
111#[cfg(feature = "app-challengemapselectroot-types")]
112pub use __types::*;
113
114#[cfg(feature = "app-challengemapselectroot")]
115pub trait IChallengeMapSelectRoot_ItemDropNumMethods: IChallengeMapSelectRoot_ItemDropNum {
116 #[doc = "`get_Min()` overload"]
117 fn get_min(self) -> i32 {
118 unsafe {
119 let __receiver =
120 <ChallengeMapSelectRoot_ItemDropNum as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121 ::unity::il2cpp_call!((::unity::module_base()+0x19bfef0usize)as*mut u8,i32;
122(ChallengeMapSelectRoot_ItemDropNum)__receiver)
123 }
124 }
125 #[doc = "`set_Min(i32)` overload"]
126 fn set_min(self, value: impl ::core::convert::Into<i32>) -> () {
127 unsafe {
128 let __receiver =
129 <ChallengeMapSelectRoot_ItemDropNum as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130 ::unity::il2cpp_call!((::unity::module_base()+0x19bff00usize)as*mut u8,();
131(ChallengeMapSelectRoot_ItemDropNum)__receiver,(i32)::core::convert::Into::into(value))
132 }
133 }
134 #[doc = "`get_Max()` overload"]
135 fn get_max(self) -> i32 {
136 unsafe {
137 let __receiver =
138 <ChallengeMapSelectRoot_ItemDropNum as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x19bff10usize)as*mut u8,i32;
140(ChallengeMapSelectRoot_ItemDropNum)__receiver)
141 }
142 }
143 #[doc = "`set_Max(i32)` overload"]
144 fn set_max(self, value: impl ::core::convert::Into<i32>) -> () {
145 unsafe {
146 let __receiver =
147 <ChallengeMapSelectRoot_ItemDropNum as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 ::unity::il2cpp_call!((::unity::module_base()+0x19bff20usize)as*mut u8,();
149(ChallengeMapSelectRoot_ItemDropNum)__receiver,(i32)::core::convert::Into::into(value))
150 }
151 }
152 #[doc = "`.ctor()` overload"]
153 fn ctor(self) -> () {
154 unsafe {
155 let __receiver =
156 <ChallengeMapSelectRoot_ItemDropNum as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157 ::unity::il2cpp_call!((::unity::module_base()+0x19bff30usize)as*mut u8,();
158(ChallengeMapSelectRoot_ItemDropNum)__receiver)
159 }
160 }
161}
162
163#[cfg(feature = "app-challengemapselectroot")]
164impl<__T: IChallengeMapSelectRoot_ItemDropNum> IChallengeMapSelectRoot_ItemDropNumMethods for __T {}
165
166#[cfg(feature = "app-challengemapselectroot")]
167impl ChallengeMapSelectRoot_ItemDropNum {
168 pub fn get_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
170 }
171
172 pub fn set_min_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
174 }
175
176 pub fn get_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
178 }
179
180 pub fn set_max_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
182 }
183
184 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
186 }
187}
188
189#[cfg(feature = "app-challengemapselectroot")]
190impl ChallengeMapSelectRoot_ItemDropNum {
191 #[doc = "`.ctor()` — no args"]
192 pub fn new() -> Self {
193 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
194 panic!(
195 "{}
196::{}
197 failed to instantiate",
198 ::core::stringify!(ChallengeMapSelectRoot_ItemDropNum),
199 ::core::stringify!(new),
200 )
201 });
202 <Self as IChallengeMapSelectRoot_ItemDropNumMethods>::ctor(this);
203 this
204 }
205}
206
207#[cfg(feature = "app-challengemapselectroot")]
208pub trait IChallengeMapSelectRoot_RewardInfoItemMethods: IChallengeMapSelectRoot_RewardInfoItem {
209 #[doc = "`.ctor()` overload"]
210 fn ctor(self) -> () {
211 unsafe {
212 let __receiver = <ChallengeMapSelectRoot_RewardInfoItem as ::unity::FromIlInstance>::from_il_instance(
213 <Self as ::unity::SystemObject>::as_instance(self),
214 );
215 ::unity::il2cpp_call!((::unity::module_base()+0x19bff40usize)as*mut u8,();
216(ChallengeMapSelectRoot_RewardInfoItem)__receiver)
217 }
218 }
219}
220
221#[cfg(feature = "app-challengemapselectroot")]
222impl<__T: IChallengeMapSelectRoot_RewardInfoItem> IChallengeMapSelectRoot_RewardInfoItemMethods for __T {}
223
224#[cfg(feature = "app-challengemapselectroot")]
225impl ChallengeMapSelectRoot_RewardInfoItem {
226 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
228 }
229}
230
231#[cfg(feature = "app-challengemapselectroot")]
232impl ChallengeMapSelectRoot_RewardInfoItem {
233 #[doc = "`.ctor()` — no args"]
234 pub fn new() -> Self {
235 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
236 panic!(
237 "{}
238::{}
239 failed to instantiate",
240 ::core::stringify!(ChallengeMapSelectRoot_RewardInfoItem),
241 ::core::stringify!(new),
242 )
243 });
244 <Self as IChallengeMapSelectRoot_RewardInfoItemMethods>::ctor(this);
245 this
246 }
247}
248
249#[cfg(feature = "app-challengemapselectroot")]
250impl ChallengeMapSelectRoot {
251 #[doc = "`LoadPrefabAsync()` overload"]
252 pub fn load_prefab_async() -> () {
253 unsafe {
254 ::unity::il2cpp_call!((::unity::module_base()+0x25c5530usize)as*mut u8,();
255 )
256 }
257 }
258
259 #[doc = "`IsLoadingPrefab()` overload"]
260 pub fn is_loading_prefab() -> bool {
261 unsafe {
262 ::unity::il2cpp_call!((::unity::module_base()+0x25c5610usize)as*mut u8,bool;
263 )
264 }
265 }
266
267 #[doc = "`UnloadPrefab()` overload"]
268 pub fn unload_prefab() -> () {
269 unsafe {
270 ::unity::il2cpp_call!((::unity::module_base()+0x25c56e0usize)as*mut u8,();
271 )
272 }
273 }
274
275 #[doc = "`CreateRoot()` overload"]
276 pub fn create_root() -> crate::app::challengemapselectroot::ChallengeMapSelectRoot {
277 unsafe {
278 ::unity::il2cpp_call!((::unity::module_base()+0x25c5780usize)as*mut u8,crate::app::challengemapselectroot::ChallengeMapSelectRoot;
279 )
280 }
281 }
282}
283
284#[cfg(feature = "app-challengemapselectroot")]
285pub trait IChallengeMapSelectRootMethods: IChallengeMapSelectRoot {
286 #[doc = "`Create()` overload"]
287 fn create(self) -> () {
288 unsafe {
289 let __receiver =
290 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
291 ::unity::il2cpp_call!((::unity::module_base()+0x25c58e0usize)as*mut u8,();
292(ChallengeMapSelectRoot)__receiver)
293 }
294 }
295 #[doc = "`Destroy()` overload"]
296 fn destroy(self) -> () {
297 unsafe {
298 let __receiver =
299 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300 ::unity::il2cpp_call!((::unity::module_base()+0x25c5a20usize)as*mut u8,();
301(ChallengeMapSelectRoot)__receiver)
302 }
303 }
304 #[doc = "`.ctor()` overload"]
305 fn ctor(self) -> () {
306 unsafe {
307 let __receiver =
308 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309 ::unity::il2cpp_call!((::unity::module_base()+0x25c5ab0usize)as*mut u8,();
310(ChallengeMapSelectRoot)__receiver)
311 }
312 }
313 #[doc = "`GetChallengeMapSelectMenuContent()` overload"]
314 fn get_challenge_map_select_menu_content(self) -> crate::app::basicmenucontent::BasicMenuContent {
315 unsafe {
316 let __receiver =
317 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318 ::unity::il2cpp_call!((::unity::module_base()+0x25c5ac0usize)as*mut u8,crate::app::basicmenucontent::BasicMenuContent;
319(ChallengeMapSelectRoot)__receiver)
320 }
321 }
322 #[doc = "`GetChallengeDifficultyMenuContent()` overload"]
323 fn get_challenge_difficulty_menu_content(self) -> crate::app::basicmenucontent::BasicMenuContent {
324 unsafe {
325 let __receiver =
326 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327 ::unity::il2cpp_call!((::unity::module_base()+0x25c5ad0usize)as*mut u8,crate::app::basicmenucontent::BasicMenuContent;
328(ChallengeMapSelectRoot)__receiver)
329 }
330 }
331 #[doc = "`SetMapHelpActive()` overload"]
332 fn set_map_help_active(self) -> () {
333 unsafe {
334 let __receiver =
335 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336 ::unity::il2cpp_call!((::unity::module_base()+0x25c4de0usize)as*mut u8,();
337(ChallengeMapSelectRoot)__receiver)
338 }
339 }
340 #[doc = "`OnSelect(crate::app::challengedata::ChallengeData)` overload"]
341 fn on_select(self, challenge_data: impl ::core::convert::Into<crate::app::challengedata::ChallengeData>) -> () {
342 unsafe {
343 let __receiver =
344 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
345 ::unity::il2cpp_call!((::unity::module_base()+0x25c4890usize)as*mut u8,();
346(ChallengeMapSelectRoot)__receiver,(crate::app::challengedata::ChallengeData)::core::convert::Into::into(challenge_data))
347 }
348 }
349 #[doc = "`SetReward(i32, bool)` overload"]
350 fn set_reward(self, level: impl ::core::convert::Into<i32>, is_item_drop_unknow: impl ::core::convert::Into<bool>) -> () {
351 unsafe {
352 let __receiver =
353 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
354 ::unity::il2cpp_call!((::unity::module_base()+0x25c2d10usize)as*mut u8,();
355(ChallengeMapSelectRoot)__receiver,(i32)::core::convert::Into::into(level),(bool)::core::convert::Into::into(is_item_drop_unknow))
356 }
357 }
358 #[doc = "`Close()` overload"]
359 fn close(self) -> () {
360 unsafe {
361 let __receiver =
362 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363 ::unity::il2cpp_call!((::unity::module_base()+0x25c5ae0usize)as*mut u8,();
364(ChallengeMapSelectRoot)__receiver)
365 }
366 }
367 #[doc = "`IsClosed()` overload"]
368 fn is_closed(self) -> bool {
369 unsafe {
370 let __receiver =
371 <ChallengeMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
372 ::unity::il2cpp_call!((::unity::module_base()+0x25c5b90usize)as*mut u8,bool;
373(ChallengeMapSelectRoot)__receiver)
374 }
375 }
376}
377
378#[cfg(feature = "app-challengemapselectroot")]
379impl<__T: IChallengeMapSelectRoot> IChallengeMapSelectRootMethods for __T {}
380
381#[cfg(feature = "app-challengemapselectroot")]
382impl ChallengeMapSelectRoot {
383 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
384 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
385 }
386
387 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
388 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
389 }
390
391 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
392 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
393 }
394
395 pub fn create_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
396 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
397 }
398
399 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
400 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
401 }
402
403 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
404 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
405 }
406
407 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
408 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
409 }
410
411 pub fn get_challenge_map_select_menu_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
412 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
413 }
414
415 pub fn get_challenge_difficulty_menu_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
416 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
417 }
418
419 pub fn set_map_help_active_method_info() -> &'static ::unity::il2cpp::MethodInfo {
420 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
421 }
422
423 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
425 }
426
427 pub fn set_reward_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
429 }
430
431 pub fn close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
433 }
434
435 pub fn is_closed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
437 }
438}
439
440#[cfg(feature = "app-challengemapselectroot")]
441impl ChallengeMapSelectRoot {
442 #[doc = "`.ctor()` — no args"]
443 pub fn new() -> Self {
444 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
445 panic!(
446 "{}
447::{}
448 failed to instantiate",
449 ::core::stringify!(ChallengeMapSelectRoot),
450 ::core::stringify!(new),
451 )
452 });
453 <Self as IChallengeMapSelectRootMethods>::ctor(this);
454 this
455 }
456}
457
458#[cfg(feature = "app-challengemapselectroot")]
459#[doc(hidden)]
460pub mod prelude {
461 pub use super::{
462 ChallengeMapSelectRoot, ChallengeMapSelectRoot_ItemDropNum, ChallengeMapSelectRoot_RewardInfoItem, IChallengeMapSelectRoot,
463 IChallengeMapSelectRootMethods, IChallengeMapSelectRoot_ItemDropNum, IChallengeMapSelectRoot_ItemDropNumMethods,
464 IChallengeMapSelectRoot_RewardInfoItem, IChallengeMapSelectRoot_RewardInfoItemMethods,
465 };
466 #[cfg(feature = "system-object")]
467 pub use crate::system::object::IObjectMethods;
468 #[cfg(feature = "unity_engine-behaviour")]
469 pub use crate::unity_engine::behaviour::IBehaviourMethods;
470 #[cfg(feature = "unity_engine-component")]
471 pub use crate::unity_engine::component::IComponentMethods;
472 #[cfg(feature = "unity_engine-monobehaviour")]
473 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
474 #[cfg(feature = "unity_engine-object_2")]
475 pub use crate::unity_engine::object_2::IObject_2Methods;
476 pub use crate::{
477 system::object::IObject,
478 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
479 };
480}