Skip to main content

engage/generated/app/
profilecardtextdecodata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecardtextdecodata-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/profilecardtextdecodata/ProfileCardTextDecoData.md"))]
18    #[::unity::class(namespace = "App", name = "ProfileCardTextDecoData")]
19    #[parent(crate::app::structdata_1::StructData_1<crate::app::profilecardtextdecodata::ProfileCardTextDecoData>)]
20    pub struct ProfileCardTextDecoData {}
21}
22
23#[cfg(feature = "app-profilecardtextdecodata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-profilecardtextdecodata")]
27impl ProfileCardTextDecoData {
28    #[doc = "`Load()` overload"]
29    pub fn load() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc510usize)as*mut u8,();
32            )
33        }
34    }
35}
36
37#[cfg(feature = "app-profilecardtextdecodata")]
38pub trait IProfileCardTextDecoDataMethods: IProfileCardTextDecoData {
39    #[doc = "`get_Id()` overload"]
40    fn get_id(self) -> ::unity::Il2CppString {
41        unsafe {
42            let __receiver =
43                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
44            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc490usize)as*mut u8, ::unity::Il2CppString;
45(ProfileCardTextDecoData)__receiver)
46        }
47    }
48    #[doc = "`set_Id(::unity::Il2CppString)` overload"]
49    fn set_id(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
50        unsafe {
51            let __receiver =
52                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc4a0usize)as*mut u8,();
54(ProfileCardTextDecoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
55        }
56    }
57    #[doc = "`get_Image()` overload"]
58    fn get_image(self) -> ::unity::Il2CppString {
59        unsafe {
60            let __receiver =
61                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc4b0usize)as*mut u8, ::unity::Il2CppString;
63(ProfileCardTextDecoData)__receiver)
64        }
65    }
66    #[doc = "`set_Image(::unity::Il2CppString)` overload"]
67    fn set_image(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
68        unsafe {
69            let __receiver =
70                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc4c0usize)as*mut u8,();
72(ProfileCardTextDecoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
73        }
74    }
75    #[doc = "`get_Condition()` overload"]
76    fn get_condition(self) -> crate::app::profilecardcondition::ProfileCardCondition {
77        unsafe {
78            let __receiver =
79                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc4d0usize)as*mut u8,crate::app::profilecardcondition::ProfileCardCondition;
81(ProfileCardTextDecoData)__receiver)
82        }
83    }
84    #[doc = "`set_Condition(crate::app::profilecardcondition::ProfileCardCondition)` overload"]
85    fn set_condition(self, value: impl ::core::convert::Into<crate::app::profilecardcondition::ProfileCardCondition>) -> () {
86        unsafe {
87            let __receiver =
88                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc4e0usize)as*mut u8,();
90(ProfileCardTextDecoData)__receiver,(crate::app::profilecardcondition::ProfileCardCondition)::core::convert::Into::into(value))
91        }
92    }
93    #[doc = "`get_Arg()` overload"]
94    fn get_arg(self) -> ::unity::Il2CppString {
95        unsafe {
96            let __receiver =
97                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc4f0usize)as*mut u8, ::unity::Il2CppString;
99(ProfileCardTextDecoData)__receiver)
100        }
101    }
102    #[doc = "`set_Arg(::unity::Il2CppString)` overload"]
103    fn set_arg(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
104        unsafe {
105            let __receiver =
106                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc500usize)as*mut u8,();
108(ProfileCardTextDecoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
109        }
110    }
111    #[doc = "`GetDebugName()` overload"]
112    fn get_debug_name(self) -> ::unity::Il2CppString {
113        unsafe {
114            let __receiver =
115                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116            {
117                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
118                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
119                    panic!(
120                        "unity: virtual slot {}
121 out of range (vtable len {}
122) on the runtime class behind {}
123 (method `{}
124`)",
125                        8usize,
126                        __vt.len(),
127                        <ProfileCardTextDecoData as ::unity::ClassIdentity>::NAME,
128                        "GetDebugName",
129                    )
130                });
131                let __inner: extern "C" fn(ProfileCardTextDecoData, ::unity::OptionalMethod) -> ::unity::Il2CppString =
132                    ::core::mem::transmute(__vi.method_ptr);
133                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
134                __inner(__receiver, __mi)
135            }
136        }
137    }
138    #[doc = "`GetNameImage()` overload"]
139    fn get_name_image(self) -> ::unity::Il2CppString {
140        unsafe {
141            let __receiver =
142                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc5d0usize)as*mut u8, ::unity::Il2CppString;
144(ProfileCardTextDecoData)__receiver)
145        }
146    }
147    #[doc = "`GetCommentImage()` overload"]
148    fn get_comment_image(self) -> ::unity::Il2CppString {
149        unsafe {
150            let __receiver =
151                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
152            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc630usize)as*mut u8, ::unity::Il2CppString;
153(ProfileCardTextDecoData)__receiver)
154        }
155    }
156    #[doc = "`GetTitleLargeImage()` overload"]
157    fn get_title_large_image(self) -> ::unity::Il2CppString {
158        unsafe {
159            let __receiver =
160                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc690usize)as*mut u8, ::unity::Il2CppString;
162(ProfileCardTextDecoData)__receiver)
163        }
164    }
165    #[doc = "`GetTitleSmallImage()` overload"]
166    fn get_title_small_image(self) -> ::unity::Il2CppString {
167        unsafe {
168            let __receiver =
169                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
170            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc6f0usize)as*mut u8, ::unity::Il2CppString;
171(ProfileCardTextDecoData)__receiver)
172        }
173    }
174    #[doc = "`GetColumnImage()` overload"]
175    fn get_column_image(self) -> ::unity::Il2CppString {
176        unsafe {
177            let __receiver =
178                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc750usize)as*mut u8, ::unity::Il2CppString;
180(ProfileCardTextDecoData)__receiver)
181        }
182    }
183    #[doc = "`GetLineImage()` overload"]
184    fn get_line_image(self) -> ::unity::Il2CppString {
185        unsafe {
186            let __receiver =
187                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
188            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc7b0usize)as*mut u8, ::unity::Il2CppString;
189(ProfileCardTextDecoData)__receiver)
190        }
191    }
192    #[doc = "`GetUnitNameImage()` overload"]
193    fn get_unit_name_image(self) -> ::unity::Il2CppString {
194        unsafe {
195            let __receiver =
196                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
197            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc810usize)as*mut u8, ::unity::Il2CppString;
198(ProfileCardTextDecoData)__receiver)
199        }
200    }
201    #[doc = "`GetAchievement1Image()` overload"]
202    fn get_achievement1_image(self) -> ::unity::Il2CppString {
203        unsafe {
204            let __receiver =
205                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc870usize)as*mut u8, ::unity::Il2CppString;
207(ProfileCardTextDecoData)__receiver)
208        }
209    }
210    #[doc = "`GetAchievement2Image()` overload"]
211    fn get_achievement2_image(self) -> ::unity::Il2CppString {
212        unsafe {
213            let __receiver =
214                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
215            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc8d0usize)as*mut u8, ::unity::Il2CppString;
216(ProfileCardTextDecoData)__receiver)
217        }
218    }
219    #[doc = "`.ctor()` overload"]
220    fn ctor(self) -> () {
221        unsafe {
222            let __receiver =
223                <ProfileCardTextDecoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
224            ::unity::il2cpp_call!((::unity::module_base()+0x2bfc930usize)as*mut u8,();
225(ProfileCardTextDecoData)__receiver)
226        }
227    }
228}
229
230#[cfg(feature = "app-profilecardtextdecodata")]
231impl<__T: IProfileCardTextDecoData> IProfileCardTextDecoDataMethods for __T {}
232
233#[cfg(feature = "app-profilecardtextdecodata")]
234impl ProfileCardTextDecoData {
235    pub fn get_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
237    }
238
239    pub fn set_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
241    }
242
243    pub fn get_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
245    }
246
247    pub fn set_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
249    }
250
251    pub fn get_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
253    }
254
255    pub fn set_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
257    }
258
259    pub fn get_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
261    }
262
263    pub fn set_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
265    }
266
267    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
269    }
270
271    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
273    }
274
275    pub fn get_name_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
277    }
278
279    pub fn get_comment_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
281    }
282
283    pub fn get_title_large_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
285    }
286
287    pub fn get_title_small_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
289    }
290
291    pub fn get_column_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
293    }
294
295    pub fn get_line_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
297    }
298
299    pub fn get_unit_name_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
301    }
302
303    pub fn get_achievement1_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
305    }
306
307    pub fn get_achievement2_image_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
309    }
310
311    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
313    }
314}
315
316#[cfg(feature = "app-profilecardtextdecodata")]
317impl ProfileCardTextDecoData {
318    #[doc = "Direct (non-virtual) call to `ProfileCardTextDecoData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
319    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
320        let __mi = Self::get_debug_name_method_info();
321        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
322        __inner(this.into(), ::core::option::Option::None)
323    }
324}
325
326#[cfg(feature = "app-profilecardtextdecodata")]
327impl ProfileCardTextDecoData {
328    #[doc = "`.ctor()` — no args"]
329    pub fn new() -> Self {
330        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
331            panic!(
332                "{}
333::{}
334 failed to instantiate",
335                ::core::stringify!(ProfileCardTextDecoData),
336                ::core::stringify!(new),
337            )
338        });
339        <Self as IProfileCardTextDecoDataMethods>::ctor(this);
340        this
341    }
342}
343
344#[cfg(feature = "app-profilecardtextdecodata")]
345#[doc(hidden)]
346pub mod prelude {
347    pub use super::{IProfileCardTextDecoData, IProfileCardTextDecoDataMethods, ProfileCardTextDecoData};
348    #[cfg(feature = "app-structbase")]
349    pub use crate::app::structbase::IStructBaseMethods;
350    #[cfg(feature = "app-structdata_1")]
351    pub use crate::app::structdata_1::IStructData_1Methods;
352    #[cfg(feature = "app-structtemplate_1")]
353    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
354    #[cfg(feature = "system-object")]
355    pub use crate::system::object::IObjectMethods;
356    pub use crate::{
357        app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
358        system::object::IObject,
359    };
360}