Skip to main content

engage/generated/app/
weaponlevels.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-weaponlevels-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/weaponlevels/WeaponLevels.md"))]
11    #[::unity::class(namespace = "App", name = "WeaponLevels")]
12    #[parent(crate::system::object::Object)]
13    pub struct WeaponLevels {
14        #[offset(16)]
15        #[rename(name = "m_Levels")]
16        pub m_levels: ::unity::Array<i8>,
17    }
18}
19
20#[cfg(feature = "app-weaponlevels-types")]
21pub use __types::*;
22
23#[cfg(feature = "app-weaponlevels")]
24pub trait IWeaponLevelsMethods: IWeaponLevels {
25    #[doc = "`get_None()` overload"]
26    fn get_none(self) -> i8 {
27        unsafe {
28            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
29            ::unity::il2cpp_call!((::unity::module_base()+0x21c9580usize)as*mut u8,i8;
30(WeaponLevels)__receiver)
31        }
32    }
33    #[doc = "`set_None(i8)` overload"]
34    fn set_none(self, value: impl ::core::convert::Into<i8>) -> () {
35        unsafe {
36            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
37            ::unity::il2cpp_call!((::unity::module_base()+0x21c95f0usize)as*mut u8,();
38(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
39        }
40    }
41    #[doc = "`get_Sword()` overload"]
42    fn get_sword(self) -> i8 {
43        unsafe {
44            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
45            ::unity::il2cpp_call!((::unity::module_base()+0x21c9660usize)as*mut u8,i8;
46(WeaponLevels)__receiver)
47        }
48    }
49    #[doc = "`set_Sword(i8)` overload"]
50    fn set_sword(self, value: impl ::core::convert::Into<i8>) -> () {
51        unsafe {
52            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53            ::unity::il2cpp_call!((::unity::module_base()+0x21c9690usize)as*mut u8,();
54(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
55        }
56    }
57    #[doc = "`get_Lance()` overload"]
58    fn get_lance(self) -> i8 {
59        unsafe {
60            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61            ::unity::il2cpp_call!((::unity::module_base()+0x21c96c0usize)as*mut u8,i8;
62(WeaponLevels)__receiver)
63        }
64    }
65    #[doc = "`set_Lance(i8)` overload"]
66    fn set_lance(self, value: impl ::core::convert::Into<i8>) -> () {
67        unsafe {
68            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69            ::unity::il2cpp_call!((::unity::module_base()+0x21c96f0usize)as*mut u8,();
70(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
71        }
72    }
73    #[doc = "`get_Axe()` overload"]
74    fn get_axe(self) -> i8 {
75        unsafe {
76            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77            ::unity::il2cpp_call!((::unity::module_base()+0x21c9720usize)as*mut u8,i8;
78(WeaponLevels)__receiver)
79        }
80    }
81    #[doc = "`set_Axe(i8)` overload"]
82    fn set_axe(self, value: impl ::core::convert::Into<i8>) -> () {
83        unsafe {
84            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
85            ::unity::il2cpp_call!((::unity::module_base()+0x21c9750usize)as*mut u8,();
86(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
87        }
88    }
89    #[doc = "`get_Bow()` overload"]
90    fn get_bow(self) -> i8 {
91        unsafe {
92            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
93            ::unity::il2cpp_call!((::unity::module_base()+0x21c9780usize)as*mut u8,i8;
94(WeaponLevels)__receiver)
95        }
96    }
97    #[doc = "`set_Bow(i8)` overload"]
98    fn set_bow(self, value: impl ::core::convert::Into<i8>) -> () {
99        unsafe {
100            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101            ::unity::il2cpp_call!((::unity::module_base()+0x21c97b0usize)as*mut u8,();
102(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
103        }
104    }
105    #[doc = "`get_Dagger()` overload"]
106    fn get_dagger(self) -> i8 {
107        unsafe {
108            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            ::unity::il2cpp_call!((::unity::module_base()+0x21c97e0usize)as*mut u8,i8;
110(WeaponLevels)__receiver)
111        }
112    }
113    #[doc = "`set_Dagger(i8)` overload"]
114    fn set_dagger(self, value: impl ::core::convert::Into<i8>) -> () {
115        unsafe {
116            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            ::unity::il2cpp_call!((::unity::module_base()+0x21c9810usize)as*mut u8,();
118(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
119        }
120    }
121    #[doc = "`get_Magic()` overload"]
122    fn get_magic(self) -> i8 {
123        unsafe {
124            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
125            ::unity::il2cpp_call!((::unity::module_base()+0x21c9840usize)as*mut u8,i8;
126(WeaponLevels)__receiver)
127        }
128    }
129    #[doc = "`set_Magic(i8)` overload"]
130    fn set_magic(self, value: impl ::core::convert::Into<i8>) -> () {
131        unsafe {
132            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133            ::unity::il2cpp_call!((::unity::module_base()+0x21c9870usize)as*mut u8,();
134(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
135        }
136    }
137    #[doc = "`get_Rod()` overload"]
138    fn get_rod(self) -> i8 {
139        unsafe {
140            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            ::unity::il2cpp_call!((::unity::module_base()+0x21c98a0usize)as*mut u8,i8;
142(WeaponLevels)__receiver)
143        }
144    }
145    #[doc = "`set_Rod(i8)` overload"]
146    fn set_rod(self, value: impl ::core::convert::Into<i8>) -> () {
147        unsafe {
148            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149            ::unity::il2cpp_call!((::unity::module_base()+0x21c98d0usize)as*mut u8,();
150(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
151        }
152    }
153    #[doc = "`get_Fist()` overload"]
154    fn get_fist(self) -> i8 {
155        unsafe {
156            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157            ::unity::il2cpp_call!((::unity::module_base()+0x21c9900usize)as*mut u8,i8;
158(WeaponLevels)__receiver)
159        }
160    }
161    #[doc = "`set_Fist(i8)` overload"]
162    fn set_fist(self, value: impl ::core::convert::Into<i8>) -> () {
163        unsafe {
164            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165            ::unity::il2cpp_call!((::unity::module_base()+0x21c9930usize)as*mut u8,();
166(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
167        }
168    }
169    #[doc = "`get_Special()` overload"]
170    fn get_special(self) -> i8 {
171        unsafe {
172            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173            ::unity::il2cpp_call!((::unity::module_base()+0x21c9960usize)as*mut u8,i8;
174(WeaponLevels)__receiver)
175        }
176    }
177    #[doc = "`set_Special(i8)` overload"]
178    fn set_special(self, value: impl ::core::convert::Into<i8>) -> () {
179        unsafe {
180            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181            ::unity::il2cpp_call!((::unity::module_base()+0x21c9990usize)as*mut u8,();
182(WeaponLevels)__receiver,(i8)::core::convert::Into::into(value))
183        }
184    }
185    #[doc = "`SetImpl(crate::app::itemdata::ItemData_Kinds, i8)` overload"]
186    fn set_impl(self, kind: impl ::core::convert::Into<crate::app::itemdata::ItemData_Kinds>, value: impl ::core::convert::Into<i8>) -> () {
187        unsafe {
188            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
189            ::unity::il2cpp_call!((::unity::module_base()+0x21c9620usize)as*mut u8,();
190(WeaponLevels)__receiver,(crate::app::itemdata::ItemData_Kinds)::core::convert::Into::into(kind),(i8)::core::convert::Into::into(value))
191        }
192    }
193    #[doc = "`GetImpl(crate::app::itemdata::ItemData_Kinds)` overload"]
194    fn get_impl(self, kind: impl ::core::convert::Into<crate::app::itemdata::ItemData_Kinds>) -> i8 {
195        unsafe {
196            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
197            ::unity::il2cpp_call!((::unity::module_base()+0x21c95b0usize)as*mut u8,i8;
198(WeaponLevels)__receiver,(crate::app::itemdata::ItemData_Kinds)::core::convert::Into::into(kind))
199        }
200    }
201    #[doc = "`get_Item(crate::app::itemdata::ItemData_Kinds)` overload"]
202    fn get_item(self, kind: impl ::core::convert::Into<crate::app::itemdata::ItemData_Kinds>) -> crate::app::weaponlevel::WeaponLevel_Kind {
203        unsafe {
204            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
205            ::unity::il2cpp_call!((::unity::module_base()+0x21c99c0usize)as*mut u8,crate::app::weaponlevel::WeaponLevel_Kind;
206(WeaponLevels)__receiver,(crate::app::itemdata::ItemData_Kinds)::core::convert::Into::into(kind))
207        }
208    }
209    #[doc = "`set_Item(crate::app::itemdata::ItemData_Kinds, crate::app::weaponlevel::WeaponLevel_Kind)` overload"]
210    fn set_item(
211        self,
212        kind: impl ::core::convert::Into<crate::app::itemdata::ItemData_Kinds>,
213        value: impl ::core::convert::Into<crate::app::weaponlevel::WeaponLevel_Kind>,
214    ) -> () {
215        unsafe {
216            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x21c9a00usize)as*mut u8,();
218(WeaponLevels)__receiver,(crate::app::itemdata::ItemData_Kinds)::core::convert::Into::into(kind),(crate::app::weaponlevel::WeaponLevel_Kind)::core::convert::Into::into(value))
219        }
220    }
221    #[doc = "`Clear()` overload"]
222    fn clear(self) -> () {
223        unsafe {
224            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x21c9a40usize)as*mut u8,();
226(WeaponLevels)__receiver)
227        }
228    }
229    #[doc = "`Copy(crate::app::weaponlevels::WeaponLevels)` overload"]
230    fn copy(self, src: impl ::core::convert::Into<crate::app::weaponlevels::WeaponLevels>) -> () {
231        unsafe {
232            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233            ::unity::il2cpp_call!((::unity::module_base()+0x21c9b30usize)as*mut u8,();
234(WeaponLevels)__receiver,(crate::app::weaponlevels::WeaponLevels)::core::convert::Into::into(src))
235        }
236    }
237    #[doc = "`Add(crate::app::weaponlevels::WeaponLevels)` overload"]
238    fn add(self, levels: impl ::core::convert::Into<crate::app::weaponlevels::WeaponLevels>) -> () {
239        unsafe {
240            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
241            ::unity::il2cpp_call!((::unity::module_base()+0x21c9cf0usize)as*mut u8,();
242(WeaponLevels)__receiver,(crate::app::weaponlevels::WeaponLevels)::core::convert::Into::into(levels))
243        }
244    }
245    #[doc = "`.ctor()` overload"]
246    fn ctor(self) -> () {
247        unsafe {
248            let __receiver = <WeaponLevels as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
249            ::unity::il2cpp_call!((::unity::module_base()+0x21c9fb0usize)as*mut u8,();
250(WeaponLevels)__receiver)
251        }
252    }
253}
254
255#[cfg(feature = "app-weaponlevels")]
256impl<__T: IWeaponLevels> IWeaponLevelsMethods for __T {}
257
258#[cfg(feature = "app-weaponlevels")]
259impl WeaponLevels {
260    pub fn get_none_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
262    }
263
264    pub fn set_none_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
266    }
267
268    pub fn get_sword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
270    }
271
272    pub fn set_sword_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
274    }
275
276    pub fn get_lance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
278    }
279
280    pub fn set_lance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
282    }
283
284    pub fn get_axe_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
286    }
287
288    pub fn set_axe_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
290    }
291
292    pub fn get_bow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
294    }
295
296    pub fn set_bow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
298    }
299
300    pub fn get_dagger_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
302    }
303
304    pub fn set_dagger_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
306    }
307
308    pub fn get_magic_method_info() -> &'static ::unity::il2cpp::MethodInfo {
309        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
310    }
311
312    pub fn set_magic_method_info() -> &'static ::unity::il2cpp::MethodInfo {
313        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
314    }
315
316    pub fn get_rod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
317        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
318    }
319
320    pub fn set_rod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
322    }
323
324    pub fn get_fist_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
326    }
327
328    pub fn set_fist_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
330    }
331
332    pub fn get_special_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
334    }
335
336    pub fn set_special_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
338    }
339
340    pub fn set_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
342    }
343
344    pub fn get_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
346    }
347
348    pub fn get_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
350    }
351
352    pub fn set_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
354    }
355
356    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
358    }
359
360    pub fn copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
362    }
363
364    pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
366    }
367
368    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
370    }
371}
372
373#[cfg(feature = "app-weaponlevels")]
374impl WeaponLevels {
375    #[doc = "`.ctor()` — no args"]
376    pub fn new() -> Self {
377        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
378            panic!(
379                "{}
380::{}
381 failed to instantiate",
382                ::core::stringify!(WeaponLevels),
383                ::core::stringify!(new),
384            )
385        });
386        <Self as IWeaponLevelsMethods>::ctor(this);
387        this
388    }
389}
390
391#[cfg(feature = "app-weaponlevels")]
392#[doc(hidden)]
393pub mod prelude {
394    pub use super::{IWeaponLevels, IWeaponLevelsMethods, WeaponLevels};
395    pub use crate::system::object::IObject;
396    #[cfg(feature = "system-object")]
397    pub use crate::system::object::IObjectMethods;
398}