Skip to main content

engage/generated/app/
profilecardcharacterstampdata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecardcharacterstampdata-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::object::{IObject, Object},
15    };
16
17    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcharacterstampdata/ProfileCardCharacterStampData.md"))]
18    #[::unity::class(namespace = "App", name = "ProfileCardCharacterStampData")]
19    #[parent(crate::app::structdata_1::StructData_1<crate::app::profilecardcharacterstampdata::ProfileCardCharacterStampData>)]
20    pub struct ProfileCardCharacterStampData {}
21}
22
23#[cfg(feature = "app-profilecardcharacterstampdata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-profilecardcharacterstampdata")]
27impl ProfileCardCharacterStampData {
28    #[doc = "`Load()` overload"]
29    pub fn load() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x230d040usize)as*mut u8,();
32            )
33        }
34    }
35
36    #[doc = "`TryGetFromImage(::unity::Il2CppString)` overload"]
37    pub fn try_get_from_image(
38        image: impl ::core::convert::Into<::unity::Il2CppString>,
39    ) -> crate::app::profilecardcharacterstampdata::ProfileCardCharacterStampData {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x230d100usize)as*mut u8,crate::app::profilecardcharacterstampdata::ProfileCardCharacterStampData;
42(::unity::Il2CppString)::core::convert::Into::into(image))
43        }
44    }
45}
46
47#[cfg(feature = "app-profilecardcharacterstampdata")]
48pub trait IProfileCardCharacterStampDataMethods: IProfileCardCharacterStampData {
49    #[doc = "`get_Id()` overload"]
50    fn get_id(self) -> ::unity::Il2CppString {
51        unsafe {
52            let __receiver =
53                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54            ::unity::il2cpp_call!((::unity::module_base()+0x230cfc0usize)as*mut u8, ::unity::Il2CppString;
55(ProfileCardCharacterStampData)__receiver)
56        }
57    }
58    #[doc = "`set_Id(::unity::Il2CppString)` overload"]
59    fn set_id(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
60        unsafe {
61            let __receiver =
62                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
63            ::unity::il2cpp_call!((::unity::module_base()+0x230cfd0usize)as*mut u8,();
64(ProfileCardCharacterStampData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
65        }
66    }
67    #[doc = "`get_Image()` overload"]
68    fn get_image(self) -> ::unity::Il2CppString {
69        unsafe {
70            let __receiver =
71                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72            ::unity::il2cpp_call!((::unity::module_base()+0x230cfe0usize)as*mut u8, ::unity::Il2CppString;
73(ProfileCardCharacterStampData)__receiver)
74        }
75    }
76    #[doc = "`set_Image(::unity::Il2CppString)` overload"]
77    fn set_image(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
78        unsafe {
79            let __receiver =
80                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81            ::unity::il2cpp_call!((::unity::module_base()+0x230cff0usize)as*mut u8,();
82(ProfileCardCharacterStampData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
83        }
84    }
85    #[doc = "`get_Condition()` overload"]
86    fn get_condition(self) -> crate::app::profilecardcondition::ProfileCardCondition {
87        unsafe {
88            let __receiver =
89                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
90            ::unity::il2cpp_call!((::unity::module_base()+0x230d000usize)as*mut u8,crate::app::profilecardcondition::ProfileCardCondition;
91(ProfileCardCharacterStampData)__receiver)
92        }
93    }
94    #[doc = "`set_Condition(crate::app::profilecardcondition::ProfileCardCondition)` overload"]
95    fn set_condition(self, value: impl ::core::convert::Into<crate::app::profilecardcondition::ProfileCardCondition>) -> () {
96        unsafe {
97            let __receiver =
98                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99            ::unity::il2cpp_call!((::unity::module_base()+0x230d010usize)as*mut u8,();
100(ProfileCardCharacterStampData)__receiver,(crate::app::profilecardcondition::ProfileCardCondition)::core::convert::Into::into(value))
101        }
102    }
103    #[doc = "`get_Arg()` overload"]
104    fn get_arg(self) -> ::unity::Il2CppString {
105        unsafe {
106            let __receiver =
107                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108            ::unity::il2cpp_call!((::unity::module_base()+0x230d020usize)as*mut u8, ::unity::Il2CppString;
109(ProfileCardCharacterStampData)__receiver)
110        }
111    }
112    #[doc = "`set_Arg(::unity::Il2CppString)` overload"]
113    fn set_arg(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
114        unsafe {
115            let __receiver =
116                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            ::unity::il2cpp_call!((::unity::module_base()+0x230d030usize)as*mut u8,();
118(ProfileCardCharacterStampData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
119        }
120    }
121    #[doc = "`GetDebugName()` overload"]
122    fn get_debug_name(self) -> ::unity::Il2CppString {
123        unsafe {
124            let __receiver =
125                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126            {
127                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
128                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
129                    panic!(
130                        "unity: virtual slot {}
131 out of range (vtable len {}
132) on the runtime class behind {}
133 (method `{}
134`)",
135                        8usize,
136                        __vt.len(),
137                        <ProfileCardCharacterStampData as ::unity::ClassIdentity>::NAME,
138                        "GetDebugName",
139                    )
140                });
141                let __inner: extern "C" fn(ProfileCardCharacterStampData, ::unity::OptionalMethod) -> ::unity::Il2CppString =
142                    ::core::mem::transmute(__vi.method_ptr);
143                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
144                __inner(__receiver, __mi)
145            }
146        }
147    }
148    #[doc = "`.ctor()` overload"]
149    fn ctor(self) -> () {
150        unsafe {
151            let __receiver =
152                <ProfileCardCharacterStampData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153            ::unity::il2cpp_call!((::unity::module_base()+0x230d230usize)as*mut u8,();
154(ProfileCardCharacterStampData)__receiver)
155        }
156    }
157}
158
159#[cfg(feature = "app-profilecardcharacterstampdata")]
160impl<__T: IProfileCardCharacterStampData> IProfileCardCharacterStampDataMethods for __T {}
161
162#[cfg(feature = "app-profilecardcharacterstampdata")]
163impl ProfileCardCharacterStampData {
164    pub fn get_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
166    }
167
168    pub fn set_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
170    }
171
172    pub fn get_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
174    }
175
176    pub fn set_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
178    }
179
180    pub fn get_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
182    }
183
184    pub fn set_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
186    }
187
188    pub fn get_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
190    }
191
192    pub fn set_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
194    }
195
196    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
198    }
199
200    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
202    }
203
204    pub fn try_get_from_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
206    }
207
208    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
210    }
211}
212
213#[cfg(feature = "app-profilecardcharacterstampdata")]
214impl ProfileCardCharacterStampData {
215    #[doc = "Direct (non-virtual) call to `ProfileCardCharacterStampData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
216    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
217        let __mi = Self::get_debug_name_method_info();
218        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
219        __inner(this.into(), ::core::option::Option::None)
220    }
221}
222
223#[cfg(feature = "app-profilecardcharacterstampdata")]
224impl ProfileCardCharacterStampData {
225    #[doc = "`.ctor()` — no args"]
226    pub fn new() -> Self {
227        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
228            panic!(
229                "{}
230::{}
231 failed to instantiate",
232                ::core::stringify!(ProfileCardCharacterStampData),
233                ::core::stringify!(new),
234            )
235        });
236        <Self as IProfileCardCharacterStampDataMethods>::ctor(this);
237        this
238    }
239}
240
241#[cfg(feature = "app-profilecardcharacterstampdata")]
242#[doc(hidden)]
243pub mod prelude {
244    pub use super::{IProfileCardCharacterStampData, IProfileCardCharacterStampDataMethods, ProfileCardCharacterStampData};
245    #[cfg(feature = "app-structbase")]
246    pub use crate::app::structbase::IStructBaseMethods;
247    #[cfg(feature = "app-structdata_1")]
248    pub use crate::app::structdata_1::IStructData_1Methods;
249    #[cfg(feature = "app-structtemplate_1")]
250    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
251    #[cfg(feature = "system-object")]
252    pub use crate::system::object::IObjectMethods;
253    pub use crate::{
254        app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
255        system::object::IObject,
256    };
257}