Skip to main content

engage/generated/app/
profilecarddefaultcommentdata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecarddefaultcommentdata-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/profilecarddefaultcommentdata/ProfileCardDefaultCommentData.md"))]
18    #[::unity::class(namespace = "App", name = "ProfileCardDefaultCommentData")]
19    #[parent(crate::app::structdata_1::StructData_1<crate::app::profilecarddefaultcommentdata::ProfileCardDefaultCommentData>)]
20    pub struct ProfileCardDefaultCommentData {}
21}
22
23#[cfg(feature = "app-profilecarddefaultcommentdata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-profilecarddefaultcommentdata")]
27impl ProfileCardDefaultCommentData {
28    #[doc = "`Load()` overload"]
29    pub fn load() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2312170usize)as*mut u8,();
32            )
33        }
34    }
35}
36
37#[cfg(feature = "app-profilecarddefaultcommentdata")]
38pub trait IProfileCardDefaultCommentDataMethods: IProfileCardDefaultCommentData {
39    #[doc = "`get_Language()` overload"]
40    fn get_language(self) -> ::unity::Il2CppString {
41        unsafe {
42            let __receiver =
43                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
44            ::unity::il2cpp_call!((::unity::module_base()+0x23120f0usize)as*mut u8, ::unity::Il2CppString;
45(ProfileCardDefaultCommentData)__receiver)
46        }
47    }
48    #[doc = "`set_Language(::unity::Il2CppString)` overload"]
49    fn set_language(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
50        unsafe {
51            let __receiver =
52                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
53            ::unity::il2cpp_call!((::unity::module_base()+0x2312100usize)as*mut u8,();
54(ProfileCardDefaultCommentData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
55        }
56    }
57    #[doc = "`get_Id1()` overload"]
58    fn get_id1(self) -> ::unity::Il2CppString {
59        unsafe {
60            let __receiver =
61                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            ::unity::il2cpp_call!((::unity::module_base()+0x2312110usize)as*mut u8, ::unity::Il2CppString;
63(ProfileCardDefaultCommentData)__receiver)
64        }
65    }
66    #[doc = "`set_Id1(::unity::Il2CppString)` overload"]
67    fn set_id1(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
68        unsafe {
69            let __receiver =
70                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71            ::unity::il2cpp_call!((::unity::module_base()+0x2312120usize)as*mut u8,();
72(ProfileCardDefaultCommentData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
73        }
74    }
75    #[doc = "`get_Id2()` overload"]
76    fn get_id2(self) -> ::unity::Il2CppString {
77        unsafe {
78            let __receiver =
79                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
80            ::unity::il2cpp_call!((::unity::module_base()+0x2312130usize)as*mut u8, ::unity::Il2CppString;
81(ProfileCardDefaultCommentData)__receiver)
82        }
83    }
84    #[doc = "`set_Id2(::unity::Il2CppString)` overload"]
85    fn set_id2(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
86        unsafe {
87            let __receiver =
88                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89            ::unity::il2cpp_call!((::unity::module_base()+0x2312140usize)as*mut u8,();
90(ProfileCardDefaultCommentData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
91        }
92    }
93    #[doc = "`get_Id3()` overload"]
94    fn get_id3(self) -> ::unity::Il2CppString {
95        unsafe {
96            let __receiver =
97                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
98            ::unity::il2cpp_call!((::unity::module_base()+0x2312150usize)as*mut u8, ::unity::Il2CppString;
99(ProfileCardDefaultCommentData)__receiver)
100        }
101    }
102    #[doc = "`set_Id3(::unity::Il2CppString)` overload"]
103    fn set_id3(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
104        unsafe {
105            let __receiver =
106                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x2312160usize)as*mut u8,();
108(ProfileCardDefaultCommentData)__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                <ProfileCardDefaultCommentData 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                        <ProfileCardDefaultCommentData as ::unity::ClassIdentity>::NAME,
128                        "GetDebugName",
129                    )
130                });
131                let __inner: extern "C" fn(ProfileCardDefaultCommentData, ::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 = "`.ctor()` overload"]
139    fn ctor(self) -> () {
140        unsafe {
141            let __receiver =
142                <ProfileCardDefaultCommentData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x2312230usize)as*mut u8,();
144(ProfileCardDefaultCommentData)__receiver)
145        }
146    }
147}
148
149#[cfg(feature = "app-profilecarddefaultcommentdata")]
150impl<__T: IProfileCardDefaultCommentData> IProfileCardDefaultCommentDataMethods for __T {}
151
152#[cfg(feature = "app-profilecarddefaultcommentdata")]
153impl ProfileCardDefaultCommentData {
154    pub fn get_language_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
156    }
157
158    pub fn set_language_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
160    }
161
162    pub fn get_id1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
164    }
165
166    pub fn set_id1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
168    }
169
170    pub fn get_id2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
172    }
173
174    pub fn set_id2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
176    }
177
178    pub fn get_id3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
180    }
181
182    pub fn set_id3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
184    }
185
186    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
188    }
189
190    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
192    }
193
194    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
196    }
197}
198
199#[cfg(feature = "app-profilecarddefaultcommentdata")]
200impl ProfileCardDefaultCommentData {
201    #[doc = "Direct (non-virtual) call to `ProfileCardDefaultCommentData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
202    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
203        let __mi = Self::get_debug_name_method_info();
204        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
205        __inner(this.into(), ::core::option::Option::None)
206    }
207}
208
209#[cfg(feature = "app-profilecarddefaultcommentdata")]
210impl ProfileCardDefaultCommentData {
211    #[doc = "`.ctor()` — no args"]
212    pub fn new() -> Self {
213        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
214            panic!(
215                "{}
216::{}
217 failed to instantiate",
218                ::core::stringify!(ProfileCardDefaultCommentData),
219                ::core::stringify!(new),
220            )
221        });
222        <Self as IProfileCardDefaultCommentDataMethods>::ctor(this);
223        this
224    }
225}
226
227#[cfg(feature = "app-profilecarddefaultcommentdata")]
228#[doc(hidden)]
229pub mod prelude {
230    pub use super::{IProfileCardDefaultCommentData, IProfileCardDefaultCommentDataMethods, ProfileCardDefaultCommentData};
231    #[cfg(feature = "app-structbase")]
232    pub use crate::app::structbase::IStructBaseMethods;
233    #[cfg(feature = "app-structdata_1")]
234    pub use crate::app::structdata_1::IStructData_1Methods;
235    #[cfg(feature = "app-structtemplate_1")]
236    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
237    #[cfg(feature = "system-object")]
238    pub use crate::system::object::IObjectMethods;
239    pub use crate::{
240        app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
241        system::object::IObject,
242    };
243}