Skip to main content

engage/generated/app/
unititem.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-unititem-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unititem/UnitItem.md"))]
15    #[::unity::class(namespace = "App", name = "UnitItem")]
16    #[parent(crate::system::object::Object)]
17    pub struct UnitItem {
18        #[static_field]
19        #[rename(name = "NoItemIndex")]
20        pub no_item_index: i32,
21        #[static_field]
22        #[rename(name = "EngageStockIndex")]
23        pub engage_stock_index: i32,
24        #[static_field]
25        #[rename(name = "Version")]
26        pub version: i32,
27        #[offset(16)]
28        #[rename(name = "m_Index")]
29        pub m_index: i32,
30        #[offset(24)]
31        #[rename(name = "m_Item")]
32        pub m_item: crate::app::itemdata::ItemData,
33        #[offset(32)]
34        #[rename(name = "m_Endurance")]
35        pub m_endurance: u8,
36        #[offset(33)]
37        #[rename(name = "m_RefineLevel")]
38        pub m_refine_level: u8,
39        #[offset(36)]
40        #[rename(name = "m_Flags")]
41        pub m_flags: crate::app::unititem::UnitItem_Flags,
42        #[offset(40)]
43        #[rename(name = "m_Engrave")]
44        pub m_engrave: crate::app::goddata::GodData,
45        #[offset(48)]
46        #[rename(name = "m_GodUnit")]
47        pub m_god_unit: crate::app::godunit::GodUnit,
48        #[static_field]
49        #[rename(name = "s_EnchantHash")]
50        pub s_enchant_hash: i32,
51    }
52
53    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/unititem/UnitItem_Flags.md"))]
54    #[repr(C)]
55    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
56    pub struct UnitItem_Flags {
57        pub value: i32,
58    }
59    impl ::unity::ClassIdentity for UnitItem_Flags {
60        const NAME: &'static str = "UnitItem.Flags";
61        const NAMESPACE: &'static str = "App";
62
63        fn class() -> ::unity::Class {
64            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
65            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
66        }
67    }
68    impl ::unity::IlType for UnitItem_Flags {
69        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
70            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
71        }
72    }
73    impl UnitItem_Flags {
74        pub fn equipped() -> Self {
75            Self { value: 1 }
76        }
77
78        pub fn drop() -> Self {
79            Self { value: 2 }
80        }
81
82        pub fn skip_log() -> Self {
83            Self { value: 4 }
84        }
85    }
86}
87
88#[cfg(feature = "app-unititem-types")]
89pub use __types::*;
90
91#[cfg(feature = "app-unititem")]
92impl UnitItem {
93    #[doc = "`op_Implicit(crate::app::unititem::UnitItem)` overload"]
94    pub fn op_implicit(p: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> crate::app::itemdata::ItemData {
95        unsafe {
96            ::unity::il2cpp_call!((::unity::module_base()+0x1f95d60usize)as*mut u8,crate::app::itemdata::ItemData;
97(crate::app::unititem::UnitItem)::core::convert::Into::into(p))
98        }
99    }
100
101    #[doc = "`ResetEnchantItem()` overload"]
102    pub fn reset_enchant_item() -> () {
103        unsafe {
104            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2b30usize)as*mut u8,();
105            )
106        }
107    }
108
109    #[doc = "`SetEnchantItem(crate::app::itemdata::ItemData)` overload"]
110    pub fn set_enchant_item(item: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> () {
111        unsafe {
112            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2ba0usize)as*mut u8,();
113(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
114        }
115    }
116
117    #[doc = "`SetEnchantHash(i32)` overload"]
118    pub fn set_enchant_hash(hash: impl ::core::convert::Into<i32>) -> () {
119        unsafe {
120            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2ce0usize)as*mut u8,();
121(i32)::core::convert::Into::into(hash))
122        }
123    }
124
125    #[doc = "`GetEnchantHash()` overload"]
126    pub fn get_enchant_hash() -> i32 {
127        unsafe {
128            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2d50usize)as*mut u8,i32;
129            )
130        }
131    }
132
133    #[doc = "`SortCompare(crate::app::unititem::UnitItem, crate::app::unititem::UnitItem, ::unity::IlInstance)` overload"]
134    pub fn sort_compare(
135        a: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
136        b: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
137        arg: impl ::core::convert::Into<::unity::IlInstance>,
138    ) -> bool {
139        unsafe {
140            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2e20usize)as*mut u8,bool;
141(crate::app::unititem::UnitItem)::core::convert::Into::into(a),(crate::app::unititem::UnitItem)::core::convert::Into::into(b),(::unity::IlInstance)::core::convert::Into::into(arg))
142        }
143    }
144
145    #[doc = "`op_Equality(crate::app::unititem::UnitItem, crate::app::unititem::UnitItem)` overload"]
146    pub fn op_equality(
147        lhs: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
148        rhs: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
149    ) -> bool {
150        unsafe {
151            ::unity::il2cpp_call!((::unity::module_base()+0x1f95d30usize)as*mut u8,bool;
152(crate::app::unititem::UnitItem)::core::convert::Into::into(lhs),(crate::app::unititem::UnitItem)::core::convert::Into::into(rhs))
153        }
154    }
155
156    #[doc = "`op_Inequality(crate::app::unititem::UnitItem, crate::app::unititem::UnitItem)` overload"]
157    pub fn op_inequality(
158        lhs: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
159        rhs: impl ::core::convert::Into<crate::app::unititem::UnitItem>,
160    ) -> bool {
161        unsafe {
162            ::unity::il2cpp_call!((::unity::module_base()+0x1f95c90usize)as*mut u8,bool;
163(crate::app::unititem::UnitItem)::core::convert::Into::into(lhs),(crate::app::unititem::UnitItem)::core::convert::Into::into(rhs))
164        }
165    }
166
167    #[doc = "`.cctor()` overload"]
168    pub fn cctor() -> () {
169        unsafe {
170            ::unity::il2cpp_call!((::unity::module_base()+0x1fb31a0usize)as*mut u8,();
171            )
172        }
173    }
174}
175
176#[cfg(feature = "app-unititem")]
177pub trait IUnitItemMethods: IUnitItem {
178    #[doc = "`.ctor()` overload"]
179    fn ctor(self) -> () {
180        unsafe {
181            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182            ::unity::il2cpp_call!((::unity::module_base()+0x1fad920usize)as*mut u8,();
183(UnitItem)__receiver)
184        }
185    }
186    #[doc = "`.ctor(crate::app::itemdata::ItemData)` overload"]
187    fn ctor_2(self, item: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> () {
188        unsafe {
189            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190            ::unity::il2cpp_call!((::unity::module_base()+0x1fad9e0usize)as*mut u8,();
191(UnitItem)__receiver,(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
192        }
193    }
194    #[doc = "`.ctor(::unity::Il2CppString)` overload"]
195    fn ctor_3(self, iid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
196        unsafe {
197            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198            ::unity::il2cpp_call!((::unity::module_base()+0x1fadb00usize)as*mut u8,();
199(UnitItem)__receiver,(::unity::Il2CppString)::core::convert::Into::into(iid))
200        }
201    }
202    #[doc = "`.ctor(i32)` overload"]
203    fn ctor_4(self, index: impl ::core::convert::Into<i32>) -> () {
204        unsafe {
205            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206            ::unity::il2cpp_call!((::unity::module_base()+0x1fadd50usize)as*mut u8,();
207(UnitItem)__receiver,(i32)::core::convert::Into::into(index))
208        }
209    }
210    #[doc = "`.ctor(crate::app::unititem::UnitItem)` overload"]
211    fn ctor_5(self, unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> () {
212        unsafe {
213            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214            ::unity::il2cpp_call!((::unity::module_base()+0x1fadee0usize)as*mut u8,();
215(UnitItem)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item))
216        }
217    }
218    #[doc = "`Dispose()` overload"]
219    fn dispose(self) -> () {
220        unsafe {
221            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222            {
223                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
224                let __vi = *__vt.get(4usize).unwrap_or_else(|| {
225                    panic!(
226                        "unity: virtual slot {}
227 out of range (vtable len {}
228) on the runtime class behind {}
229 (method `{}
230`)",
231                        4usize,
232                        __vt.len(),
233                        <UnitItem as ::unity::ClassIdentity>::NAME,
234                        "Dispose",
235                    )
236                });
237                let __inner: extern "C" fn(UnitItem, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
238                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
239                __inner(__receiver, __mi)
240            }
241        }
242    }
243    #[doc = "`New(crate::app::itemdata::ItemData)` overload"]
244    fn new(self, item: impl ::core::convert::Into<crate::app::itemdata::ItemData>) -> () {
245        unsafe {
246            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247            ::unity::il2cpp_call!((::unity::module_base()+0x1fae0d0usize)as*mut u8,();
248(UnitItem)__receiver,(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
249        }
250    }
251    #[doc = "`New(::unity::Il2CppString)` overload"]
252    fn new_2(self, iid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
253        unsafe {
254            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255            ::unity::il2cpp_call!((::unity::module_base()+0x1fae1e0usize)as*mut u8,();
256(UnitItem)__receiver,(::unity::Il2CppString)::core::convert::Into::into(iid))
257        }
258    }
259    #[doc = "`New(i32)` overload"]
260    fn new_3(self, index: impl ::core::convert::Into<i32>) -> () {
261        unsafe {
262            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
263            ::unity::il2cpp_call!((::unity::module_base()+0x1fae410usize)as*mut u8,();
264(UnitItem)__receiver,(i32)::core::convert::Into::into(index))
265        }
266    }
267    #[doc = "`New(crate::app::unititem::UnitItem)` overload"]
268    fn new_4(self, unit_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> () {
269        unsafe {
270            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271            ::unity::il2cpp_call!((::unity::module_base()+0x1fae590usize)as*mut u8,();
272(UnitItem)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(unit_item))
273        }
274    }
275    #[doc = "`Clear()` overload"]
276    fn clear(self) -> () {
277        unsafe {
278            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!((::unity::module_base()+0x1fae6c0usize)as*mut u8,();
280(UnitItem)__receiver)
281        }
282    }
283    #[doc = "`Expend()` overload"]
284    fn expend(self) -> bool {
285        unsafe {
286            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287            ::unity::il2cpp_call!((::unity::module_base()+0x1fae780usize)as*mut u8,bool;
288(UnitItem)__receiver)
289        }
290    }
291    #[doc = "`DoTrade()` overload"]
292    fn do_trade(self) -> () {
293        unsafe {
294            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295            ::unity::il2cpp_call!((::unity::module_base()+0x1fae7f0usize)as*mut u8,();
296(UnitItem)__receiver)
297        }
298    }
299    #[doc = "`DoTransporter()` overload"]
300    fn do_transporter(self) -> () {
301        unsafe {
302            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
303            ::unity::il2cpp_call!((::unity::module_base()+0x1fae820usize)as*mut u8,();
304(UnitItem)__receiver)
305        }
306    }
307    #[doc = "`DoDrop()` overload"]
308    fn do_drop(self) -> () {
309        unsafe {
310            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
311            ::unity::il2cpp_call!((::unity::module_base()+0x1fae830usize)as*mut u8,();
312(UnitItem)__receiver)
313        }
314    }
315    #[doc = "`DoTransfer()` overload"]
316    fn do_transfer(self) -> () {
317        unsafe {
318            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
319            ::unity::il2cpp_call!((::unity::module_base()+0x1fae840usize)as*mut u8,();
320(UnitItem)__receiver)
321        }
322    }
323    #[doc = "`CanExpend()` overload"]
324    fn can_expend(self) -> bool {
325        unsafe {
326            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
327            ::unity::il2cpp_call!((::unity::module_base()+0x1fae7d0usize)as*mut u8,bool;
328(UnitItem)__receiver)
329        }
330    }
331    #[doc = "`GetExpend()` overload"]
332    fn get_expend(self) -> i32 {
333        unsafe {
334            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
335            ::unity::il2cpp_call!((::unity::module_base()+0x1fae850usize)as*mut u8,i32;
336(UnitItem)__receiver)
337        }
338    }
339    #[doc = "`CanEnchant()` overload"]
340    fn can_enchant(self) -> bool {
341        unsafe {
342            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
343            ::unity::il2cpp_call!((::unity::module_base()+0x1fae870usize)as*mut u8,bool;
344(UnitItem)__receiver)
345        }
346    }
347    #[doc = "`CanEnchant(crate::app::unit::Unit)` overload"]
348    fn can_enchant_2(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
349        unsafe {
350            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351            ::unity::il2cpp_call!((::unity::module_base()+0x1fae880usize)as*mut u8,bool;
352(UnitItem)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
353        }
354    }
355    #[doc = "`IsEmpty()` overload"]
356    fn is_empty(self) -> bool {
357        unsafe {
358            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
359            ::unity::il2cpp_call!((::unity::module_base()+0x1fae8c0usize)as*mut u8,bool;
360(UnitItem)__receiver)
361        }
362    }
363    #[doc = "`IsExist()` overload"]
364    fn is_exist(self) -> bool {
365        unsafe {
366            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
367            ::unity::il2cpp_call!((::unity::module_base()+0x1fae8d0usize)as*mut u8,bool;
368(UnitItem)__receiver)
369        }
370    }
371    #[doc = "`IsIntegrate(crate::app::unititem::UnitItem)` overload"]
372    fn is_integrate(self, other_item: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> bool {
373        unsafe {
374            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
375            ::unity::il2cpp_call!((::unity::module_base()+0x1fae8e0usize)as*mut u8,bool;
376(UnitItem)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(other_item))
377        }
378    }
379    #[doc = "`IsLongRange()` overload"]
380    fn is_long_range(self) -> bool {
381        unsafe {
382            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
383            ::unity::il2cpp_call!((::unity::module_base()+0x1fae920usize)as*mut u8,bool;
384(UnitItem)__receiver)
385        }
386    }
387    #[doc = "`GetData()` overload"]
388    fn get_data(self) -> crate::app::itemdata::ItemData {
389        unsafe {
390            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
391            ::unity::il2cpp_call!((::unity::module_base()+0x1fae940usize)as*mut u8,crate::app::itemdata::ItemData;
392(UnitItem)__receiver)
393        }
394    }
395    #[doc = "`GetPrice()` overload"]
396    fn get_price(self) -> i32 {
397        unsafe {
398            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
399            ::unity::il2cpp_call!((::unity::module_base()+0x1fae950usize)as*mut u8,i32;
400(UnitItem)__receiver)
401        }
402    }
403    #[doc = "`GetSelling()` overload"]
404    fn get_selling(self) -> i32 {
405        unsafe {
406            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
407            ::unity::il2cpp_call!((::unity::module_base()+0x1fae960usize)as*mut u8,i32;
408(UnitItem)__receiver)
409        }
410    }
411    #[doc = "`IsFlag(crate::app::itemdata::ItemData_Flags)` overload"]
412    fn is_flag(self, flags: impl ::core::convert::Into<crate::app::itemdata::ItemData_Flags>) -> bool {
413        unsafe {
414            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415            ::unity::il2cpp_call!((::unity::module_base()+0x1faea60usize)as*mut u8,bool;
416(UnitItem)__receiver,(crate::app::itemdata::ItemData_Flags)::core::convert::Into::into(flags))
417        }
418    }
419    #[doc = "`NotFlag(crate::app::itemdata::ItemData_Flags)` overload"]
420    fn not_flag(self, flags: impl ::core::convert::Into<crate::app::itemdata::ItemData_Flags>) -> bool {
421        unsafe {
422            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
423            ::unity::il2cpp_call!((::unity::module_base()+0x1faead0usize)as*mut u8,bool;
424(UnitItem)__receiver,(crate::app::itemdata::ItemData_Flags)::core::convert::Into::into(flags))
425        }
426    }
427    #[doc = "`IsNone()` overload"]
428    fn is_none(self) -> bool {
429        unsafe {
430            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
431            ::unity::il2cpp_call!((::unity::module_base()+0x1faeb40usize)as*mut u8,bool;
432(UnitItem)__receiver)
433        }
434    }
435    #[doc = "`IsInventory()` overload"]
436    fn is_inventory(self) -> bool {
437        unsafe {
438            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439            ::unity::il2cpp_call!((::unity::module_base()+0x1faeb60usize)as*mut u8,bool;
440(UnitItem)__receiver)
441        }
442    }
443    #[doc = "`get_Kind()` overload"]
444    fn get_kind(self) -> crate::app::itemdata::ItemData_Kinds {
445        unsafe {
446            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
447            ::unity::il2cpp_call!((::unity::module_base()+0x1faeb70usize)as*mut u8,crate::app::itemdata::ItemData_Kinds;
448(UnitItem)__receiver)
449        }
450    }
451    #[doc = "`get_UseType()` overload"]
452    fn get_use_type(self) -> crate::app::itemdata::ItemData_UseTypes {
453        unsafe {
454            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
455            ::unity::il2cpp_call!((::unity::module_base()+0x1faeb80usize)as*mut u8,crate::app::itemdata::ItemData_UseTypes;
456(UnitItem)__receiver)
457        }
458    }
459    #[doc = "`get_RodType()` overload"]
460    fn get_rod_type(self) -> crate::app::itemdata::ItemData_RodTypes {
461        unsafe {
462            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
463            ::unity::il2cpp_call!((::unity::module_base()+0x1faeb90usize)as*mut u8,crate::app::itemdata::ItemData_RodTypes;
464(UnitItem)__receiver)
465        }
466    }
467    #[doc = "`IsRangeTarget()` overload"]
468    fn is_range_target(self) -> bool {
469        unsafe {
470            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
471            ::unity::il2cpp_call!((::unity::module_base()+0x1faeba0usize)as*mut u8,bool;
472(UnitItem)__receiver)
473        }
474    }
475    #[doc = "`IsRangeHeal()` overload"]
476    fn is_range_heal(self) -> bool {
477        unsafe {
478            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
479            ::unity::il2cpp_call!((::unity::module_base()+0x1faec10usize)as*mut u8,bool;
480(UnitItem)__receiver)
481        }
482    }
483    #[doc = "`IsRangeRestHeal()` overload"]
484    fn is_range_rest_heal(self) -> bool {
485        unsafe {
486            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
487            ::unity::il2cpp_call!((::unity::module_base()+0x1faec90usize)as*mut u8,bool;
488(UnitItem)__receiver)
489        }
490    }
491    #[doc = "`IsRangeAgain()` overload"]
492    fn is_range_again(self) -> bool {
493        unsafe {
494            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
495            ::unity::il2cpp_call!((::unity::module_base()+0x1faed10usize)as*mut u8,bool;
496(UnitItem)__receiver)
497        }
498    }
499    #[doc = "`IsRangeEngageAdd()` overload"]
500    fn is_range_engage_add(self) -> bool {
501        unsafe {
502            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
503            ::unity::il2cpp_call!((::unity::module_base()+0x1faed90usize)as*mut u8,bool;
504(UnitItem)__receiver)
505        }
506    }
507    #[doc = "`IsBless()` overload"]
508    fn is_bless(self) -> bool {
509        unsafe {
510            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
511            ::unity::il2cpp_call!((::unity::module_base()+0x1faee10usize)as*mut u8,bool;
512(UnitItem)__receiver)
513        }
514    }
515    #[doc = "`IsBullet()` overload"]
516    fn is_bullet(self) -> bool {
517        unsafe {
518            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
519            ::unity::il2cpp_call!((::unity::module_base()+0x1faee30usize)as*mut u8,bool;
520(UnitItem)__receiver)
521        }
522    }
523    #[doc = "`GetShootEffect()` overload"]
524    fn get_shoot_effect(self) -> crate::app::effectdata::EffectData {
525        unsafe {
526            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
527            ::unity::il2cpp_call!((::unity::module_base()+0x1faee40usize)as*mut u8,crate::app::effectdata::EffectData;
528(UnitItem)__receiver)
529        }
530    }
531    #[doc = "`GetHitEffect()` overload"]
532    fn get_hit_effect(self) -> crate::app::effectdata::EffectData {
533        unsafe {
534            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
535            ::unity::il2cpp_call!((::unity::module_base()+0x1faee60usize)as*mut u8,crate::app::effectdata::EffectData;
536(UnitItem)__receiver)
537        }
538    }
539    #[doc = "`GetCannonEffect()` overload"]
540    fn get_cannon_effect(self) -> crate::app::effectsequence::EffectSequence {
541        unsafe {
542            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
543            ::unity::il2cpp_call!((::unity::module_base()+0x1faee80usize)as*mut u8,crate::app::effectsequence::EffectSequence;
544(UnitItem)__receiver)
545        }
546    }
547    #[doc = "`GetAttr()` overload"]
548    fn get_attr(self) -> crate::app::itemdata::ItemData_Attrs {
549        unsafe {
550            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
551            ::unity::il2cpp_call!((::unity::module_base()+0x1faeea0usize)as*mut u8,crate::app::itemdata::ItemData_Attrs;
552(UnitItem)__receiver)
553        }
554    }
555    #[doc = "`GetWeaponAttr()` overload"]
556    fn get_weapon_attr(self) -> crate::app::itemdata::ItemData_WeaponAttrs {
557        unsafe {
558            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
559            ::unity::il2cpp_call!((::unity::module_base()+0x1faeeb0usize)as*mut u8,crate::app::itemdata::ItemData_WeaponAttrs;
560(UnitItem)__receiver)
561        }
562    }
563    #[doc = "`IsWeapon()` overload"]
564    fn is_weapon(self) -> bool {
565        unsafe {
566            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
567            ::unity::il2cpp_call!((::unity::module_base()+0x1faeec0usize)as*mut u8,bool;
568(UnitItem)__receiver)
569        }
570    }
571    #[doc = "`IsPhysical()` overload"]
572    fn is_physical(self) -> bool {
573        unsafe {
574            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
575            ::unity::il2cpp_call!((::unity::module_base()+0x1faeed0usize)as*mut u8,bool;
576(UnitItem)__receiver)
577        }
578    }
579    #[doc = "`IsMagic()` overload"]
580    fn is_magic(self) -> bool {
581        unsafe {
582            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
583            ::unity::il2cpp_call!((::unity::module_base()+0x1faeef0usize)as*mut u8,bool;
584(UnitItem)__receiver)
585        }
586    }
587    #[doc = "`IsBreath()` overload"]
588    fn is_breath(self) -> bool {
589        unsafe {
590            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
591            ::unity::il2cpp_call!((::unity::module_base()+0x1faef10usize)as*mut u8,bool;
592(UnitItem)__receiver)
593        }
594    }
595    #[doc = "`IsSurehit()` overload"]
596    fn is_surehit(self) -> bool {
597        unsafe {
598            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
599            ::unity::il2cpp_call!((::unity::module_base()+0x1faef80usize)as*mut u8,bool;
600(UnitItem)__receiver)
601        }
602    }
603    #[doc = "`IsRod()` overload"]
604    fn is_rod(self) -> bool {
605        unsafe {
606            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
607            ::unity::il2cpp_call!((::unity::module_base()+0x1faefb0usize)as*mut u8,bool;
608(UnitItem)__receiver)
609        }
610    }
611    #[doc = "`IsSingleRod()` overload"]
612    fn is_single_rod(self) -> bool {
613        unsafe {
614            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
615            ::unity::il2cpp_call!((::unity::module_base()+0x1faeff0usize)as*mut u8,bool;
616(UnitItem)__receiver)
617        }
618    }
619    #[doc = "`IsEfficacy(crate::app::unit::Unit)` overload"]
620    fn is_efficacy(self, target: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
621        unsafe {
622            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
623            ::unity::il2cpp_call!((::unity::module_base()+0x1faf090usize)as*mut u8,bool;
624(UnitItem)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(target))
625        }
626    }
627    #[doc = "`GetName(bool)` overload"]
628    fn get_name(self, with_refine_level: impl ::core::convert::Into<bool>) -> ::unity::Il2CppString {
629        unsafe {
630            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
631            ::unity::il2cpp_call!((::unity::module_base()+0x1faf2a0usize)as*mut u8, ::unity::Il2CppString;
632(UnitItem)__receiver,(bool)::core::convert::Into::into(with_refine_level))
633        }
634    }
635    #[doc = "`GetOriginalName()` overload"]
636    fn get_original_name(self) -> ::unity::Il2CppString {
637        unsafe {
638            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
639            ::unity::il2cpp_call!((::unity::module_base()+0x1faf5f0usize)as*mut u8, ::unity::Il2CppString;
640(UnitItem)__receiver)
641        }
642    }
643    #[doc = "`GetPower()` overload"]
644    fn get_power(self) -> i32 {
645        unsafe {
646            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
647            ::unity::il2cpp_call!((::unity::module_base()+0x1faf600usize)as*mut u8,i32;
648(UnitItem)__receiver)
649        }
650    }
651    #[doc = "`GetWeight()` overload"]
652    fn get_weight(self) -> i32 {
653        unsafe {
654            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
655            ::unity::il2cpp_call!((::unity::module_base()+0x1faf7c0usize)as*mut u8,i32;
656(UnitItem)__receiver)
657        }
658    }
659    #[doc = "`GetHit()` overload"]
660    fn get_hit(self) -> i32 {
661        unsafe {
662            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
663            ::unity::il2cpp_call!((::unity::module_base()+0x1faf890usize)as*mut u8,i32;
664(UnitItem)__receiver)
665        }
666    }
667    #[doc = "`GetCritical()` overload"]
668    fn get_critical(self) -> i32 {
669        unsafe {
670            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
671            ::unity::il2cpp_call!((::unity::module_base()+0x1faf990usize)as*mut u8,i32;
672(UnitItem)__receiver)
673        }
674    }
675    #[doc = "`GetAvoid()` overload"]
676    fn get_avoid(self) -> i32 {
677        unsafe {
678            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
679            ::unity::il2cpp_call!((::unity::module_base()+0x1fafa90usize)as*mut u8,i32;
680(UnitItem)__receiver)
681        }
682    }
683    #[doc = "`GetSecure()` overload"]
684    fn get_secure(self) -> i32 {
685        unsafe {
686            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
687            ::unity::il2cpp_call!((::unity::module_base()+0x1fafb00usize)as*mut u8,i32;
688(UnitItem)__receiver)
689        }
690    }
691    #[doc = "`GetEnhance()` overload"]
692    fn get_enhance(self) -> crate::app::capabilitysbyte::CapabilitySbyte {
693        unsafe {
694            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
695            ::unity::il2cpp_call!((::unity::module_base()+0x1fafb70usize)as*mut u8,crate::app::capabilitysbyte::CapabilitySbyte;
696(UnitItem)__receiver)
697        }
698    }
699    #[doc = "`GetTimes()` overload"]
700    fn get_times(self) -> i32 {
701        unsafe {
702            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
703            ::unity::il2cpp_call!((::unity::module_base()+0x1fafbc0usize)as*mut u8,i32;
704(UnitItem)__receiver)
705        }
706    }
707    #[doc = "`GetEquipSkills()` overload"]
708    fn get_equip_skills(self) -> crate::app::skillarray::SkillArray {
709        unsafe {
710            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
711            ::unity::il2cpp_call!((::unity::module_base()+0x1fafbd0usize)as*mut u8,crate::app::skillarray::SkillArray;
712(UnitItem)__receiver)
713        }
714    }
715    #[doc = "`GetSort()` overload"]
716    fn get_sort(self) -> i64 {
717        unsafe {
718            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
719            ::unity::il2cpp_call!((::unity::module_base()+0x1fafda0usize)as*mut u8,i64;
720(UnitItem)__receiver)
721        }
722    }
723    #[doc = "`IsRefined()` overload"]
724    fn is_refined(self) -> bool {
725        unsafe {
726            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
727            ::unity::il2cpp_call!((::unity::module_base()+0x1faf5e0usize)as*mut u8,bool;
728(UnitItem)__receiver)
729        }
730    }
731    #[doc = "`GetMaxRefineLevel()` overload"]
732    fn get_max_refine_level(self) -> i32 {
733        unsafe {
734            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
735            ::unity::il2cpp_call!((::unity::module_base()+0x1fafe80usize)as*mut u8,i32;
736(UnitItem)__receiver)
737        }
738    }
739    #[doc = "`IsExistRefineData()` overload"]
740    fn is_exist_refine_data(self) -> bool {
741        unsafe {
742            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
743            ::unity::il2cpp_call!((::unity::module_base()+0x1fafed0usize)as*mut u8,bool;
744(UnitItem)__receiver)
745        }
746    }
747    #[doc = "`GetCurrentRefineData()` overload"]
748    fn get_current_refine_data(self) -> crate::app::itemrefinedata::ItemRefineData {
749        unsafe {
750            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
751            ::unity::il2cpp_call!((::unity::module_base()+0x1faf700usize)as*mut u8,crate::app::itemrefinedata::ItemRefineData;
752(UnitItem)__receiver)
753        }
754    }
755    #[doc = "`GetNextRefineData()` overload"]
756    fn get_next_refine_data(self) -> crate::app::itemrefinedata::ItemRefineData {
757        unsafe {
758            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
759            ::unity::il2cpp_call!((::unity::module_base()+0x1faff00usize)as*mut u8,crate::app::itemrefinedata::ItemRefineData;
760(UnitItem)__receiver)
761        }
762    }
763    #[doc = "`GetRefineDataList()` overload"]
764    fn get_refine_data_list(self) -> crate::system::collections::generic::list_1::List_1<crate::app::itemrefinedata::ItemRefineData> {
765        unsafe {
766            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
767            ::unity::il2cpp_call!((::unity::module_base()+0x1faffa0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::itemrefinedata::ItemRefineData> ;
768(UnitItem)__receiver)
769        }
770    }
771    #[doc = "`CanEvolve()` overload"]
772    fn can_evolve(self) -> bool {
773        unsafe {
774            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
775            ::unity::il2cpp_call!((::unity::module_base()+0x1faffb0usize)as*mut u8,bool;
776(UnitItem)__receiver)
777        }
778    }
779    #[doc = "`IsExistEvolveData()` overload"]
780    fn is_exist_evolve_data(self) -> bool {
781        unsafe {
782            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
783            ::unity::il2cpp_call!((::unity::module_base()+0x1fb0010usize)as*mut u8,bool;
784(UnitItem)__receiver)
785        }
786    }
787    #[doc = "`GetEvolveDataList()` overload"]
788    fn get_evolve_data_list(self) -> crate::system::collections::generic::list_1::List_1<crate::app::itemevolvedata::ItemEvolveData> {
789        unsafe {
790            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
791            ::unity::il2cpp_call!((::unity::module_base()+0x1fb0040usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::itemevolvedata::ItemEvolveData> ;
792(UnitItem)__receiver)
793        }
794    }
795    #[doc = "`CanEngrave()` overload"]
796    fn can_engrave(self) -> bool {
797        unsafe {
798            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
799            ::unity::il2cpp_call!((::unity::module_base()+0x1fb0050usize)as*mut u8,bool;
800(UnitItem)__receiver)
801        }
802    }
803    #[doc = "`IsEngraved()` overload"]
804    fn is_engraved(self) -> bool {
805        unsafe {
806            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
807            ::unity::il2cpp_call!((::unity::module_base()+0x1faf5d0usize)as*mut u8,bool;
808(UnitItem)__receiver)
809        }
810    }
811    #[doc = "`SetEngrave(crate::app::goddata::GodData)` overload"]
812    fn set_engrave(self, god_data: impl ::core::convert::Into<crate::app::goddata::GodData>) -> () {
813        unsafe {
814            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
815            ::unity::il2cpp_call!((::unity::module_base()+0x1fb0080usize)as*mut u8,();
816(UnitItem)__receiver,(crate::app::goddata::GodData)::core::convert::Into::into(god_data))
817        }
818    }
819    #[doc = "`GetEngrave()` overload"]
820    fn get_engrave(self) -> crate::app::goddata::GodData {
821        unsafe {
822            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
823            ::unity::il2cpp_call!((::unity::module_base()+0x1fb00d0usize)as*mut u8,crate::app::goddata::GodData;
824(UnitItem)__receiver)
825        }
826    }
827    #[doc = "`GetMenuText(*mut::unity::Il2CppString, *mut::unity::Il2CppString, *mut::unity::Il2CppString, bool)` overload"]
828    fn get_menu_text(
829        self,
830        with_max_endurance: impl ::core::convert::Into<bool>,
831    ) -> (::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString) {
832        unsafe {
833            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
834            let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
835            let mut __out_1 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
836            let mut __out_2 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
837            ::unity::il2cpp_call!((::unity::module_base()+0x1fb00e0usize)as*mut u8,();
838(UnitItem)__receiver,(*mut::unity::Il2CppString)__out_0.as_mut_ptr(),(*mut::unity::Il2CppString)__out_1.as_mut_ptr(),(*mut::unity::Il2CppString)__out_2.as_mut_ptr(),(bool)::core::convert::Into::into(with_max_endurance));
839            (__out_0.assume_init(), __out_1.assume_init(), __out_2.assume_init())
840        }
841    }
842    #[doc = "`GetEngageWeaponGod()` overload"]
843    fn get_engage_weapon_god(self) -> crate::app::godunit::GodUnit {
844        unsafe {
845            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
846            ::unity::il2cpp_call!((::unity::module_base()+0x1fb04d0usize)as*mut u8,crate::app::godunit::GodUnit;
847(UnitItem)__receiver)
848        }
849    }
850    #[doc = "`SetEngageWeaponGod(crate::app::unit::Unit)` overload"]
851    fn set_engage_weapon_god(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> () {
852        unsafe {
853            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
854            ::unity::il2cpp_call!((::unity::module_base()+0x1fb04e0usize)as*mut u8,();
855(UnitItem)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
856        }
857    }
858    #[doc = "`SetEngageWeaponGod(crate::app::godunit::GodUnit)` overload"]
859    fn set_engage_weapon_god_2(self, god_unit: impl ::core::convert::Into<crate::app::godunit::GodUnit>) -> () {
860        unsafe {
861            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
862            ::unity::il2cpp_call!((::unity::module_base()+0x1fb0530usize)as*mut u8,();
863(UnitItem)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god_unit))
864        }
865    }
866    #[doc = "`ClearEngageWeaponGod()` overload"]
867    fn clear_engage_weapon_god(self) -> () {
868        unsafe {
869            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
870            ::unity::il2cpp_call!((::unity::module_base()+0x1fb21f0usize)as*mut u8,();
871(UnitItem)__receiver)
872        }
873    }
874    #[doc = "`UpdateEngageWeaponParam()` overload"]
875    fn update_engage_weapon_param(self) -> () {
876        unsafe {
877            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
878            ::unity::il2cpp_call!((::unity::module_base()+0x1fb0560usize)as*mut u8,();
879(UnitItem)__receiver)
880        }
881    }
882    #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
883    fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
884        unsafe {
885            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
886            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2220usize)as*mut u8,();
887(UnitItem)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
888        }
889    }
890    #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
891    fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
892        unsafe {
893            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
894            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2320usize)as*mut u8,();
895(UnitItem)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
896        }
897    }
898    #[doc = "`get_Iid()` overload"]
899    fn get_iid(self) -> ::unity::Il2CppString {
900        unsafe {
901            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
902            ::unity::il2cpp_call!((::unity::module_base()+0x1fa3c60usize)as*mut u8, ::unity::Il2CppString;
903(UnitItem)__receiver)
904        }
905    }
906    #[doc = "`get_Index()` overload"]
907    fn get_index(self) -> i32 {
908        unsafe {
909            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
910            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2990usize)as*mut u8,i32;
911(UnitItem)__receiver)
912        }
913    }
914    #[doc = "`IsFlags(crate::app::unititem::UnitItem_Flags)` overload"]
915    fn is_flags(self, flags: impl ::core::convert::Into<crate::app::unititem::UnitItem_Flags>) -> bool {
916        unsafe {
917            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
918            ::unity::il2cpp_call!((::unity::module_base()+0x1fb29a0usize)as*mut u8,bool;
919(UnitItem)__receiver,(crate::app::unititem::UnitItem_Flags)::core::convert::Into::into(flags))
920        }
921    }
922    #[doc = "`SetFlags(crate::app::unititem::UnitItem_Flags)` overload"]
923    fn set_flags(self, flags: impl ::core::convert::Into<crate::app::unititem::UnitItem_Flags>) -> () {
924        unsafe {
925            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
926            ::unity::il2cpp_call!((::unity::module_base()+0x1fb29b0usize)as*mut u8,();
927(UnitItem)__receiver,(crate::app::unititem::UnitItem_Flags)::core::convert::Into::into(flags))
928        }
929    }
930    #[doc = "`ClearFlags(crate::app::unititem::UnitItem_Flags)` overload"]
931    fn clear_flags(self, flags: impl ::core::convert::Into<crate::app::unititem::UnitItem_Flags>) -> () {
932        unsafe {
933            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
934            ::unity::il2cpp_call!((::unity::module_base()+0x1fae810usize)as*mut u8,();
935(UnitItem)__receiver,(crate::app::unititem::UnitItem_Flags)::core::convert::Into::into(flags))
936        }
937    }
938    #[doc = "`SetFlags(crate::app::unititem::UnitItem_Flags, bool)` overload"]
939    fn set_flags_2(self, flags: impl ::core::convert::Into<crate::app::unititem::UnitItem_Flags>, enable: impl ::core::convert::Into<bool>) -> () {
940        unsafe {
941            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
942            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2970usize)as*mut u8,();
943(UnitItem)__receiver,(crate::app::unititem::UnitItem_Flags)::core::convert::Into::into(flags),(bool)::core::convert::Into::into(enable))
944        }
945    }
946    #[doc = "`get_IsEquipped()` overload"]
947    fn get_is_equipped(self) -> bool {
948        unsafe {
949            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
950            ::unity::il2cpp_call!((::unity::module_base()+0x1fb29c0usize)as*mut u8,bool;
951(UnitItem)__receiver)
952        }
953    }
954    #[doc = "`set_IsEquipped(bool)` overload"]
955    fn set_is_equipped(self, value: impl ::core::convert::Into<bool>) -> () {
956        unsafe {
957            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
958            ::unity::il2cpp_call!((::unity::module_base()+0x1fb29d0usize)as*mut u8,();
959(UnitItem)__receiver,(bool)::core::convert::Into::into(value))
960        }
961    }
962    #[doc = "`get_IsDrop()` overload"]
963    fn get_is_drop(self) -> bool {
964        unsafe {
965            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
966            ::unity::il2cpp_call!((::unity::module_base()+0x1fb29f0usize)as*mut u8,bool;
967(UnitItem)__receiver)
968        }
969    }
970    #[doc = "`set_IsDrop(bool)` overload"]
971    fn set_is_drop(self, value: impl ::core::convert::Into<bool>) -> () {
972        unsafe {
973            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
974            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2a00usize)as*mut u8,();
975(UnitItem)__receiver,(bool)::core::convert::Into::into(value))
976        }
977    }
978    #[doc = "`get_IsSkipLog()` overload"]
979    fn get_is_skip_log(self) -> bool {
980        unsafe {
981            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
982            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2a20usize)as*mut u8,bool;
983(UnitItem)__receiver)
984        }
985    }
986    #[doc = "`set_IsSkipLog(bool)` overload"]
987    fn set_is_skip_log(self, value: impl ::core::convert::Into<bool>) -> () {
988        unsafe {
989            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
990            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2a30usize)as*mut u8,();
991(UnitItem)__receiver,(bool)::core::convert::Into::into(value))
992        }
993    }
994    #[doc = "`get_IsEnchant()` overload"]
995    fn get_is_enchant(self) -> bool {
996        unsafe {
997            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
998            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2a50usize)as*mut u8,bool;
999(UnitItem)__receiver)
1000        }
1001    }
1002    #[doc = "`get_FlagsValue()` overload"]
1003    fn get_flags_value(self) -> crate::app::unititem::UnitItem_Flags {
1004        unsafe {
1005            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1006            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2dc0usize)as*mut u8,crate::app::unititem::UnitItem_Flags;
1007(UnitItem)__receiver)
1008        }
1009    }
1010    #[doc = "`set_FlagsValue(crate::app::unititem::UnitItem_Flags)` overload"]
1011    fn set_flags_value(self, value: impl ::core::convert::Into<crate::app::unititem::UnitItem_Flags>) -> () {
1012        unsafe {
1013            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1014            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2dd0usize)as*mut u8,();
1015(UnitItem)__receiver,(crate::app::unititem::UnitItem_Flags)::core::convert::Into::into(value))
1016        }
1017    }
1018    #[doc = "`get_Endurance()` overload"]
1019    fn get_endurance(self) -> i32 {
1020        unsafe {
1021            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1022            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2de0usize)as*mut u8,i32;
1023(UnitItem)__receiver)
1024        }
1025    }
1026    #[doc = "`set_Endurance(i32)` overload"]
1027    fn set_endurance(self, value: impl ::core::convert::Into<i32>) -> () {
1028        unsafe {
1029            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1030            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2df0usize)as*mut u8,();
1031(UnitItem)__receiver,(i32)::core::convert::Into::into(value))
1032        }
1033    }
1034    #[doc = "`get_RefineLevel()` overload"]
1035    fn get_refine_level(self) -> i32 {
1036        unsafe {
1037            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1038            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2e00usize)as*mut u8,i32;
1039(UnitItem)__receiver)
1040        }
1041    }
1042    #[doc = "`set_RefineLevel(i32)` overload"]
1043    fn set_refine_level(self, value: impl ::core::convert::Into<i32>) -> () {
1044        unsafe {
1045            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1046            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2e10usize)as*mut u8,();
1047(UnitItem)__receiver,(i32)::core::convert::Into::into(value))
1048        }
1049    }
1050    #[doc = "`GetGiveSkills()` overload"]
1051    fn get_give_skills(self) -> crate::app::skillarray::SkillArray {
1052        unsafe {
1053            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1054            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2e60usize)as*mut u8,crate::app::skillarray::SkillArray;
1055(UnitItem)__receiver)
1056        }
1057    }
1058    #[doc = "`GetFontColor(bool)` overload"]
1059    fn get_font_color(self, is_active: impl ::core::convert::Into<bool>) -> crate::unity_engine::color::Color {
1060        unsafe {
1061            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1062            ::unity::il2cpp_call!((::unity::module_base()+0x1f95d70usize)as*mut u8,crate::unity_engine::color::Color;
1063(UnitItem)__receiver,(bool)::core::convert::Into::into(is_active))
1064        }
1065    }
1066    #[doc = "`Equals(crate::system::object::Object)` overload"]
1067    fn equals(self, rhs_obj: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
1068        unsafe {
1069            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1070            {
1071                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1072                let __vi = *__vt.get(0usize).unwrap_or_else(|| {
1073                    panic!(
1074                        "unity: virtual slot {}
1075 out of range (vtable len {}
1076) on the runtime class behind {}
1077 (method `{}
1078`)",
1079                        0usize,
1080                        __vt.len(),
1081                        <UnitItem as ::unity::ClassIdentity>::NAME,
1082                        "Equals",
1083                    )
1084                });
1085                let __inner: extern "C" fn(UnitItem, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
1086                    ::core::mem::transmute(__vi.method_ptr);
1087                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1088                __inner(__receiver, ::core::convert::Into::into(rhs_obj), __mi)
1089            }
1090        }
1091    }
1092    #[doc = "`Equals(crate::app::unititem::UnitItem)` overload"]
1093    fn equals_2(self, rhs: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> bool {
1094        unsafe {
1095            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1096            ::unity::il2cpp_call!((::unity::module_base()+0x1fb30e0usize)as*mut u8,bool;
1097(UnitItem)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(rhs))
1098        }
1099    }
1100    #[doc = "`GetHashCode()` overload"]
1101    fn get_hash_code(self) -> i32 {
1102        unsafe {
1103            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1104            {
1105                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1106                let __vi = *__vt.get(2usize).unwrap_or_else(|| {
1107                    panic!(
1108                        "unity: virtual slot {}
1109 out of range (vtable len {}
1110) on the runtime class behind {}
1111 (method `{}
1112`)",
1113                        2usize,
1114                        __vt.len(),
1115                        <UnitItem as ::unity::ClassIdentity>::NAME,
1116                        "GetHashCode",
1117                    )
1118                });
1119                let __inner: extern "C" fn(UnitItem, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
1120                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1121                __inner(__receiver, __mi)
1122            }
1123        }
1124    }
1125    #[doc = "`EqualsImpl(crate::app::unititem::UnitItem)` overload"]
1126    fn equals_impl(self, rhs: impl ::core::convert::Into<crate::app::unititem::UnitItem>) -> bool {
1127        unsafe {
1128            let __receiver = <UnitItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1129            ::unity::il2cpp_call!((::unity::module_base()+0x1fb2e80usize)as*mut u8,bool;
1130(UnitItem)__receiver,(crate::app::unititem::UnitItem)::core::convert::Into::into(rhs))
1131        }
1132    }
1133}
1134
1135#[cfg(feature = "app-unititem")]
1136impl<__T: IUnitItem> IUnitItemMethods for __T {}
1137
1138#[cfg(feature = "app-unititem")]
1139impl UnitItem {
1140    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1141        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1142    }
1143
1144    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1145        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1146    }
1147
1148    pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1149        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1150    }
1151
1152    pub fn ctor_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1153        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1154    }
1155
1156    pub fn ctor_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1157        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1158    }
1159
1160    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1161        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1162    }
1163
1164    pub fn op_implicit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1166    }
1167
1168    pub fn new_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1170    }
1171
1172    pub fn new_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1174    }
1175
1176    pub fn new_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1177        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1178    }
1179
1180    pub fn new_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1181        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1182    }
1183
1184    pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1186    }
1187
1188    pub fn expend_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1190    }
1191
1192    pub fn do_trade_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1194    }
1195
1196    pub fn do_transporter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1198    }
1199
1200    pub fn do_drop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1202    }
1203
1204    pub fn do_transfer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1206    }
1207
1208    pub fn can_expend_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1209        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1210    }
1211
1212    pub fn get_expend_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1213        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1214    }
1215
1216    pub fn can_enchant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1217        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1218    }
1219
1220    pub fn can_enchant_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1221        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1222    }
1223
1224    pub fn is_empty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1225        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1226    }
1227
1228    pub fn is_exist_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1229        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1230    }
1231
1232    pub fn is_integrate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1233        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1234    }
1235
1236    pub fn is_long_range_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1237        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1238    }
1239
1240    pub fn get_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1242    }
1243
1244    pub fn get_price_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1246    }
1247
1248    pub fn get_selling_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1250    }
1251
1252    pub fn is_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1254    }
1255
1256    pub fn not_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1258    }
1259
1260    pub fn is_none_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1262    }
1263
1264    pub fn is_inventory_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1266    }
1267
1268    pub fn get_kind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1270    }
1271
1272    pub fn get_use_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1274    }
1275
1276    pub fn get_rod_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1278    }
1279
1280    pub fn is_range_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1282    }
1283
1284    pub fn is_range_heal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1286    }
1287
1288    pub fn is_range_rest_heal_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1290    }
1291
1292    pub fn is_range_again_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1294    }
1295
1296    pub fn is_range_engage_add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1298    }
1299
1300    pub fn is_bless_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1301        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1302    }
1303
1304    pub fn is_bullet_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1305        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1306    }
1307
1308    pub fn get_shoot_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1309        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1310    }
1311
1312    pub fn get_hit_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1313        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1314    }
1315
1316    pub fn get_cannon_effect_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1317        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1318    }
1319
1320    pub fn get_attr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1322    }
1323
1324    pub fn get_weapon_attr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1325        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1326    }
1327
1328    pub fn is_weapon_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1329        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1330    }
1331
1332    pub fn is_physical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1333        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1334    }
1335
1336    pub fn is_magic_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1337        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
1338    }
1339
1340    pub fn is_breath_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
1342    }
1343
1344    pub fn is_surehit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
1346    }
1347
1348    pub fn is_rod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
1350    }
1351
1352    pub fn is_single_rod_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
1354    }
1355
1356    pub fn is_efficacy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[56]
1358    }
1359
1360    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[57]
1362    }
1363
1364    pub fn get_original_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[58]
1366    }
1367
1368    pub fn get_power_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[59]
1370    }
1371
1372    pub fn get_weight_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1373        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[60]
1374    }
1375
1376    pub fn get_hit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1377        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[61]
1378    }
1379
1380    pub fn get_critical_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1381        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[62]
1382    }
1383
1384    pub fn get_avoid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1385        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[63]
1386    }
1387
1388    pub fn get_secure_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1389        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[64]
1390    }
1391
1392    pub fn get_enhance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1393        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[65]
1394    }
1395
1396    pub fn get_times_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1397        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[66]
1398    }
1399
1400    pub fn get_equip_skills_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1401        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[67]
1402    }
1403
1404    pub fn get_sort_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1405        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[68]
1406    }
1407
1408    pub fn is_refined_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1409        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[69]
1410    }
1411
1412    pub fn get_max_refine_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1413        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[70]
1414    }
1415
1416    pub fn is_exist_refine_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1417        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[71]
1418    }
1419
1420    pub fn get_current_refine_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1421        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[72]
1422    }
1423
1424    pub fn get_next_refine_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1425        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[73]
1426    }
1427
1428    pub fn get_refine_data_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1429        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[74]
1430    }
1431
1432    pub fn can_evolve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1433        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[75]
1434    }
1435
1436    pub fn is_exist_evolve_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1437        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[76]
1438    }
1439
1440    pub fn get_evolve_data_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1441        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[77]
1442    }
1443
1444    pub fn can_engrave_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1445        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[78]
1446    }
1447
1448    pub fn is_engraved_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1449        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[79]
1450    }
1451
1452    pub fn set_engrave_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1453        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[80]
1454    }
1455
1456    pub fn get_engrave_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1457        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[81]
1458    }
1459
1460    pub fn get_menu_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1461        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[82]
1462    }
1463
1464    pub fn get_engage_weapon_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1465        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[83]
1466    }
1467
1468    pub fn set_engage_weapon_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1469        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[84]
1470    }
1471
1472    pub fn set_engage_weapon_god_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1473        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[85]
1474    }
1475
1476    pub fn clear_engage_weapon_god_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1477        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[86]
1478    }
1479
1480    pub fn update_engage_weapon_param_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1481        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[87]
1482    }
1483
1484    pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1485        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[88]
1486    }
1487
1488    pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1489        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[89]
1490    }
1491
1492    pub fn get_iid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1493        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[90]
1494    }
1495
1496    pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1497        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[91]
1498    }
1499
1500    pub fn is_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1501        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[92]
1502    }
1503
1504    pub fn set_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1505        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[93]
1506    }
1507
1508    pub fn clear_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1509        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[94]
1510    }
1511
1512    pub fn set_flags_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1513        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[95]
1514    }
1515
1516    pub fn get_is_equipped_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1517        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[96]
1518    }
1519
1520    pub fn set_is_equipped_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1521        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[97]
1522    }
1523
1524    pub fn get_is_drop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1525        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[98]
1526    }
1527
1528    pub fn set_is_drop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1529        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[99]
1530    }
1531
1532    pub fn get_is_skip_log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1533        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[100]
1534    }
1535
1536    pub fn set_is_skip_log_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[101]
1538    }
1539
1540    pub fn get_is_enchant_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[102]
1542    }
1543
1544    pub fn reset_enchant_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[103]
1546    }
1547
1548    pub fn set_enchant_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[104]
1550    }
1551
1552    pub fn set_enchant_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1553        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[105]
1554    }
1555
1556    pub fn get_enchant_hash_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1557        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[106]
1558    }
1559
1560    pub fn get_flags_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1561        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[107]
1562    }
1563
1564    pub fn set_flags_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1565        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[108]
1566    }
1567
1568    pub fn get_endurance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1569        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[109]
1570    }
1571
1572    pub fn set_endurance_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1573        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[110]
1574    }
1575
1576    pub fn get_refine_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1577        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[111]
1578    }
1579
1580    pub fn set_refine_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1581        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[112]
1582    }
1583
1584    pub fn sort_compare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1585        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[113]
1586    }
1587
1588    pub fn get_give_skills_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1589        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[114]
1590    }
1591
1592    pub fn get_font_color_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1593        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[115]
1594    }
1595
1596    pub fn op_equality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1597        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[116]
1598    }
1599
1600    pub fn op_inequality_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1601        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[117]
1602    }
1603
1604    pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1605        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[118]
1606    }
1607
1608    pub fn equals_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1609        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[119]
1610    }
1611
1612    pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1613        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[120]
1614    }
1615
1616    pub fn equals_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1617        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[121]
1618    }
1619
1620    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1621        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[122]
1622    }
1623}
1624
1625#[cfg(feature = "app-unititem")]
1626impl UnitItem {
1627    #[doc = "Direct (non-virtual) call to `UnitItem`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1628    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1629        let __mi = Self::dispose_method_info();
1630        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1631        __inner(this.into(), ::core::option::Option::None)
1632    }
1633
1634    #[doc = "Direct (non-virtual) call to `UnitItem`'s own `Equals`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1635    pub unsafe fn equals(this: impl ::core::convert::Into<::unity::IlInstance>, rhs_obj: crate::system::object::Object) -> bool {
1636        let __mi = Self::equals_method_info();
1637        let __inner: extern "C" fn(::unity::IlInstance, crate::system::object::Object, ::unity::OptionalMethod) -> bool =
1638            ::core::mem::transmute(__mi.method_ptr);
1639        __inner(this.into(), rhs_obj, ::core::option::Option::None)
1640    }
1641
1642    #[doc = "Direct (non-virtual) call to `UnitItem`'s own `GetHashCode`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1643    pub unsafe fn get_hash_code(this: impl ::core::convert::Into<::unity::IlInstance>) -> i32 {
1644        let __mi = Self::get_hash_code_method_info();
1645        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
1646        __inner(this.into(), ::core::option::Option::None)
1647    }
1648}
1649
1650#[cfg(feature = "app-unititem")]
1651impl UnitItem {
1652    #[doc = "`.ctor(crate::app::unititem::UnitItem)` — overload selector"]
1653    pub fn new_5(unit_item: crate::app::unititem::UnitItem) -> Self {
1654        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1655            panic!(
1656                "{}
1657::{}
1658 failed to instantiate",
1659                ::core::stringify!(UnitItem),
1660                ::core::stringify!(new_5),
1661            )
1662        });
1663        <Self as IUnitItemMethods>::ctor_5(this, unit_item);
1664        this
1665    }
1666}
1667
1668#[cfg(feature = "app-unititem")]
1669#[doc(hidden)]
1670pub mod prelude {
1671    pub use super::{IUnitItem, IUnitItemMethods, UnitItem, UnitItem_Flags};
1672    #[cfg(feature = "system-object")]
1673    pub use crate::system::object::IObjectMethods;
1674    #[cfg(feature = "system-enum")]
1675    pub use crate::system::r#enum::IEnumMethods;
1676    #[cfg(feature = "system-valuetype")]
1677    pub use crate::system::valuetype::IValueTypeMethods;
1678    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
1679}