Skip to main content

engage/generated/app/
hubvariable.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubvariable-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubvariable/HubVariable_Mascot.md"))]
11    #[::unity::class(namespace = "App", name = "HubVariable.Mascot")]
12    #[parent(crate::system::object::Object)]
13    pub struct HubVariable_Mascot {}
14
15    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubvariable/HubVariable.md"))]
16    #[::unity::class(namespace = "App", name = "HubVariable")]
17    #[parent(crate::system::object::Object)]
18    pub struct HubVariable {
19        #[static_field]
20        #[rename(name = "MaxAnimalNum")]
21        pub max_animal_num: i32,
22    }
23}
24
25#[cfg(feature = "app-hubvariable-types")]
26pub use __types::*;
27
28#[cfg(feature = "app-hubvariable")]
29impl HubVariable_Mascot {
30    #[doc = "`get_CanFollow()` overload"]
31    pub fn get_can_follow() -> bool {
32        unsafe {
33            ::unity::il2cpp_call!((::unity::module_base()+0x2aee140usize)as*mut u8,bool;
34            )
35        }
36    }
37
38    #[doc = "`IsFound()` overload"]
39    pub fn is_found() -> bool {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x2aee390usize)as*mut u8,bool;
42            )
43        }
44    }
45
46    #[doc = "`Found()` overload"]
47    pub fn found() -> () {
48        unsafe {
49            ::unity::il2cpp_call!((::unity::module_base()+0x2aee4b0usize)as*mut u8,();
50            )
51        }
52    }
53
54    #[doc = "`GetPoint()` overload"]
55    pub fn get_point() -> i32 {
56        unsafe {
57            ::unity::il2cpp_call!((::unity::module_base()+0x2aee270usize)as*mut u8,i32;
58            )
59        }
60    }
61
62    #[doc = "`SetPoint(i32)` overload"]
63    pub fn set_point(point: impl ::core::convert::Into<i32>) -> () {
64        unsafe {
65            ::unity::il2cpp_call!((::unity::module_base()+0x2aee6b0usize)as*mut u8,();
66(i32)::core::convert::Into::into(point))
67        }
68    }
69
70    #[doc = "`get_IgnorePoint()` overload"]
71    pub fn get_ignore_point() -> i32 {
72        unsafe {
73            ::unity::il2cpp_call!((::unity::module_base()+0x2aee8f0usize)as*mut u8,i32;
74            )
75        }
76    }
77
78    #[doc = "`get_TurnLimitPoint()` overload"]
79    pub fn get_turn_limit_point() -> i32 {
80        unsafe {
81            ::unity::il2cpp_call!((::unity::module_base()+0x2aee990usize)as*mut u8,i32;
82            )
83        }
84    }
85
86    #[doc = "`GetLimitPoint()` overload"]
87    pub fn get_limit_point() -> i32 {
88        unsafe {
89            ::unity::il2cpp_call!((::unity::module_base()+0x2aee9e0usize)as*mut u8,i32;
90            )
91        }
92    }
93
94    #[doc = "`SetLimitPoint(i32)` overload"]
95    pub fn set_limit_point(point: impl ::core::convert::Into<i32>) -> () {
96        unsafe {
97            ::unity::il2cpp_call!((::unity::module_base()+0x2aeeb00usize)as*mut u8,();
98(i32)::core::convert::Into::into(point))
99        }
100    }
101
102    #[doc = "`AddPoint(i32)` overload"]
103    pub fn add_point(point: impl ::core::convert::Into<i32>) -> () {
104        unsafe {
105            ::unity::il2cpp_call!((::unity::module_base()+0x2aeed20usize)as*mut u8,();
106(i32)::core::convert::Into::into(point))
107        }
108    }
109
110    #[doc = "`DecPoint(i32)` overload"]
111    pub fn dec_point(point: impl ::core::convert::Into<i32>) -> () {
112        unsafe {
113            ::unity::il2cpp_call!((::unity::module_base()+0x2aeed60usize)as*mut u8,();
114(i32)::core::convert::Into::into(point))
115        }
116    }
117
118    #[doc = "`SetHeadAccName(::unity::Il2CppString)` overload"]
119    pub fn set_head_acc_name(acc_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
120        unsafe {
121            ::unity::il2cpp_call!((::unity::module_base()+0x2aeed90usize)as*mut u8,();
122(::unity::Il2CppString)::core::convert::Into::into(acc_name))
123        }
124    }
125
126    #[doc = "`GetHeadAccName()` overload"]
127    pub fn get_head_acc_name() -> ::unity::Il2CppString {
128        unsafe {
129            ::unity::il2cpp_call!((::unity::module_base()+0x2aeef90usize)as*mut u8, ::unity::Il2CppString;
130            )
131        }
132    }
133
134    #[doc = "`SetTailAccName(::unity::Il2CppString)` overload"]
135    pub fn set_tail_acc_name(acc_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
136        unsafe {
137            ::unity::il2cpp_call!((::unity::module_base()+0x2aef0b0usize)as*mut u8,();
138(::unity::Il2CppString)::core::convert::Into::into(acc_name))
139        }
140    }
141
142    #[doc = "`GetTailAccName()` overload"]
143    pub fn get_tail_acc_name() -> ::unity::Il2CppString {
144        unsafe {
145            ::unity::il2cpp_call!((::unity::module_base()+0x2aef2b0usize)as*mut u8, ::unity::Il2CppString;
146            )
147        }
148    }
149
150    #[doc = "`SetColorIndex(i32)` overload"]
151    pub fn set_color_index(color_index: impl ::core::convert::Into<i32>) -> () {
152        unsafe {
153            ::unity::il2cpp_call!((::unity::module_base()+0x2aef3d0usize)as*mut u8,();
154(i32)::core::convert::Into::into(color_index))
155        }
156    }
157
158    #[doc = "`GetColorIndex()` overload"]
159    pub fn get_color_index() -> i32 {
160        unsafe {
161            ::unity::il2cpp_call!((::unity::module_base()+0x2aef5d0usize)as*mut u8,i32;
162            )
163        }
164    }
165
166    #[doc = "`DoneStrok()` overload"]
167    pub fn done_strok() -> () {
168        unsafe {
169            ::unity::il2cpp_call!((::unity::module_base()+0x2aef6f0usize)as*mut u8,();
170            )
171        }
172    }
173
174    #[doc = "`IsDoneStrok()` overload"]
175    pub fn is_done_strok() -> bool {
176        unsafe {
177            ::unity::il2cpp_call!((::unity::module_base()+0x2aef8f0usize)as*mut u8,bool;
178            )
179        }
180    }
181
182    #[doc = "`DoneEatFood()` overload"]
183    pub fn done_eat_food() -> () {
184        unsafe {
185            ::unity::il2cpp_call!((::unity::module_base()+0x2aefa10usize)as*mut u8,();
186            )
187        }
188    }
189
190    #[doc = "`IsDoneEatFood()` overload"]
191    pub fn is_done_eat_food() -> bool {
192        unsafe {
193            ::unity::il2cpp_call!((::unity::module_base()+0x2aefc10usize)as*mut u8,bool;
194            )
195        }
196    }
197
198    #[doc = "`DoneChangeEquip()` overload"]
199    pub fn done_change_equip() -> () {
200        unsafe {
201            ::unity::il2cpp_call!((::unity::module_base()+0x2aefd30usize)as*mut u8,();
202            )
203        }
204    }
205
206    #[doc = "`IsDoneChangeEquip()` overload"]
207    pub fn is_done_change_equip() -> bool {
208        unsafe {
209            ::unity::il2cpp_call!((::unity::module_base()+0x2aeff30usize)as*mut u8,bool;
210            )
211        }
212    }
213}
214
215#[cfg(feature = "app-hubvariable")]
216pub trait IHubVariable_MascotMethods: IHubVariable_Mascot {
217    #[doc = "`.ctor()` overload"]
218    fn ctor(self) -> () {
219        unsafe {
220            let __receiver = <HubVariable_Mascot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            ::unity::il2cpp_call!((::unity::module_base()+0x2af0050usize)as*mut u8,();
222(HubVariable_Mascot)__receiver)
223        }
224    }
225}
226
227#[cfg(feature = "app-hubvariable")]
228impl<__T: IHubVariable_Mascot> IHubVariable_MascotMethods for __T {}
229
230#[cfg(feature = "app-hubvariable")]
231impl HubVariable_Mascot {
232    pub fn get_can_follow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
233        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
234    }
235
236    pub fn is_found_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
238    }
239
240    pub fn found_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
242    }
243
244    pub fn get_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
246    }
247
248    pub fn set_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
250    }
251
252    pub fn get_ignore_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
254    }
255
256    pub fn get_turn_limit_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
258    }
259
260    pub fn get_limit_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
262    }
263
264    pub fn set_limit_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
266    }
267
268    pub fn add_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
270    }
271
272    pub fn dec_point_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
274    }
275
276    pub fn set_head_acc_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
278    }
279
280    pub fn get_head_acc_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
282    }
283
284    pub fn set_tail_acc_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
286    }
287
288    pub fn get_tail_acc_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
290    }
291
292    pub fn set_color_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
294    }
295
296    pub fn get_color_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
298    }
299
300    pub fn done_strok_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
302    }
303
304    pub fn is_done_strok_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
306    }
307
308    pub fn done_eat_food_method_info() -> &'static ::unity::il2cpp::MethodInfo {
309        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
310    }
311
312    pub fn is_done_eat_food_method_info() -> &'static ::unity::il2cpp::MethodInfo {
313        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
314    }
315
316    pub fn done_change_equip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
317        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
318    }
319
320    pub fn is_done_change_equip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
322    }
323
324    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
326    }
327}
328
329#[cfg(feature = "app-hubvariable")]
330impl HubVariable_Mascot {
331    #[doc = "`.ctor()` — no args"]
332    pub fn new() -> Self {
333        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
334            panic!(
335                "{}
336::{}
337 failed to instantiate",
338                ::core::stringify!(HubVariable_Mascot),
339                ::core::stringify!(new),
340            )
341        });
342        <Self as IHubVariable_MascotMethods>::ctor(this);
343        this
344    }
345}
346
347#[cfg(feature = "app-hubvariable")]
348impl HubVariable {
349    #[doc = "`get_Variable()` overload"]
350    pub fn get_variable() -> crate::app::gamevariable::GameVariable {
351        unsafe {
352            ::unity::il2cpp_call!((::unity::module_base()+0x2a68e60usize)as*mut u8,crate::app::gamevariable::GameVariable;
353            )
354        }
355    }
356
357    #[doc = "`get_RandomKeyName()` overload"]
358    pub fn get_random_key_name() -> ::unity::Il2CppString {
359        unsafe {
360            ::unity::il2cpp_call!((::unity::module_base()+0x2a68ee0usize)as*mut u8, ::unity::Il2CppString;
361            )
362        }
363    }
364
365    #[doc = "`get_RandomItemKeyName()` overload"]
366    pub fn get_random_item_key_name() -> ::unity::Il2CppString {
367        unsafe {
368            ::unity::il2cpp_call!((::unity::module_base()+0x2a68f50usize)as*mut u8, ::unity::Il2CppString;
369            )
370        }
371    }
372
373    #[doc = "`get_TimezoneKeyName()` overload"]
374    pub fn get_timezone_key_name() -> ::unity::Il2CppString {
375        unsafe {
376            ::unity::il2cpp_call!((::unity::module_base()+0x2a68fc0usize)as*mut u8, ::unity::Il2CppString;
377            )
378        }
379    }
380
381    #[doc = "`get_SceneKey()` overload"]
382    pub fn get_scene_key() -> ::unity::Il2CppString {
383        unsafe {
384            ::unity::il2cpp_call!((::unity::module_base()+0x2a69030usize)as*mut u8, ::unity::Il2CppString;
385            )
386        }
387    }
388
389    #[doc = "`get_StartKey()` overload"]
390    pub fn get_start_key() -> ::unity::Il2CppString {
391        unsafe {
392            ::unity::il2cpp_call!((::unity::module_base()+0x2a690a0usize)as*mut u8, ::unity::Il2CppString;
393            )
394        }
395    }
396
397    #[doc = "`get_EnterCountKeyName()` overload"]
398    pub fn get_enter_count_key_name() -> ::unity::Il2CppString {
399        unsafe {
400            ::unity::il2cpp_call!((::unity::module_base()+0x2a69110usize)as*mut u8, ::unity::Il2CppString;
401            )
402        }
403    }
404
405    #[doc = "`get_EnterHubKeyName()` overload"]
406    pub fn get_enter_hub_key_name() -> ::unity::Il2CppString {
407        unsafe {
408            ::unity::il2cpp_call!((::unity::module_base()+0x2a69180usize)as*mut u8, ::unity::Il2CppString;
409            )
410        }
411    }
412
413    #[doc = "`get_MascotPointName()` overload"]
414    pub fn get_mascot_point_name() -> ::unity::Il2CppString {
415        unsafe {
416            ::unity::il2cpp_call!((::unity::module_base()+0x2a691f0usize)as*mut u8, ::unity::Il2CppString;
417            )
418        }
419    }
420
421    #[doc = "`get_MascotLimitPointName()` overload"]
422    pub fn get_mascot_limit_point_name() -> ::unity::Il2CppString {
423        unsafe {
424            ::unity::il2cpp_call!((::unity::module_base()+0x2a69260usize)as*mut u8, ::unity::Il2CppString;
425            )
426        }
427    }
428
429    #[doc = "`get_MascotEquipHeadAcc()` overload"]
430    pub fn get_mascot_equip_head_acc() -> ::unity::Il2CppString {
431        unsafe {
432            ::unity::il2cpp_call!((::unity::module_base()+0x2a692d0usize)as*mut u8, ::unity::Il2CppString;
433            )
434        }
435    }
436
437    #[doc = "`get_MascotEquipTailAcc()` overload"]
438    pub fn get_mascot_equip_tail_acc() -> ::unity::Il2CppString {
439        unsafe {
440            ::unity::il2cpp_call!((::unity::module_base()+0x2a69340usize)as*mut u8, ::unity::Il2CppString;
441            )
442        }
443    }
444
445    #[doc = "`get_MascotColor()` overload"]
446    pub fn get_mascot_color() -> ::unity::Il2CppString {
447        unsafe {
448            ::unity::il2cpp_call!((::unity::module_base()+0x2a693b0usize)as*mut u8, ::unity::Il2CppString;
449            )
450        }
451    }
452
453    #[doc = "`get_MascotFirstFlagName()` overload"]
454    pub fn get_mascot_first_flag_name() -> ::unity::Il2CppString {
455        unsafe {
456            ::unity::il2cpp_call!((::unity::module_base()+0x2a69420usize)as*mut u8, ::unity::Il2CppString;
457            )
458        }
459    }
460
461    #[doc = "`get_MascotDoneStrok()` overload"]
462    pub fn get_mascot_done_strok() -> ::unity::Il2CppString {
463        unsafe {
464            ::unity::il2cpp_call!((::unity::module_base()+0x2a69490usize)as*mut u8, ::unity::Il2CppString;
465            )
466        }
467    }
468
469    #[doc = "`get_MascotDoneEatFood()` overload"]
470    pub fn get_mascot_done_eat_food() -> ::unity::Il2CppString {
471        unsafe {
472            ::unity::il2cpp_call!((::unity::module_base()+0x2a69500usize)as*mut u8, ::unity::Il2CppString;
473            )
474        }
475    }
476
477    #[doc = "`get_MascotDoneChangeEquip()` overload"]
478    pub fn get_mascot_done_change_equip() -> ::unity::Il2CppString {
479        unsafe {
480            ::unity::il2cpp_call!((::unity::module_base()+0x2a69570usize)as*mut u8, ::unity::Il2CppString;
481            )
482        }
483    }
484
485    #[doc = "`get_DragonKingClassChanged()` overload"]
486    pub fn get_dragon_king_class_changed() -> ::unity::Il2CppString {
487        unsafe {
488            ::unity::il2cpp_call!((::unity::module_base()+0x2a695e0usize)as*mut u8, ::unity::Il2CppString;
489            )
490        }
491    }
492
493    #[doc = "`get_PlacedRareAnimalFlagName()` overload"]
494    pub fn get_placed_rare_animal_flag_name() -> ::unity::Il2CppString {
495        unsafe {
496            ::unity::il2cpp_call!((::unity::module_base()+0x2a69650usize)as*mut u8, ::unity::Il2CppString;
497            )
498        }
499    }
500
501    #[doc = "`get_StatueConditionFlagName()` overload"]
502    pub fn get_statue_condition_flag_name() -> ::unity::Il2CppString {
503        unsafe {
504            ::unity::il2cpp_call!((::unity::module_base()+0x2a696c0usize)as*mut u8, ::unity::Il2CppString;
505            )
506        }
507    }
508
509    #[doc = "`get_PromiseRingFlagName()` overload"]
510    pub fn get_promise_ring_flag_name() -> ::unity::Il2CppString {
511        unsafe {
512            ::unity::il2cpp_call!((::unity::module_base()+0x2a69730usize)as*mut u8, ::unity::Il2CppString;
513            )
514        }
515    }
516
517    #[doc = "`get_HasPromiseRing()` overload"]
518    pub fn get_has_promise_ring() -> bool {
519        unsafe {
520            ::unity::il2cpp_call!((::unity::module_base()+0x2a5fea0usize)as*mut u8,bool;
521            )
522        }
523    }
524
525    #[doc = "`set_HasPromiseRing(bool)` overload"]
526    pub fn set_has_promise_ring(value: impl ::core::convert::Into<bool>) -> () {
527        unsafe {
528            ::unity::il2cpp_call!((::unity::module_base()+0x2a697a0usize)as*mut u8,();
529(bool)::core::convert::Into::into(value))
530        }
531    }
532
533    #[doc = "`get_EnterCount()` overload"]
534    pub fn get_enter_count() -> i32 {
535        unsafe {
536            ::unity::il2cpp_call!((::unity::module_base()+0x2a69b30usize)as*mut u8,i32;
537            )
538        }
539    }
540
541    #[doc = "`set_EnterCount(i32)` overload"]
542    pub fn set_enter_count(value: impl ::core::convert::Into<i32>) -> () {
543        unsafe {
544            ::unity::il2cpp_call!((::unity::module_base()+0x2a69ca0usize)as*mut u8,();
545(i32)::core::convert::Into::into(value))
546        }
547    }
548
549    #[doc = "`get_EnterHub()` overload"]
550    pub fn get_enter_hub() -> bool {
551        unsafe {
552            ::unity::il2cpp_call!((::unity::module_base()+0x2a69f00usize)as*mut u8,bool;
553            )
554        }
555    }
556
557    #[doc = "`set_EnterHub(bool)` overload"]
558    pub fn set_enter_hub(value: impl ::core::convert::Into<bool>) -> () {
559        unsafe {
560            ::unity::il2cpp_call!((::unity::module_base()+0x2a6a080usize)as*mut u8,();
561(bool)::core::convert::Into::into(value))
562        }
563    }
564
565    #[doc = "`GetAnimalFlagName(i32)` overload"]
566    pub fn get_animal_flag_name(index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
567        unsafe {
568            ::unity::il2cpp_call!((::unity::module_base()+0x2a62230usize)as*mut u8, ::unity::Il2CppString;
569(i32)::core::convert::Into::into(index))
570        }
571    }
572
573    #[doc = "`GetAnimalItemFlagName(i32)` overload"]
574    pub fn get_animal_item_flag_name(index: impl ::core::convert::Into<i32>) -> ::unity::Il2CppString {
575        unsafe {
576            ::unity::il2cpp_call!((::unity::module_base()+0x2a6a410usize)as*mut u8, ::unity::Il2CppString;
577(i32)::core::convert::Into::into(index))
578        }
579    }
580
581    #[doc = "`CreateGlobalFlags()` overload"]
582    pub fn create_global_flags() -> () {
583        unsafe {
584            ::unity::il2cpp_call!((::unity::module_base()+0x2a6a4a0usize)as*mut u8,();
585            )
586        }
587    }
588
589    #[doc = "`CompletedChapter()` overload"]
590    pub fn completed_chapter() -> () {
591        unsafe {
592            ::unity::il2cpp_call!((::unity::module_base()+0x2a6c690usize)as*mut u8,();
593            )
594        }
595    }
596
597    #[doc = "`SetupScene()` overload"]
598    pub fn setup_scene() -> () {
599        unsafe {
600            ::unity::il2cpp_call!((::unity::module_base()+0x2a6fbc0usize)as*mut u8,();
601            )
602        }
603    }
604
605    #[doc = "`SetTimezone(crate::app::hubutil::HubUtil_TimezoneType)` overload"]
606    pub fn set_timezone(timezone_type: impl ::core::convert::Into<crate::app::hubutil::HubUtil_TimezoneType>) -> () {
607        unsafe {
608            ::unity::il2cpp_call!((::unity::module_base()+0x2a707d0usize)as*mut u8,();
609(crate::app::hubutil::HubUtil_TimezoneType)::core::convert::Into::into(timezone_type))
610        }
611    }
612
613    #[doc = "`SetCurrentScene(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
614    pub fn set_current_scene(
615        scene_name: impl ::core::convert::Into<::unity::Il2CppString>,
616        start: impl ::core::convert::Into<::unity::Il2CppString>,
617    ) -> () {
618        unsafe {
619            ::unity::il2cpp_call!((::unity::module_base()+0x2a70a30usize)as*mut u8,();
620(::unity::Il2CppString)::core::convert::Into::into(scene_name),(::unity::Il2CppString)::core::convert::Into::into(start))
621        }
622    }
623
624    #[doc = "`SetCurrentStartName(::unity::Il2CppString)` overload"]
625    pub fn set_current_start_name(start: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
626        unsafe {
627            ::unity::il2cpp_call!((::unity::module_base()+0x2a70eb0usize)as*mut u8,();
628(::unity::Il2CppString)::core::convert::Into::into(start))
629        }
630    }
631
632    #[doc = "`ClearCurrentStartName()` overload"]
633    pub fn clear_current_start_name() -> () {
634        unsafe {
635            ::unity::il2cpp_call!((::unity::module_base()+0x2a71110usize)as*mut u8,();
636            )
637        }
638    }
639
640    #[doc = "`SetRandomSeed(i32)` overload"]
641    pub fn set_random_seed(seed: impl ::core::convert::Into<i32>) -> () {
642        unsafe {
643            ::unity::il2cpp_call!((::unity::module_base()+0x2a71370usize)as*mut u8,();
644(i32)::core::convert::Into::into(seed))
645        }
646    }
647
648    #[doc = "`GetRandomSeed()` overload"]
649    pub fn get_random_seed() -> i32 {
650        unsafe {
651            ::unity::il2cpp_call!((::unity::module_base()+0x2a715d0usize)as*mut u8,i32;
652            )
653        }
654    }
655
656    #[doc = "`get_StatueCondition()` overload"]
657    pub fn get_statue_condition() -> i32 {
658        unsafe {
659            ::unity::il2cpp_call!((::unity::module_base()+0x2a5ab00usize)as*mut u8,i32;
660            )
661        }
662    }
663
664    #[doc = "`set_StatueCondition(i32)` overload"]
665    pub fn set_statue_condition(value: impl ::core::convert::Into<i32>) -> () {
666        unsafe {
667            ::unity::il2cpp_call!((::unity::module_base()+0x2a6f960usize)as*mut u8,();
668(i32)::core::convert::Into::into(value))
669        }
670    }
671
672    #[doc = "`GetTimezoneType()` overload"]
673    pub fn get_timezone_type() -> crate::app::hubutil::HubUtil_TimezoneType {
674        unsafe {
675            ::unity::il2cpp_call!((::unity::module_base()+0x2a5a030usize)as*mut u8,crate::app::hubutil::HubUtil_TimezoneType;
676            )
677        }
678    }
679
680    #[doc = "`GetCurrentSceneName()` overload"]
681    pub fn get_current_scene_name() -> ::unity::Il2CppString {
682        unsafe {
683            ::unity::il2cpp_call!((::unity::module_base()+0x2a71860usize)as*mut u8, ::unity::Il2CppString;
684            )
685        }
686    }
687
688    #[doc = "`GetCurrentStartName()` overload"]
689    pub fn get_current_start_name() -> ::unity::Il2CppString {
690        unsafe {
691            ::unity::il2cpp_call!((::unity::module_base()+0x2a719d0usize)as*mut u8, ::unity::Il2CppString;
692            )
693        }
694    }
695
696    #[doc = "`GetHubSolanelBgm()` overload"]
697    pub fn get_hub_solanel_bgm() -> ::unity::Il2CppString {
698        unsafe {
699            ::unity::il2cpp_call!((::unity::module_base()+0x2a71b40usize)as*mut u8, ::unity::Il2CppString;
700            )
701        }
702    }
703
704    #[doc = "`SetHubSolanelBgm(::unity::Il2CppString)` overload"]
705    pub fn set_hub_solanel_bgm(event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
706        unsafe {
707            ::unity::il2cpp_call!((::unity::module_base()+0x2a71c70usize)as*mut u8,();
708(::unity::Il2CppString)::core::convert::Into::into(event_name))
709        }
710    }
711
712    #[doc = "`IsAppearedRareAnimal(::unity::Il2CppString)` overload"]
713    pub fn is_appeared_rare_animal(prefixless_cid: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
714        unsafe {
715            ::unity::il2cpp_call!((::unity::module_base()+0x2a71e90usize)as*mut u8,bool;
716(::unity::Il2CppString)::core::convert::Into::into(prefixless_cid))
717        }
718    }
719
720    #[doc = "`SetChapterForDebug()` overload"]
721    pub fn set_chapter_for_debug() -> () {
722        unsafe {
723            ::unity::il2cpp_call!((::unity::module_base()+0x2a72020usize)as*mut u8,();
724            )
725        }
726    }
727
728    #[doc = "`SetupDebug_Option(bool)` overload"]
729    pub fn setup_debug_option(is_done_first_event: impl ::core::convert::Into<bool>) -> () {
730        unsafe {
731            ::unity::il2cpp_call!((::unity::module_base()+0x2a738f0usize)as*mut u8,();
732(bool)::core::convert::Into::into(is_done_first_event))
733        }
734    }
735
736    #[doc = "`SetupDebug_MiniGame()` overload"]
737    pub fn setup_debug_mini_game() -> () {
738        unsafe {
739            ::unity::il2cpp_call!((::unity::module_base()+0x2a73900usize)as*mut u8,();
740            )
741        }
742    }
743
744    #[doc = "`.cctor()` overload"]
745    pub fn cctor() -> () {
746        unsafe {
747            ::unity::il2cpp_call!((::unity::module_base()+0x2a74160usize)as*mut u8,();
748            )
749        }
750    }
751}
752
753#[cfg(feature = "app-hubvariable")]
754pub trait IHubVariableMethods: IHubVariable {
755    #[doc = "`.ctor()` overload"]
756    fn ctor(self) -> () {
757        unsafe {
758            let __receiver = <HubVariable as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
759            ::unity::il2cpp_call!((::unity::module_base()+0x2a74150usize)as*mut u8,();
760(HubVariable)__receiver)
761        }
762    }
763}
764
765#[cfg(feature = "app-hubvariable")]
766impl<__T: IHubVariable> IHubVariableMethods for __T {}
767
768#[cfg(feature = "app-hubvariable")]
769impl HubVariable {
770    pub fn get_variable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
771        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
772    }
773
774    pub fn get_random_key_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
775        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
776    }
777
778    pub fn get_random_item_key_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
779        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
780    }
781
782    pub fn get_timezone_key_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
783        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
784    }
785
786    pub fn get_scene_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
787        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
788    }
789
790    pub fn get_start_key_method_info() -> &'static ::unity::il2cpp::MethodInfo {
791        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
792    }
793
794    pub fn get_enter_count_key_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
795        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
796    }
797
798    pub fn get_enter_hub_key_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
799        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
800    }
801
802    pub fn get_mascot_point_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
803        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
804    }
805
806    pub fn get_mascot_limit_point_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
807        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
808    }
809
810    pub fn get_mascot_equip_head_acc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
811        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
812    }
813
814    pub fn get_mascot_equip_tail_acc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
815        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
816    }
817
818    pub fn get_mascot_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
819        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
820    }
821
822    pub fn get_mascot_first_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
823        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
824    }
825
826    pub fn get_mascot_done_strok_method_info() -> &'static ::unity::il2cpp::MethodInfo {
827        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
828    }
829
830    pub fn get_mascot_done_eat_food_method_info() -> &'static ::unity::il2cpp::MethodInfo {
831        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
832    }
833
834    pub fn get_mascot_done_change_equip_method_info() -> &'static ::unity::il2cpp::MethodInfo {
835        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
836    }
837
838    pub fn get_dragon_king_class_changed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
839        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
840    }
841
842    pub fn get_placed_rare_animal_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
843        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
844    }
845
846    pub fn get_statue_condition_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
847        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
848    }
849
850    pub fn get_promise_ring_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
851        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
852    }
853
854    pub fn get_has_promise_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
855        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
856    }
857
858    pub fn set_has_promise_ring_method_info() -> &'static ::unity::il2cpp::MethodInfo {
859        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
860    }
861
862    pub fn get_enter_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
863        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
864    }
865
866    pub fn set_enter_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
867        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
868    }
869
870    pub fn get_enter_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
871        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
872    }
873
874    pub fn set_enter_hub_method_info() -> &'static ::unity::il2cpp::MethodInfo {
875        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
876    }
877
878    pub fn get_animal_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
879        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
880    }
881
882    pub fn get_animal_item_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
883        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
884    }
885
886    pub fn create_global_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
887        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
888    }
889
890    pub fn completed_chapter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
891        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
892    }
893
894    pub fn setup_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
895        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
896    }
897
898    pub fn set_timezone_method_info() -> &'static ::unity::il2cpp::MethodInfo {
899        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
900    }
901
902    pub fn set_current_scene_method_info() -> &'static ::unity::il2cpp::MethodInfo {
903        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
904    }
905
906    pub fn set_current_start_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
907        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
908    }
909
910    pub fn clear_current_start_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
911        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
912    }
913
914    pub fn set_random_seed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
915        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
916    }
917
918    pub fn get_random_seed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
919        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
920    }
921
922    pub fn get_statue_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
923        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
924    }
925
926    pub fn set_statue_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
927        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
928    }
929
930    pub fn get_timezone_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
931        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
932    }
933
934    pub fn get_current_scene_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
935        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
936    }
937
938    pub fn get_current_start_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
939        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
940    }
941
942    pub fn get_hub_solanel_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
943        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
944    }
945
946    pub fn set_hub_solanel_bgm_method_info() -> &'static ::unity::il2cpp::MethodInfo {
947        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
948    }
949
950    pub fn is_appeared_rare_animal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
951        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
952    }
953
954    pub fn set_chapter_for_debug_method_info() -> &'static ::unity::il2cpp::MethodInfo {
955        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
956    }
957
958    pub fn setup_debug_option_method_info() -> &'static ::unity::il2cpp::MethodInfo {
959        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
960    }
961
962    pub fn setup_debug_mini_game_method_info() -> &'static ::unity::il2cpp::MethodInfo {
963        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
964    }
965
966    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
967        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
968    }
969
970    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
971        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
972    }
973}
974
975#[cfg(feature = "app-hubvariable")]
976impl HubVariable {
977    #[doc = "`.ctor()` — no args"]
978    pub fn new() -> Self {
979        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
980            panic!(
981                "{}
982::{}
983 failed to instantiate",
984                ::core::stringify!(HubVariable),
985                ::core::stringify!(new),
986            )
987        });
988        <Self as IHubVariableMethods>::ctor(this);
989        this
990    }
991}
992
993#[cfg(feature = "app-hubvariable")]
994#[doc(hidden)]
995pub mod prelude {
996    pub use super::{HubVariable, HubVariable_Mascot, IHubVariable, IHubVariableMethods, IHubVariable_Mascot, IHubVariable_MascotMethods};
997    pub use crate::system::object::IObject;
998    #[cfg(feature = "system-object")]
999    pub use crate::system::object::IObjectMethods;
1000}