Skip to main content

engage/generated/app/
profilecardfavoritemapdata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecardfavoritemapdata-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/profilecardfavoritemapdata/ProfileCardFavoriteMapData.md"))]
18    #[::unity::class(namespace = "App", name = "ProfileCardFavoriteMapData")]
19    #[parent(crate::app::structdata_1::StructData_1<crate::app::profilecardfavoritemapdata::ProfileCardFavoriteMapData>)]
20    pub struct ProfileCardFavoriteMapData {}
21}
22
23#[cfg(feature = "app-profilecardfavoritemapdata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-profilecardfavoritemapdata")]
27impl ProfileCardFavoriteMapData {
28    #[doc = "`Load()` overload"]
29    pub fn load() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2315490usize)as*mut u8,();
32            )
33        }
34    }
35
36    #[doc = "`TryGetFromCid(::unity::Il2CppString)` overload"]
37    pub fn try_get_from_cid(
38        cid: impl ::core::convert::Into<::unity::Il2CppString>,
39    ) -> crate::app::profilecardfavoritemapdata::ProfileCardFavoriteMapData {
40        unsafe {
41            ::unity::il2cpp_call!((::unity::module_base()+0x2315620usize)as*mut u8,crate::app::profilecardfavoritemapdata::ProfileCardFavoriteMapData;
42(::unity::Il2CppString)::core::convert::Into::into(cid))
43        }
44    }
45}
46
47#[cfg(feature = "app-profilecardfavoritemapdata")]
48pub trait IProfileCardFavoriteMapDataMethods: IProfileCardFavoriteMapData {
49    #[doc = "`get_Id()` overload"]
50    fn get_id(self) -> ::unity::Il2CppString {
51        unsafe {
52            let __receiver =
53                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54            ::unity::il2cpp_call!((::unity::module_base()+0x2315410usize)as*mut u8, ::unity::Il2CppString;
55(ProfileCardFavoriteMapData)__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                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
63            ::unity::il2cpp_call!((::unity::module_base()+0x2315420usize)as*mut u8,();
64(ProfileCardFavoriteMapData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
65        }
66    }
67    #[doc = "`get_Cid()` overload"]
68    fn get_cid(self) -> ::unity::Il2CppString {
69        unsafe {
70            let __receiver =
71                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
72            ::unity::il2cpp_call!((::unity::module_base()+0x2315430usize)as*mut u8, ::unity::Il2CppString;
73(ProfileCardFavoriteMapData)__receiver)
74        }
75    }
76    #[doc = "`set_Cid(::unity::Il2CppString)` overload"]
77    fn set_cid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
78        unsafe {
79            let __receiver =
80                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81            ::unity::il2cpp_call!((::unity::module_base()+0x2315440usize)as*mut u8,();
82(ProfileCardFavoriteMapData)__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                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
90            ::unity::il2cpp_call!((::unity::module_base()+0x2315450usize)as*mut u8,crate::app::profilecardcondition::ProfileCardCondition;
91(ProfileCardFavoriteMapData)__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                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99            ::unity::il2cpp_call!((::unity::module_base()+0x2315460usize)as*mut u8,();
100(ProfileCardFavoriteMapData)__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                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
108            ::unity::il2cpp_call!((::unity::module_base()+0x2315470usize)as*mut u8, ::unity::Il2CppString;
109(ProfileCardFavoriteMapData)__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                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
117            ::unity::il2cpp_call!((::unity::module_base()+0x2315480usize)as*mut u8,();
118(ProfileCardFavoriteMapData)__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                <ProfileCardFavoriteMapData 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                        <ProfileCardFavoriteMapData as ::unity::ClassIdentity>::NAME,
138                        "GetDebugName",
139                    )
140                });
141                let __inner: extern "C" fn(ProfileCardFavoriteMapData, ::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 = "`GetName()` overload"]
149    fn get_name(self) -> ::unity::Il2CppString {
150        unsafe {
151            let __receiver =
152                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153            ::unity::il2cpp_call!((::unity::module_base()+0x2315550usize)as*mut u8, ::unity::Il2CppString;
154(ProfileCardFavoriteMapData)__receiver)
155        }
156    }
157    #[doc = "`.ctor()` overload"]
158    fn ctor(self) -> () {
159        unsafe {
160            let __receiver =
161                <ProfileCardFavoriteMapData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
162            ::unity::il2cpp_call!((::unity::module_base()+0x2315750usize)as*mut u8,();
163(ProfileCardFavoriteMapData)__receiver)
164        }
165    }
166}
167
168#[cfg(feature = "app-profilecardfavoritemapdata")]
169impl<__T: IProfileCardFavoriteMapData> IProfileCardFavoriteMapDataMethods for __T {}
170
171#[cfg(feature = "app-profilecardfavoritemapdata")]
172impl ProfileCardFavoriteMapData {
173    pub fn get_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
174        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
175    }
176
177    pub fn set_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
178        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
179    }
180
181    pub fn get_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
182        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
183    }
184
185    pub fn set_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
186        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
187    }
188
189    pub fn get_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
190        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
191    }
192
193    pub fn set_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
194        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
195    }
196
197    pub fn get_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
198        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
199    }
200
201    pub fn set_arg_method_info() -> &'static ::unity::il2cpp::MethodInfo {
202        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
203    }
204
205    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
206        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
207    }
208
209    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
210        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
211    }
212
213    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
214        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
215    }
216
217    pub fn try_get_from_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
219    }
220
221    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
223    }
224}
225
226#[cfg(feature = "app-profilecardfavoritemapdata")]
227impl ProfileCardFavoriteMapData {
228    #[doc = "Direct (non-virtual) call to `ProfileCardFavoriteMapData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
229    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
230        let __mi = Self::get_debug_name_method_info();
231        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
232        __inner(this.into(), ::core::option::Option::None)
233    }
234}
235
236#[cfg(feature = "app-profilecardfavoritemapdata")]
237impl ProfileCardFavoriteMapData {
238    #[doc = "`.ctor()` — no args"]
239    pub fn new() -> Self {
240        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
241            panic!(
242                "{}
243::{}
244 failed to instantiate",
245                ::core::stringify!(ProfileCardFavoriteMapData),
246                ::core::stringify!(new),
247            )
248        });
249        <Self as IProfileCardFavoriteMapDataMethods>::ctor(this);
250        this
251    }
252}
253
254#[cfg(feature = "app-profilecardfavoritemapdata")]
255#[doc(hidden)]
256pub mod prelude {
257    pub use super::{IProfileCardFavoriteMapData, IProfileCardFavoriteMapDataMethods, ProfileCardFavoriteMapData};
258    #[cfg(feature = "app-structbase")]
259    pub use crate::app::structbase::IStructBaseMethods;
260    #[cfg(feature = "app-structdata_1")]
261    pub use crate::app::structdata_1::IStructData_1Methods;
262    #[cfg(feature = "app-structtemplate_1")]
263    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
264    #[cfg(feature = "system-object")]
265    pub use crate::system::object::IObjectMethods;
266    pub use crate::{
267        app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
268        system::object::IObject,
269    };
270}