Skip to main content

engage/generated/app/
refreshsequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-refreshsequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::procinst::{IProcInst, ProcInst},
10        system::{
11            object::{IObject, Object},
12            r#enum::{Enum, IEnum},
13            valuetype::{IValueType, ValueType},
14        },
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refreshsequence/RefreshSequence_Label.md"))]
18    #[repr(C)]
19    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
20    pub struct RefreshSequence_Label {
21        pub value: i32,
22    }
23    impl ::unity::ClassIdentity for RefreshSequence_Label {
24        const NAME: &'static str = "RefreshSequence.Label";
25        const NAMESPACE: &'static str = "App";
26
27        fn class() -> ::unity::Class {
28            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30        }
31    }
32    impl ::unity::IlType for RefreshSequence_Label {
33        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35        }
36    }
37    impl RefreshSequence_Label {
38        pub fn entry() -> Self {
39            Self { value: 0 }
40        }
41
42        pub fn load_resources() -> Self {
43            Self { value: 1 }
44        }
45
46        pub fn create_root() -> Self {
47            Self { value: 2 }
48        }
49
50        pub fn facility_select() -> Self {
51            Self { value: 3 }
52        }
53
54        pub fn check_visited() -> Self {
55            Self { value: 4 }
56        }
57
58        pub fn unit_set() -> Self {
59            Self { value: 5 }
60        }
61
62        pub fn unit_select() -> Self {
63            Self { value: 6 }
64        }
65
66        pub fn confirm() -> Self {
67            Self { value: 7 }
68        }
69
70        pub fn demo() -> Self {
71            Self { value: 8 }
72        }
73
74        pub fn result() -> Self {
75            Self { value: 9 }
76        }
77
78        pub fn end() -> Self {
79            Self { value: 10 }
80        }
81    }
82
83    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refreshsequence/RefreshSequence.md"))]
84    #[::unity::class(namespace = "App", name = "RefreshSequence")]
85    #[parent(crate::app::procinst::ProcInst)]
86    pub struct RefreshSequence {
87        #[static_field]
88        #[rename(name = "m_RelianceExpParamName")]
89        pub m_reliance_exp_param_name: ::unity::Il2CppString,
90        #[offset(112)]
91        #[rename(name = "m_RefreshUnitSelectRoot")]
92        pub m_refresh_unit_select_root: crate::app::refreshunitselectroot::RefreshUnitSelectRoot,
93        #[offset(120)]
94        #[rename(name = "m_FacilityAid")]
95        pub m_facility_aid: ::unity::Il2CppString,
96        #[offset(128)]
97        #[rename(name = "m_EnteredFromFacility")]
98        pub m_entered_from_facility: bool,
99        #[offset(136)]
100        #[rename(name = "m_Unit")]
101        pub m_unit: ::unity::Array<crate::app::unit::Unit>,
102        #[offset(144)]
103        #[rename(name = "m_UnitIndex")]
104        pub m_unit_index: i32,
105        #[offset(160)]
106        #[rename(name = "m_AddedRelianceExp")]
107        pub m_added_reliance_exp: bool,
108        #[offset(168)]
109        #[rename(name = "m_UnitSetMenu")]
110        pub m_unit_set_menu: crate::app::refreshunitsetmenu::RefreshUnitSetMenu,
111        #[offset(176)]
112        #[rename(name = "m_UnitSetMenuResult")]
113        pub m_unit_set_menu_result: crate::app::refreshunitsetmenu::RefreshUnitSetMenu_Result2,
114        #[offset(180)]
115        #[rename(name = "m_ConfirmDialogResult")]
116        pub m_confirm_dialog_result: crate::app::refreshconfirmdialog::RefreshConfirmDialog_Result2,
117        #[offset(184)]
118        #[rename(name = "m_UnitSelectMenuScrollIndex")]
119        pub m_unit_select_menu_scroll_index: i32,
120    }
121}
122
123#[cfg(feature = "app-refreshsequence-types")]
124pub use __types::*;
125
126#[cfg(feature = "app-refreshsequence")]
127impl RefreshSequence {
128    #[doc = "`CreateBind(crate::app::procinst::ProcInst, ::unity::Il2CppString)` overload"]
129    pub fn create_bind(
130        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
131        aid: impl ::core::convert::Into<::unity::Il2CppString>,
132    ) -> () {
133        unsafe {
134            ::unity::il2cpp_call!((::unity::module_base()+0x22bc190usize)as*mut u8,();
135(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Il2CppString)::core::convert::Into::into(aid))
136        }
137    }
138
139    #[doc = "`.cctor()` overload"]
140    pub fn cctor() -> () {
141        unsafe {
142            ::unity::il2cpp_call!((::unity::module_base()+0x22c0bd0usize)as*mut u8,();
143            )
144        }
145    }
146}
147
148#[cfg(feature = "app-refreshsequence")]
149pub trait IRefreshSequenceMethods: IRefreshSequence {
150    #[doc = "`.ctor(::unity::Il2CppString)` overload"]
151    fn ctor(self, aid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
152        unsafe {
153            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154            ::unity::il2cpp_call!((::unity::module_base()+0x22bc360usize)as*mut u8,();
155(RefreshSequence)__receiver,(::unity::Il2CppString)::core::convert::Into::into(aid))
156        }
157    }
158    #[doc = "`CreateDesc()` overload"]
159    fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
160        unsafe {
161            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162            ::unity::il2cpp_call!((::unity::module_base()+0x22bc6a0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
163(RefreshSequence)__receiver)
164        }
165    }
166    #[doc = "`HadVisited()` overload"]
167    fn had_visited(self) -> bool {
168        unsafe {
169            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170            ::unity::il2cpp_call!((::unity::module_base()+0x22bd4a0usize)as*mut u8,bool;
171(RefreshSequence)__receiver)
172        }
173    }
174    #[doc = "`ShowAlreadyVisitedDialog()` overload"]
175    fn show_already_visited_dialog(self) -> () {
176        unsafe {
177            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
178            ::unity::il2cpp_call!((::unity::module_base()+0x22bd510usize)as*mut u8,();
179(RefreshSequence)__receiver)
180        }
181    }
182    #[doc = "`LoadResources()` overload"]
183    fn load_resources(self) -> () {
184        unsafe {
185            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
186            ::unity::il2cpp_call!((::unity::module_base()+0x22bd5a0usize)as*mut u8,();
187(RefreshSequence)__receiver)
188        }
189    }
190    #[doc = "`IsLoadingResources()` overload"]
191    fn is_loading_resources(self) -> bool {
192        unsafe {
193            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
194            ::unity::il2cpp_call!((::unity::module_base()+0x22bd6e0usize)as*mut u8,bool;
195(RefreshSequence)__receiver)
196        }
197    }
198    #[doc = "`StartSequence()` overload"]
199    fn start_sequence(self) -> () {
200        unsafe {
201            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202            ::unity::il2cpp_call!((::unity::module_base()+0x22bd7e0usize)as*mut u8,();
203(RefreshSequence)__receiver)
204        }
205    }
206    #[doc = "`CreateUnitSelectRoot()` overload"]
207    fn create_unit_select_root(self) -> () {
208        unsafe {
209            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210            ::unity::il2cpp_call!((::unity::module_base()+0x22bdc50usize)as*mut u8,();
211(RefreshSequence)__receiver)
212        }
213    }
214    #[doc = "`CreateFacilitySelectMenu()` overload"]
215    fn create_facility_select_menu(self) -> () {
216        unsafe {
217            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
218            ::unity::il2cpp_call!((::unity::module_base()+0x22be480usize)as*mut u8,();
219(RefreshSequence)__receiver)
220        }
221    }
222    #[doc = "`CreateUnitSet()` overload"]
223    fn create_unit_set(self) -> () {
224        unsafe {
225            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
226            ::unity::il2cpp_call!((::unity::module_base()+0x22be900usize)as*mut u8,();
227(RefreshSequence)__receiver)
228        }
229    }
230    #[doc = "`CreateUnitSelect()` overload"]
231    fn create_unit_select(self) -> () {
232        unsafe {
233            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234            ::unity::il2cpp_call!((::unity::module_base()+0x22bf6c0usize)as*mut u8,();
235(RefreshSequence)__receiver)
236        }
237    }
238    #[doc = "`ShowConfirmDialog()` overload"]
239    fn show_confirm_dialog(self) -> () {
240        unsafe {
241            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
242            ::unity::il2cpp_call!((::unity::module_base()+0x22bfcc0usize)as*mut u8,();
243(RefreshSequence)__receiver)
244        }
245    }
246    #[doc = "`CloseUnitSelectRoot()` overload"]
247    fn close_unit_select_root(self) -> () {
248        unsafe {
249            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
250            ::unity::il2cpp_call!((::unity::module_base()+0x22bfe10usize)as*mut u8,();
251(RefreshSequence)__receiver)
252        }
253    }
254    #[doc = "`IsClosedUnitSelectRoot()` overload"]
255    fn is_closed_unit_select_root(self) -> bool {
256        unsafe {
257            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
258            ::unity::il2cpp_call!((::unity::module_base()+0x22c00c0usize)as*mut u8,bool;
259(RefreshSequence)__receiver)
260        }
261    }
262    #[doc = "`DestroyUnitSelectRoot()` overload"]
263    fn destroy_unit_select_root(self) -> () {
264        unsafe {
265            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
266            ::unity::il2cpp_call!((::unity::module_base()+0x22c0220usize)as*mut u8,();
267(RefreshSequence)__receiver)
268        }
269    }
270    #[doc = "`CalcReliance()` overload"]
271    fn calc_reliance(self) -> () {
272        unsafe {
273            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
274            ::unity::il2cpp_call!((::unity::module_base()+0x22c0340usize)as*mut u8,();
275(RefreshSequence)__receiver)
276        }
277    }
278    #[doc = "`CreateDemo()` overload"]
279    fn create_demo(self) -> () {
280        unsafe {
281            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
282            ::unity::il2cpp_call!((::unity::module_base()+0x22c0630usize)as*mut u8,();
283(RefreshSequence)__receiver)
284        }
285    }
286    #[doc = "`ShowResultDialog()` overload"]
287    fn show_result_dialog(self) -> () {
288        unsafe {
289            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
290            ::unity::il2cpp_call!((::unity::module_base()+0x22c0740usize)as*mut u8,();
291(RefreshSequence)__receiver)
292        }
293    }
294    #[doc = "`EndSequence()` overload"]
295    fn end_sequence(self) -> () {
296        unsafe {
297            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
298            ::unity::il2cpp_call!((::unity::module_base()+0x22c0990usize)as*mut u8,();
299(RefreshSequence)__receiver)
300        }
301    }
302    #[doc = "`UnloadResources()` overload"]
303    fn unload_resources(self) -> () {
304        unsafe {
305            let __receiver = <RefreshSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306            ::unity::il2cpp_call!((::unity::module_base()+0x22c0ad0usize)as*mut u8,();
307(RefreshSequence)__receiver)
308        }
309    }
310}
311
312#[cfg(feature = "app-refreshsequence")]
313impl<__T: IRefreshSequence> IRefreshSequenceMethods for __T {}
314
315#[cfg(feature = "app-refreshsequence")]
316impl RefreshSequence {
317    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
318        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
319    }
320
321    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
322        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
323    }
324
325    pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
326        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
327    }
328
329    pub fn had_visited_method_info() -> &'static ::unity::il2cpp::MethodInfo {
330        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
331    }
332
333    pub fn show_already_visited_dialog_method_info() -> &'static ::unity::il2cpp::MethodInfo {
334        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
335    }
336
337    pub fn load_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
338        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
339    }
340
341    pub fn is_loading_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
342        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
343    }
344
345    pub fn start_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
346        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
347    }
348
349    pub fn create_unit_select_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
350        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
351    }
352
353    pub fn create_facility_select_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
354        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
355    }
356
357    pub fn create_unit_set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
358        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
359    }
360
361    pub fn create_unit_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
362        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
363    }
364
365    pub fn show_confirm_dialog_method_info() -> &'static ::unity::il2cpp::MethodInfo {
366        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
367    }
368
369    pub fn close_unit_select_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
371    }
372
373    pub fn is_closed_unit_select_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
375    }
376
377    pub fn destroy_unit_select_root_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
379    }
380
381    pub fn calc_reliance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
383    }
384
385    pub fn create_demo_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
387    }
388
389    pub fn show_result_dialog_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
391    }
392
393    pub fn end_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
395    }
396
397    pub fn unload_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
399    }
400
401    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
403    }
404}
405
406#[cfg(feature = "app-refreshsequence")]
407impl RefreshSequence {
408    #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
409    pub fn new(aid: ::unity::Il2CppString) -> Self {
410        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
411            panic!(
412                "{}
413::{}
414 failed to instantiate",
415                ::core::stringify!(RefreshSequence),
416                ::core::stringify!(new),
417            )
418        });
419        <Self as IRefreshSequenceMethods>::ctor(this, aid);
420        this
421    }
422}
423
424#[cfg(feature = "app-refreshsequence")]
425#[doc(hidden)]
426pub mod prelude {
427    pub use super::{IRefreshSequence, IRefreshSequenceMethods, RefreshSequence, RefreshSequence_Label};
428    #[cfg(feature = "app-procinst")]
429    pub use crate::app::procinst::IProcInstMethods;
430    #[cfg(feature = "system-object")]
431    pub use crate::system::object::IObjectMethods;
432    #[cfg(feature = "system-enum")]
433    pub use crate::system::r#enum::IEnumMethods;
434    #[cfg(feature = "system-valuetype")]
435    pub use crate::system::valuetype::IValueTypeMethods;
436    pub use crate::{
437        app::procinst::IProcInst,
438        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
439    };
440}