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