Skip to main content

engage/generated/app/
skillinheritancesequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-skillinheritancesequence-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/skillinheritancesequence/SkillInheritanceSequence.md"))]
18    #[::unity::class(namespace = "App", name = "SkillInheritanceSequence")]
19    #[parent(crate::app::procinst::ProcInst)]
20    pub struct SkillInheritanceSequence {}
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/skillinheritancesequence/SkillInheritanceSequence_Label2.md"))]
23    #[repr(C)]
24    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
25    pub struct SkillInheritanceSequence_Label2 {
26        pub value: i32,
27    }
28    impl ::unity::ClassIdentity for SkillInheritanceSequence_Label2 {
29        const NAME: &'static str = "SkillInheritanceSequence.Label2";
30        const NAMESPACE: &'static str = "App";
31
32        fn class() -> ::unity::Class {
33            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
34            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
35        }
36    }
37    impl ::unity::IlType for SkillInheritanceSequence_Label2 {
38        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
39            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
40        }
41    }
42    impl SkillInheritanceSequence_Label2 {
43        pub fn entry() -> Self {
44            Self { value: 0 }
45        }
46
47        pub fn unit_select() -> Self {
48            Self { value: 1 }
49        }
50
51        pub fn skill_select() -> Self {
52            Self { value: 2 }
53        }
54
55        pub fn end() -> Self {
56            Self { value: 3 }
57        }
58    }
59}
60
61#[cfg(feature = "app-skillinheritancesequence-types")]
62pub use __types::*;
63
64#[cfg(feature = "app-skillinheritancesequence")]
65impl SkillInheritanceSequence {
66    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
67    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
68        unsafe {
69            ::unity::il2cpp_call!((::unity::module_base()+0x24a7910usize)as*mut u8,();
70(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
71        }
72    }
73}
74
75#[cfg(feature = "app-skillinheritancesequence")]
76pub trait ISkillInheritanceSequenceMethods: ISkillInheritanceSequence {
77    #[doc = "`.ctor()` overload"]
78    fn ctor(self) -> () {
79        unsafe {
80            let __receiver =
81                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            ::unity::il2cpp_call!((::unity::module_base()+0x24a7a20usize)as*mut u8,();
83(SkillInheritanceSequence)__receiver)
84        }
85    }
86    #[doc = "`CreateDesc()` overload"]
87    fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
88        unsafe {
89            let __receiver =
90                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x24a7a30usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
92(SkillInheritanceSequence)__receiver)
93        }
94    }
95    #[doc = "`LoadResources()` overload"]
96    fn load_resources(self) -> () {
97        unsafe {
98            let __receiver =
99                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
100            ::unity::il2cpp_call!((::unity::module_base()+0x24a8280usize)as*mut u8,();
101(SkillInheritanceSequence)__receiver)
102        }
103    }
104    #[doc = "`IsLoadingResources()` overload"]
105    fn is_loading_resources(self) -> bool {
106        unsafe {
107            let __receiver =
108                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x24a8320usize)as*mut u8,bool;
110(SkillInheritanceSequence)__receiver)
111        }
112    }
113    #[doc = "`CreateUnitSelectMenu()` overload"]
114    fn create_unit_select_menu(self) -> () {
115        unsafe {
116            let __receiver =
117                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x24a83c0usize)as*mut u8,();
119(SkillInheritanceSequence)__receiver)
120        }
121    }
122    #[doc = "`CreateSkillInheritanceMenu()` overload"]
123    fn create_skill_inheritance_menu(self) -> () {
124        unsafe {
125            let __receiver =
126                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x24a85b0usize)as*mut u8,();
128(SkillInheritanceSequence)__receiver)
129        }
130    }
131    #[doc = "`InheritanceStart()` overload"]
132    fn inheritance_start(self) -> () {
133        unsafe {
134            let __receiver =
135                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x24a87c0usize)as*mut u8,();
137(SkillInheritanceSequence)__receiver)
138        }
139    }
140    #[doc = "`InheritanceEnd()` overload"]
141    fn inheritance_end(self) -> () {
142        unsafe {
143            let __receiver =
144                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x24a8830usize)as*mut u8,();
146(SkillInheritanceSequence)__receiver)
147        }
148    }
149    #[doc = "`StartSequence()` overload"]
150    fn start_sequence(self) -> () {
151        unsafe {
152            let __receiver =
153                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154            ::unity::il2cpp_call!((::unity::module_base()+0x24a88c0usize)as*mut u8,();
155(SkillInheritanceSequence)__receiver)
156        }
157    }
158    #[doc = "`EndSequence()` overload"]
159    fn end_sequence(self) -> () {
160        unsafe {
161            let __receiver =
162                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x24a8930usize)as*mut u8,();
164(SkillInheritanceSequence)__receiver)
165        }
166    }
167    #[doc = "`get_SelectUnit()` overload"]
168    fn get_select_unit(self) -> crate::app::unit::Unit {
169        unsafe {
170            let __receiver =
171                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
172            ::unity::il2cpp_call!((::unity::module_base()+0x24a8c60usize)as*mut u8,crate::app::unit::Unit;
173(SkillInheritanceSequence)__receiver)
174        }
175    }
176    #[doc = "`set_SelectUnit(crate::app::unit::Unit)` overload"]
177    fn set_select_unit(self, value: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
178        unsafe {
179            let __receiver =
180                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181            ::unity::il2cpp_call!((::unity::module_base()+0x24a8c70usize)as*mut u8,();
182(SkillInheritanceSequence)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(value))
183        }
184    }
185    #[doc = "`get_SelectUnitGodList()` overload"]
186    fn get_select_unit_god_list(self) -> crate::system::collections::generic::list_1::List_1<crate::app::godunit::GodUnit> {
187        unsafe {
188            let __receiver =
189                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190            ::unity::il2cpp_call!((::unity::module_base()+0x24a8c80usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::godunit::GodUnit> ;
191(SkillInheritanceSequence)__receiver)
192        }
193    }
194    #[doc = "`set_SelectUnitGodList(crate::system::collections::generic::list_1::List_1<crate::app::godunit::GodUnit>)` overload"]
195    fn set_select_unit_god_list(
196        self,
197        value: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::godunit::GodUnit>>,
198    ) -> () {
199        unsafe {
200            let __receiver =
201                <SkillInheritanceSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
202            ::unity::il2cpp_call!((::unity::module_base()+0x24a8c90usize)as*mut u8,();
203(SkillInheritanceSequence)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::godunit::GodUnit>)::core::convert::Into::into(value))
204        }
205    }
206}
207
208#[cfg(feature = "app-skillinheritancesequence")]
209impl<__T: ISkillInheritanceSequence> ISkillInheritanceSequenceMethods for __T {}
210
211#[cfg(feature = "app-skillinheritancesequence")]
212impl SkillInheritanceSequence {
213    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
214        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
215    }
216
217    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
219    }
220
221    pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
223    }
224
225    pub fn load_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
226        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
227    }
228
229    pub fn is_loading_resources_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
231    }
232
233    pub fn create_unit_select_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
235    }
236
237    pub fn create_skill_inheritance_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
238        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
239    }
240
241    pub fn inheritance_start_method_info() -> &'static ::unity::il2cpp::MethodInfo {
242        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
243    }
244
245    pub fn inheritance_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
246        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
247    }
248
249    pub fn start_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
250        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
251    }
252
253    pub fn end_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
254        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
255    }
256
257    pub fn get_select_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
258        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
259    }
260
261    pub fn set_select_unit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
262        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
263    }
264
265    pub fn get_select_unit_god_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
266        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
267    }
268
269    pub fn set_select_unit_god_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
270        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
271    }
272}
273
274#[cfg(feature = "app-skillinheritancesequence")]
275impl SkillInheritanceSequence {
276    #[doc = "`.ctor()` — no args"]
277    pub fn new() -> Self {
278        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
279            panic!(
280                "{}
281::{}
282 failed to instantiate",
283                ::core::stringify!(SkillInheritanceSequence),
284                ::core::stringify!(new),
285            )
286        });
287        <Self as ISkillInheritanceSequenceMethods>::ctor(this);
288        this
289    }
290}
291
292#[cfg(feature = "app-skillinheritancesequence")]
293#[doc(hidden)]
294pub mod prelude {
295    pub use super::{ISkillInheritanceSequence, ISkillInheritanceSequenceMethods, SkillInheritanceSequence, SkillInheritanceSequence_Label2};
296    #[cfg(feature = "app-procinst")]
297    pub use crate::app::procinst::IProcInstMethods;
298    #[cfg(feature = "system-object")]
299    pub use crate::system::object::IObjectMethods;
300    #[cfg(feature = "system-enum")]
301    pub use crate::system::r#enum::IEnumMethods;
302    #[cfg(feature = "system-valuetype")]
303    pub use crate::system::valuetype::IValueTypeMethods;
304    pub use crate::{
305        app::procinst::IProcInst,
306        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
307    };
308}