Skip to main content

engage/generated/app/
itemevolvedata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-itemevolvedata-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            structbase::{IStructBase, StructBase},
11            structdataarray_1::{IStructDataArray_1, StructDataArray_1},
12            structtemplate_1::{IStructTemplate_1, StructTemplate_1},
13        },
14        system::object::{IObject, Object},
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/itemevolvedata/ItemEvolveData.md"))]
18    #[::unity::class(namespace = "App", name = "ItemEvolveData")]
19    #[parent(crate::app::structdataarray_1::StructDataArray_1<crate::app::itemevolvedata::ItemEvolveData>)]
20    pub struct ItemEvolveData {}
21}
22
23#[cfg(feature = "app-itemevolvedata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-itemevolvedata")]
27impl ItemEvolveData {
28    #[doc = "`Load()` overload"]
29    pub fn load() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x203da60usize)as*mut u8,();
32            )
33        }
34    }
35
36    #[doc = "`TryGetFromIid(::unity::Il2CppString)` overload"]
37    pub fn try_get_from_iid(
38        iid: impl ::core::convert::Into<::unity::Il2CppString>,
39    ) -> crate::system::collections::generic::list_1::List_1<crate::app::itemevolvedata::ItemEvolveData> {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x203db10usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::itemevolvedata::ItemEvolveData> ;
42(::unity::Il2CppString)::core::convert::Into::into(iid))
43        }
44    }
45
46    #[doc = "`TryGetFromItem(crate::app::itemdata::ItemData)` overload"]
47    pub fn try_get_from_item(
48        item: impl ::core::convert::Into<crate::app::itemdata::ItemData>,
49    ) -> crate::system::collections::generic::list_1::List_1<crate::app::itemevolvedata::ItemEvolveData> {
50        unsafe {
51            ::unity::il2cpp_call!((::unity::module_base()+0x203dc80usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::itemevolvedata::ItemEvolveData> ;
52(crate::app::itemdata::ItemData)::core::convert::Into::into(item))
53        }
54    }
55
56    #[doc = "`Iid2Eid(::unity::Il2CppString)` overload"]
57    pub fn iid2_eid(iid: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
58        unsafe {
59            ::unity::il2cpp_call!((::unity::module_base()+0x203dc00usize)as*mut u8, ::unity::Il2CppString;
60(::unity::Il2CppString)::core::convert::Into::into(iid))
61        }
62    }
63
64    #[doc = "`RegistGlobalFlags()` overload"]
65    pub fn regist_global_flags() -> () {
66        unsafe {
67            ::unity::il2cpp_call!((::unity::module_base()+0x203dfd0usize)as*mut u8,();
68            )
69        }
70    }
71}
72
73#[cfg(feature = "app-itemevolvedata")]
74pub trait IItemEvolveDataMethods: IItemEvolveData {
75    #[doc = "`get_Iid()` overload"]
76    fn get_iid(self) -> ::unity::Il2CppString {
77        unsafe {
78            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79            ::unity::il2cpp_call!((::unity::module_base()+0x203dd90usize)as*mut u8, ::unity::Il2CppString;
80(ItemEvolveData)__receiver)
81        }
82    }
83    #[doc = "`set_Iid(::unity::Il2CppString)` overload"]
84    fn set_iid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
85        unsafe {
86            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x203dda0usize)as*mut u8,();
88(ItemEvolveData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
89        }
90    }
91    #[doc = "`get_Iron()` overload"]
92    fn get_iron(self) -> u16 {
93        unsafe {
94            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95            ::unity::il2cpp_call!((::unity::module_base()+0x203ddb0usize)as*mut u8,u16;
96(ItemEvolveData)__receiver)
97        }
98    }
99    #[doc = "`set_Iron(u16)` overload"]
100    fn set_iron(self, value: impl ::core::convert::Into<u16>) -> () {
101        unsafe {
102            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103            ::unity::il2cpp_call!((::unity::module_base()+0x203ddc0usize)as*mut u8,();
104(ItemEvolveData)__receiver,(u16)::core::convert::Into::into(value))
105        }
106    }
107    #[doc = "`get_Steel()` overload"]
108    fn get_steel(self) -> u16 {
109        unsafe {
110            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111            ::unity::il2cpp_call!((::unity::module_base()+0x203ddd0usize)as*mut u8,u16;
112(ItemEvolveData)__receiver)
113        }
114    }
115    #[doc = "`set_Steel(u16)` overload"]
116    fn set_steel(self, value: impl ::core::convert::Into<u16>) -> () {
117        unsafe {
118            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x203dde0usize)as*mut u8,();
120(ItemEvolveData)__receiver,(u16)::core::convert::Into::into(value))
121        }
122    }
123    #[doc = "`get_Silver()` overload"]
124    fn get_silver(self) -> u16 {
125        unsafe {
126            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x203ddf0usize)as*mut u8,u16;
128(ItemEvolveData)__receiver)
129        }
130    }
131    #[doc = "`set_Silver(u16)` overload"]
132    fn set_silver(self, value: impl ::core::convert::Into<u16>) -> () {
133        unsafe {
134            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135            ::unity::il2cpp_call!((::unity::module_base()+0x203de00usize)as*mut u8,();
136(ItemEvolveData)__receiver,(u16)::core::convert::Into::into(value))
137        }
138    }
139    #[doc = "`get_Price()` overload"]
140    fn get_price(self) -> u16 {
141        unsafe {
142            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x203de10usize)as*mut u8,u16;
144(ItemEvolveData)__receiver)
145        }
146    }
147    #[doc = "`set_Price(u16)` overload"]
148    fn set_price(self, value: impl ::core::convert::Into<u16>) -> () {
149        unsafe {
150            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x203de20usize)as*mut u8,();
152(ItemEvolveData)__receiver,(u16)::core::convert::Into::into(value))
153        }
154    }
155    #[doc = "`get_RefineLevel()` overload"]
156    fn get_refine_level(self) -> u8 {
157        unsafe {
158            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
159            ::unity::il2cpp_call!((::unity::module_base()+0x203de30usize)as*mut u8,u8;
160(ItemEvolveData)__receiver)
161        }
162    }
163    #[doc = "`set_RefineLevel(u8)` overload"]
164    fn set_refine_level(self, value: impl ::core::convert::Into<u8>) -> () {
165        unsafe {
166            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
167            ::unity::il2cpp_call!((::unity::module_base()+0x203de40usize)as*mut u8,();
168(ItemEvolveData)__receiver,(u8)::core::convert::Into::into(value))
169        }
170    }
171    #[doc = "`GetDebugName()` overload"]
172    fn get_debug_name(self) -> ::unity::Il2CppString {
173        unsafe {
174            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175            {
176                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
177                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
178                    panic!(
179                        "unity: virtual slot {}
180 out of range (vtable len {}
181) on the runtime class behind {}
182 (method `{}
183`)",
184                        8usize,
185                        __vt.len(),
186                        <ItemEvolveData as ::unity::ClassIdentity>::NAME,
187                        "GetDebugName",
188                    )
189                });
190                let __inner: extern "C" fn(ItemEvolveData, ::unity::OptionalMethod) -> ::unity::Il2CppString =
191                    ::core::mem::transmute(__vi.method_ptr);
192                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
193                __inner(__receiver, __mi)
194            }
195        }
196    }
197    #[doc = "`GetFlagName()` overload"]
198    fn get_flag_name(self) -> ::unity::Il2CppString {
199        unsafe {
200            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201            ::unity::il2cpp_call!((::unity::module_base()+0x203dee0usize)as*mut u8, ::unity::Il2CppString;
202(ItemEvolveData)__receiver)
203        }
204    }
205    #[doc = "`IsOnceEvolved()` overload"]
206    fn is_once_evolved(self) -> bool {
207        unsafe {
208            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
209            ::unity::il2cpp_call!((::unity::module_base()+0x203e1b0usize)as*mut u8,bool;
210(ItemEvolveData)__receiver)
211        }
212    }
213    #[doc = "`SetEvolved(bool)` overload"]
214    fn set_evolved(self, evolved: impl ::core::convert::Into<bool>) -> () {
215        unsafe {
216            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            ::unity::il2cpp_call!((::unity::module_base()+0x203e2a0usize)as*mut u8,();
218(ItemEvolveData)__receiver,(bool)::core::convert::Into::into(evolved))
219        }
220    }
221    #[doc = "`.ctor()` overload"]
222    fn ctor(self) -> () {
223        unsafe {
224            let __receiver = <ItemEvolveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x203e5b0usize)as*mut u8,();
226(ItemEvolveData)__receiver)
227        }
228    }
229}
230
231#[cfg(feature = "app-itemevolvedata")]
232impl<__T: IItemEvolveData> IItemEvolveDataMethods for __T {}
233
234#[cfg(feature = "app-itemevolvedata")]
235impl ItemEvolveData {
236    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
238    }
239
240    pub fn try_get_from_iid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
242    }
243
244    pub fn try_get_from_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
246    }
247
248    pub fn iid2_eid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
250    }
251
252    pub fn get_iid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
254    }
255
256    pub fn set_iid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
258    }
259
260    pub fn get_iron_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
262    }
263
264    pub fn set_iron_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
266    }
267
268    pub fn get_steel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
270    }
271
272    pub fn set_steel_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
274    }
275
276    pub fn get_silver_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
278    }
279
280    pub fn set_silver_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
282    }
283
284    pub fn get_price_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
286    }
287
288    pub fn set_price_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
290    }
291
292    pub fn get_refine_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
294    }
295
296    pub fn set_refine_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
298    }
299
300    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
302    }
303
304    pub fn get_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
306    }
307
308    pub fn regist_global_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
309        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
310    }
311
312    pub fn is_once_evolved_method_info() -> &'static ::unity::il2cpp::MethodInfo {
313        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
314    }
315
316    pub fn set_evolved_method_info() -> &'static ::unity::il2cpp::MethodInfo {
317        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
318    }
319
320    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
322    }
323}
324
325#[cfg(feature = "app-itemevolvedata")]
326impl ItemEvolveData {
327    #[doc = "Direct (non-virtual) call to `ItemEvolveData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
328    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
329        let __mi = Self::get_debug_name_method_info();
330        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
331        __inner(this.into(), ::core::option::Option::None)
332    }
333}
334
335#[cfg(feature = "app-itemevolvedata")]
336impl ItemEvolveData {
337    #[doc = "`.ctor()` — no args"]
338    pub fn new() -> Self {
339        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
340            panic!(
341                "{}
342::{}
343 failed to instantiate",
344                ::core::stringify!(ItemEvolveData),
345                ::core::stringify!(new),
346            )
347        });
348        <Self as IItemEvolveDataMethods>::ctor(this);
349        this
350    }
351}
352
353#[cfg(feature = "app-itemevolvedata")]
354#[doc(hidden)]
355pub mod prelude {
356    pub use super::{IItemEvolveData, IItemEvolveDataMethods, ItemEvolveData};
357    #[cfg(feature = "app-structbase")]
358    pub use crate::app::structbase::IStructBaseMethods;
359    #[cfg(feature = "app-structdataarray_1")]
360    pub use crate::app::structdataarray_1::IStructDataArray_1Methods;
361    #[cfg(feature = "app-structtemplate_1")]
362    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
363    #[cfg(feature = "system-object")]
364    pub use crate::system::object::IObjectMethods;
365    pub use crate::{
366        app::{structbase::IStructBase, structdataarray_1::IStructDataArray_1, structtemplate_1::IStructTemplate_1},
367        system::object::IObject,
368    };
369}