Skip to main content

engage/generated/app/
profilecardstampdata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecardstampdata-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            structbase::{IStructBase, StructBase},
11            structdata_1::{IStructData_1, StructData_1},
12            structtemplate_1::{IStructTemplate_1, StructTemplate_1},
13        },
14        system::{
15            object::{IObject, Object},
16            r#enum::{Enum, IEnum},
17            valuetype::{IValueType, ValueType},
18        },
19    };
20
21    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardstampdata/ProfileCardStampData.md"))]
22    #[::unity::class(namespace = "App", name = "ProfileCardStampData")]
23    #[parent(crate::app::structdata_1::StructData_1<crate::app::profilecardstampdata::ProfileCardStampData>)]
24    pub struct ProfileCardStampData {
25        #[static_field]
26        #[rename(name = "CategoryMid")]
27        pub category_mid: ::unity::Array<::unity::Il2CppString>,
28    }
29
30    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardstampdata/ProfileCardStampData_Categories.md"))]
31    #[repr(C)]
32    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
33    pub struct ProfileCardStampData_Categories {
34        pub value: i32,
35    }
36    impl ::unity::ClassIdentity for ProfileCardStampData_Categories {
37        const NAME: &'static str = "ProfileCardStampData.Categories";
38        const NAMESPACE: &'static str = "App";
39
40        fn class() -> ::unity::Class {
41            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
42            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
43        }
44    }
45    impl ::unity::IlType for ProfileCardStampData_Categories {
46        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
47            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
48        }
49    }
50    impl ProfileCardStampData_Categories {
51        pub fn unit() -> Self {
52            Self { value: 0 }
53        }
54
55        pub fn god_unit() -> Self {
56            Self { value: 1 }
57        }
58
59        pub fn weapon() -> Self {
60            Self { value: 2 }
61        }
62
63        pub fn god_weapon() -> Self {
64            Self { value: 3 }
65        }
66
67        pub fn rod_and_item() -> Self {
68            Self { value: 4 }
69        }
70
71        pub fn system() -> Self {
72            Self { value: 5 }
73        }
74
75        pub fn others() -> Self {
76            Self { value: 6 }
77        }
78
79        pub fn num() -> Self {
80            Self { value: 7 }
81        }
82    }
83}
84
85#[cfg(feature = "app-profilecardstampdata-types")]
86pub use __types::*;
87
88#[cfg(feature = "app-profilecardstampdata")]
89impl ProfileCardStampData {
90    #[doc = "`Load()` overload"]
91    pub fn load() -> () {
92        unsafe {
93            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1170usize)as*mut u8,();
94            )
95        }
96    }
97
98    #[doc = "`GetCategoryMid(crate::app::profilecardstampdata::ProfileCardStampData_Categories)` overload"]
99    pub fn get_category_mid(
100        category: impl ::core::convert::Into<crate::app::profilecardstampdata::ProfileCardStampData_Categories>,
101    ) -> ::unity::Il2CppString {
102        unsafe {
103            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1230usize)as*mut u8, ::unity::Il2CppString;
104(crate::app::profilecardstampdata::ProfileCardStampData_Categories)::core::convert::Into::into(category))
105        }
106    }
107
108    #[doc = "`.cctor()` overload"]
109    pub fn cctor() -> () {
110        unsafe {
111            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1370usize)as*mut u8,();
112            )
113        }
114    }
115}
116
117#[cfg(feature = "app-profilecardstampdata")]
118pub trait IProfileCardStampDataMethods: IProfileCardStampData {
119    #[doc = "`get_Id()` overload"]
120    fn get_id(self) -> ::unity::Il2CppString {
121        unsafe {
122            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123            ::unity::il2cpp_call!((::unity::module_base()+0x2bf10d0usize)as*mut u8, ::unity::Il2CppString;
124(ProfileCardStampData)__receiver)
125        }
126    }
127    #[doc = "`set_Id(::unity::Il2CppString)` overload"]
128    fn set_id(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
129        unsafe {
130            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131            ::unity::il2cpp_call!((::unity::module_base()+0x2bf10e0usize)as*mut u8,();
132(ProfileCardStampData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
133        }
134    }
135    #[doc = "`get_Image()` overload"]
136    fn get_image(self) -> ::unity::Il2CppString {
137        unsafe {
138            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139            ::unity::il2cpp_call!((::unity::module_base()+0x2bf10f0usize)as*mut u8, ::unity::Il2CppString;
140(ProfileCardStampData)__receiver)
141        }
142    }
143    #[doc = "`set_Image(::unity::Il2CppString)` overload"]
144    fn set_image(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
145        unsafe {
146            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1100usize)as*mut u8,();
148(ProfileCardStampData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
149        }
150    }
151    #[doc = "`get_Category()` overload"]
152    fn get_category(self) -> crate::app::profilecardstampdata::ProfileCardStampData_Categories {
153        unsafe {
154            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1110usize)as*mut u8,crate::app::profilecardstampdata::ProfileCardStampData_Categories;
156(ProfileCardStampData)__receiver)
157        }
158    }
159    #[doc = "`set_Category(crate::app::profilecardstampdata::ProfileCardStampData_Categories)` overload"]
160    fn set_category(self, value: impl ::core::convert::Into<crate::app::profilecardstampdata::ProfileCardStampData_Categories>) -> () {
161        unsafe {
162            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1120usize)as*mut u8,();
164(ProfileCardStampData)__receiver,(crate::app::profilecardstampdata::ProfileCardStampData_Categories)::core::convert::Into::into(value))
165        }
166    }
167    #[doc = "`get_Condition()` overload"]
168    fn get_condition(self) -> crate::app::profilecardcondition::ProfileCardCondition {
169        unsafe {
170            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1130usize)as*mut u8,crate::app::profilecardcondition::ProfileCardCondition;
172(ProfileCardStampData)__receiver)
173        }
174    }
175    #[doc = "`set_Condition(crate::app::profilecardcondition::ProfileCardCondition)` overload"]
176    fn set_condition(self, value: impl ::core::convert::Into<crate::app::profilecardcondition::ProfileCardCondition>) -> () {
177        unsafe {
178            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1140usize)as*mut u8,();
180(ProfileCardStampData)__receiver,(crate::app::profilecardcondition::ProfileCardCondition)::core::convert::Into::into(value))
181        }
182    }
183    #[doc = "`get_Arg()` overload"]
184    fn get_arg(self) -> ::unity::Il2CppString {
185        unsafe {
186            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1150usize)as*mut u8, ::unity::Il2CppString;
188(ProfileCardStampData)__receiver)
189        }
190    }
191    #[doc = "`set_Arg(::unity::Il2CppString)` overload"]
192    fn set_arg(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
193        unsafe {
194            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1160usize)as*mut u8,();
196(ProfileCardStampData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
197        }
198    }
199    #[doc = "`GetDebugName()` overload"]
200    fn get_debug_name(self) -> ::unity::Il2CppString {
201        unsafe {
202            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203            {
204                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
205                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
206                    panic!(
207                        "unity: virtual slot {}
208 out of range (vtable len {}
209) on the runtime class behind {}
210 (method `{}
211`)",
212                        8usize,
213                        __vt.len(),
214                        <ProfileCardStampData as ::unity::ClassIdentity>::NAME,
215                        "GetDebugName",
216                    )
217                });
218                let __inner: extern "C" fn(ProfileCardStampData, ::unity::OptionalMethod) -> ::unity::Il2CppString =
219                    ::core::mem::transmute(__vi.method_ptr);
220                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
221                __inner(__receiver, __mi)
222            }
223        }
224    }
225    #[doc = "`.ctor()` overload"]
226    fn ctor(self) -> () {
227        unsafe {
228            let __receiver = <ProfileCardStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
229            ::unity::il2cpp_call!((::unity::module_base()+0x2bf12f0usize)as*mut u8,();
230(ProfileCardStampData)__receiver)
231        }
232    }
233}
234
235#[cfg(feature = "app-profilecardstampdata")]
236impl<__T: IProfileCardStampData> IProfileCardStampDataMethods for __T {}
237
238#[cfg(feature = "app-profilecardstampdata")]
239impl ProfileCardStampData {
240    pub fn get_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
242    }
243
244    pub fn set_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
246    }
247
248    pub fn get_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
250    }
251
252    pub fn set_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
254    }
255
256    pub fn get_category_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
258    }
259
260    pub fn set_category_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
262    }
263
264    pub fn get_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
266    }
267
268    pub fn set_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
270    }
271
272    pub fn get_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
274    }
275
276    pub fn set_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
278    }
279
280    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
282    }
283
284    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
286    }
287
288    pub fn get_category_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
290    }
291
292    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
294    }
295
296    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
298    }
299}
300
301#[cfg(feature = "app-profilecardstampdata")]
302impl ProfileCardStampData {
303    #[doc = "Direct (non-virtual) call to `ProfileCardStampData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
304    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
305        let __mi = Self::get_debug_name_method_info();
306        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
307        __inner(this.into(), ::core::option::Option::None)
308    }
309}
310
311#[cfg(feature = "app-profilecardstampdata")]
312impl ProfileCardStampData {
313    #[doc = "`.ctor()` — no args"]
314    pub fn new() -> Self {
315        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
316            panic!(
317                "{}
318::{}
319 failed to instantiate",
320                ::core::stringify!(ProfileCardStampData),
321                ::core::stringify!(new),
322            )
323        });
324        <Self as IProfileCardStampDataMethods>::ctor(this);
325        this
326    }
327}
328
329#[cfg(feature = "app-profilecardstampdata")]
330#[doc(hidden)]
331pub mod prelude {
332    pub use super::{IProfileCardStampData, IProfileCardStampDataMethods, ProfileCardStampData, ProfileCardStampData_Categories};
333    #[cfg(feature = "app-structbase")]
334    pub use crate::app::structbase::IStructBaseMethods;
335    #[cfg(feature = "app-structdata_1")]
336    pub use crate::app::structdata_1::IStructData_1Methods;
337    #[cfg(feature = "app-structtemplate_1")]
338    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
339    #[cfg(feature = "system-object")]
340    pub use crate::system::object::IObjectMethods;
341    #[cfg(feature = "system-enum")]
342    pub use crate::system::r#enum::IEnumMethods;
343    #[cfg(feature = "system-valuetype")]
344    pub use crate::system::valuetype::IValueTypeMethods;
345    pub use crate::{
346        app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
347        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
348    };
349}