Skip to main content

engage/generated/app/
mapsequencerevive.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapsequencerevive-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/mapsequencerevive/MapSequenceRevive.md"))]
18    #[::unity::class(namespace = "App", name = "MapSequenceRevive")]
19    #[parent(crate::app::procinst::ProcInst)]
20    pub struct MapSequenceRevive {
21        #[offset(112)]
22        #[rename(name = "m_Units")]
23        pub m_units: crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>,
24        #[offset(120)]
25        #[rename(name = "m_Index")]
26        pub m_index: i32,
27    }
28
29    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapsequencerevive/MapSequenceRevive_Label.md"))]
30    #[repr(C)]
31    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
32    pub struct MapSequenceRevive_Label {
33        pub value: i32,
34    }
35    impl ::unity::ClassIdentity for MapSequenceRevive_Label {
36        const NAME: &'static str = "MapSequenceRevive.Label";
37        const NAMESPACE: &'static str = "App";
38
39        fn class() -> ::unity::Class {
40            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
41            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
42        }
43    }
44    impl ::unity::IlType for MapSequenceRevive_Label {
45        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
46            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
47        }
48    }
49    impl MapSequenceRevive_Label {
50        pub fn revive() -> Self {
51            Self { value: 0 }
52        }
53    }
54}
55
56#[cfg(feature = "app-mapsequencerevive-types")]
57pub use __types::*;
58
59#[cfg(feature = "app-mapsequencerevive")]
60impl MapSequenceRevive {
61    #[doc = "`CreateBindAfterBattle(crate::app::procinst::ProcInst, crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)` overload"]
62    pub fn create_bind_after_battle(
63        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
64        dead_units: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>>,
65    ) -> () {
66        unsafe {
67            ::unity::il2cpp_call!((::unity::module_base()+0x1f341f0usize)as*mut u8,();
68(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)::core::convert::Into::into(dead_units))
69        }
70    }
71
72    #[doc = "`CreateBindTurnBegin(crate::app::procinst::ProcInst)` overload"]
73    pub fn create_bind_turn_begin(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
74        unsafe {
75            ::unity::il2cpp_call!((::unity::module_base()+0x1f34af0usize)as*mut u8,();
76(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
77        }
78    }
79
80    #[doc = "`CreateBindDeadEvent(crate::app::procinst::ProcInst, crate::app::unit::Unit)` overload"]
81    pub fn create_bind_dead_event(
82        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
83        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
84    ) -> () {
85        unsafe {
86            ::unity::il2cpp_call!((::unity::module_base()+0x1f34cc0usize)as*mut u8,();
87(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(unit))
88        }
89    }
90
91    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)` overload"]
92    pub fn create_bind(
93        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
94        units: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>>,
95    ) -> () {
96        unsafe {
97            ::unity::il2cpp_call!((::unity::module_base()+0x1f343b0usize)as*mut u8,();
98(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)::core::convert::Into::into(units))
99        }
100    }
101
102    #[doc = "`IsTimingTurnBegin(crate::app::unit::Unit)` overload"]
103    pub fn is_timing_turn_begin(unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
104        unsafe {
105            ::unity::il2cpp_call!((::unity::module_base()+0x1f343a0usize)as*mut u8,bool;
106(crate::app::unit::Unit)::core::convert::Into::into(unit))
107        }
108    }
109}
110
111#[cfg(feature = "app-mapsequencerevive")]
112pub trait IMapSequenceReviveMethods: IMapSequenceRevive {
113    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)` overload"]
114    fn ctor(self, units: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>>) -> () {
115        unsafe {
116            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            ::unity::il2cpp_call!((::unity::module_base()+0x1f33420usize)as*mut u8,();
118(MapSequenceRevive)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)::core::convert::Into::into(units))
119        }
120    }
121    #[doc = "`get_Current()` overload"]
122    fn get_current(self) -> crate::app::unit::Unit {
123        unsafe {
124            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
125            ::unity::il2cpp_call!((::unity::module_base()+0x1f33460usize)as*mut u8,crate::app::unit::Unit;
126(MapSequenceRevive)__receiver)
127        }
128    }
129    #[doc = "`Focus()` overload"]
130    fn focus(self) -> () {
131        unsafe {
132            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133            ::unity::il2cpp_call!((::unity::module_base()+0x1f334d0usize)as*mut u8,();
134(MapSequenceRevive)__receiver)
135        }
136    }
137    #[doc = "`ReviveBefre()` overload"]
138    fn revive_befre(self) -> () {
139        unsafe {
140            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            ::unity::il2cpp_call!((::unity::module_base()+0x1f33680usize)as*mut u8,();
142(MapSequenceRevive)__receiver)
143        }
144    }
145    #[doc = "`ControlHpStock()` overload"]
146    fn control_hp_stock(self) -> () {
147        unsafe {
148            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149            ::unity::il2cpp_call!((::unity::module_base()+0x1f33700usize)as*mut u8,();
150(MapSequenceRevive)__receiver)
151        }
152    }
153    #[doc = "`ReviveExec()` overload"]
154    fn revive_exec(self) -> () {
155        unsafe {
156            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157            ::unity::il2cpp_call!((::unity::module_base()+0x1f33780usize)as*mut u8,();
158(MapSequenceRevive)__receiver)
159        }
160    }
161    #[doc = "`ReviveWait()` overload"]
162    fn revive_wait(self) -> () {
163        unsafe {
164            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165            ::unity::il2cpp_call!((::unity::module_base()+0x1f33bb0usize)as*mut u8,();
166(MapSequenceRevive)__receiver)
167        }
168    }
169    #[doc = "`HideHpStock()` overload"]
170    fn hide_hp_stock(self) -> () {
171        unsafe {
172            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173            ::unity::il2cpp_call!((::unity::module_base()+0x1f33c50usize)as*mut u8,();
174(MapSequenceRevive)__receiver)
175        }
176    }
177    #[doc = "`PlayHpStockEffect()` overload"]
178    fn play_hp_stock_effect(self) -> () {
179        unsafe {
180            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181            ::unity::il2cpp_call!((::unity::module_base()+0x1f33d30usize)as*mut u8,();
182(MapSequenceRevive)__receiver)
183        }
184    }
185    #[doc = "`IsPlayingHpStockBreakEffect()` overload"]
186    fn is_playing_hp_stock_break_effect(self) -> bool {
187        unsafe {
188            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
189            ::unity::il2cpp_call!((::unity::module_base()+0x1f33e00usize)as*mut u8,bool;
190(MapSequenceRevive)__receiver)
191        }
192    }
193    #[doc = "`ShowHpStock()` overload"]
194    fn show_hp_stock(self) -> () {
195        unsafe {
196            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
197            ::unity::il2cpp_call!((::unity::module_base()+0x1f33e70usize)as*mut u8,();
198(MapSequenceRevive)__receiver)
199        }
200    }
201    #[doc = "`ReleaseHpStock()` overload"]
202    fn release_hp_stock(self) -> () {
203        unsafe {
204            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
205            ::unity::il2cpp_call!((::unity::module_base()+0x1f33f60usize)as*mut u8,();
206(MapSequenceRevive)__receiver)
207        }
208    }
209    #[doc = "`ReviveAfter()` overload"]
210    fn revive_after(self) -> () {
211        unsafe {
212            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
213            ::unity::il2cpp_call!((::unity::module_base()+0x1f33fe0usize)as*mut u8,();
214(MapSequenceRevive)__receiver)
215        }
216    }
217    #[doc = "`IsNext()` overload"]
218    fn is_next(self) -> bool {
219        unsafe {
220            let __receiver = <MapSequenceRevive as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
221            ::unity::il2cpp_call!((::unity::module_base()+0x1f341a0usize)as*mut u8,bool;
222(MapSequenceRevive)__receiver)
223        }
224    }
225}
226
227#[cfg(feature = "app-mapsequencerevive")]
228impl<__T: IMapSequenceRevive> IMapSequenceReviveMethods for __T {}
229
230#[cfg(feature = "app-mapsequencerevive")]
231impl MapSequenceRevive {
232    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
233        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
234    }
235
236    pub fn get_current_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
238    }
239
240    pub fn focus_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
242    }
243
244    pub fn revive_befre_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
246    }
247
248    pub fn control_hp_stock_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
250    }
251
252    pub fn revive_exec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
254    }
255
256    pub fn revive_wait_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
258    }
259
260    pub fn hide_hp_stock_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
262    }
263
264    pub fn play_hp_stock_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
266    }
267
268    pub fn is_playing_hp_stock_break_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
270    }
271
272    pub fn show_hp_stock_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
274    }
275
276    pub fn release_hp_stock_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
278    }
279
280    pub fn revive_after_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
282    }
283
284    pub fn is_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
286    }
287
288    pub fn create_bind_after_battle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
290    }
291
292    pub fn create_bind_turn_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
294    }
295
296    pub fn create_bind_dead_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
298    }
299
300    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
302    }
303
304    pub fn is_timing_turn_begin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
306    }
307}
308
309#[cfg(feature = "app-mapsequencerevive")]
310impl MapSequenceRevive {
311    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>)` — overload selector"]
312    pub fn new(units: crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>) -> Self {
313        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
314            panic!(
315                "{}
316::{}
317 failed to instantiate",
318                ::core::stringify!(MapSequenceRevive),
319                ::core::stringify!(new),
320            )
321        });
322        <Self as IMapSequenceReviveMethods>::ctor(this, units);
323        this
324    }
325}
326
327#[cfg(feature = "app-mapsequencerevive")]
328#[doc(hidden)]
329pub mod prelude {
330    pub use super::{IMapSequenceRevive, IMapSequenceReviveMethods, MapSequenceRevive, MapSequenceRevive_Label};
331    #[cfg(feature = "app-procinst")]
332    pub use crate::app::procinst::IProcInstMethods;
333    #[cfg(feature = "system-object")]
334    pub use crate::system::object::IObjectMethods;
335    #[cfg(feature = "system-enum")]
336    pub use crate::system::r#enum::IEnumMethods;
337    #[cfg(feature = "system-valuetype")]
338    pub use crate::system::valuetype::IValueTypeMethods;
339    pub use crate::{
340        app::procinst::IProcInst,
341        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
342    };
343}