1#[cfg(feature = "app-profilecardtopmenu-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 basicmenu::{BasicMenu, IBasicMenu},
11 basicmenuitem::{BasicMenuItem, IBasicMenuItem},
12 procinst::{IProcInst, ProcInst},
13 },
14 system::{
15 delegate::{Delegate, IDelegate},
16 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
17 object::{IObject, Object},
18 r#enum::{Enum, IEnum},
19 valuetype::{IValueType, ValueType},
20 },
21 };
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu_MyCardMenuItem.md"))]
24 #[::unity::class(namespace = "App", name = "ProfileCardTopMenu.MyCardMenuItem")]
25 #[parent(crate::app::basicmenuitem::BasicMenuItem)]
26 pub struct ProfileCardTopMenu_MyCardMenuItem {
27 #[offset(104)]
28 #[rename(name = "m_DecideEventHandler")]
29 pub m_decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler,
30 }
31
32 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu_StampVisibilitySettingMenuItem.md"))]
33 #[::unity::class(namespace = "App", name = "ProfileCardTopMenu.StampVisibilitySettingMenuItem")]
34 #[parent(crate::app::basicmenuitem::BasicMenuItem)]
35 pub struct ProfileCardTopMenu_StampVisibilitySettingMenuItem {
36 #[offset(104)]
37 #[rename(name = "m_DecideEventHandler")]
38 pub m_decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler,
39 }
40
41 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu_PhotoMenuItem.md"))]
42 #[::unity::class(namespace = "App", name = "ProfileCardTopMenu.PhotoMenuItem")]
43 #[parent(crate::app::basicmenuitem::BasicMenuItem)]
44 pub struct ProfileCardTopMenu_PhotoMenuItem {
45 #[offset(100)]
46 #[rename(name = "m_Enabled")]
47 pub m_enabled: bool,
48 #[offset(104)]
49 #[rename(name = "m_DecideEventHandler")]
50 pub m_decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler,
51 }
52
53 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu.md"))]
54 #[::unity::class(namespace = "App", name = "ProfileCardTopMenu")]
55 #[parent(crate::app::basicmenu::BasicMenu)]
56 pub struct ProfileCardTopMenu {
57 #[offset(200)]
58 #[rename(name = "m_DecideEventHandler")]
59 pub m_decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler,
60 #[offset(208)]
61 #[rename(name = "m_Root")]
62 pub m_root: crate::app::profilecardtopmenuroot::ProfileCardTopMenuRoot,
63 }
64
65 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu_Result2.md"))]
66 #[repr(C)]
67 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
68 pub struct ProfileCardTopMenu_Result2 {
69 pub value: i32,
70 }
71 impl ::unity::ClassIdentity for ProfileCardTopMenu_Result2 {
72 const NAME: &'static str = "ProfileCardTopMenu.Result2";
73 const NAMESPACE: &'static str = "App";
74
75 fn class() -> ::unity::Class {
76 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
77 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
78 }
79 }
80 impl ::unity::IlType for ProfileCardTopMenu_Result2 {
81 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
82 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
83 }
84 }
85 impl ProfileCardTopMenu_Result2 {
86 pub fn my_card() -> Self {
87 Self { value: 0 }
88 }
89
90 pub fn album() -> Self {
91 Self { value: 1 }
92 }
93
94 pub fn photo() -> Self {
95 Self { value: 2 }
96 }
97
98 pub fn public_setting() -> Self {
99 Self { value: 3 }
100 }
101
102 pub fn stamp_visibility_setting() -> Self {
103 Self { value: 4 }
104 }
105
106 pub fn end() -> Self {
107 Self { value: 5 }
108 }
109 }
110
111 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu_PublicSettingMenuItem.md"))]
112 #[::unity::class(namespace = "App", name = "ProfileCardTopMenu.PublicSettingMenuItem")]
113 #[parent(crate::app::basicmenuitem::BasicMenuItem)]
114 pub struct ProfileCardTopMenu_PublicSettingMenuItem {
115 #[offset(104)]
116 #[rename(name = "m_DecideEventHandler")]
117 pub m_decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler,
118 }
119
120 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu_AlbumMenuItem.md"))]
121 #[::unity::class(namespace = "App", name = "ProfileCardTopMenu.AlbumMenuItem")]
122 #[parent(crate::app::basicmenuitem::BasicMenuItem)]
123 pub struct ProfileCardTopMenu_AlbumMenuItem {
124 #[offset(100)]
125 #[rename(name = "m_Enabled")]
126 pub m_enabled: bool,
127 #[offset(104)]
128 #[rename(name = "m_DecideEventHandler")]
129 pub m_decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler,
130 }
131
132 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardtopmenu/ProfileCardTopMenu_DecideEventHandler.md"))]
133 #[::unity::class(namespace = "App", name = "ProfileCardTopMenu.DecideEventHandler")]
134 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
135 pub struct ProfileCardTopMenu_DecideEventHandler {}
136}
137
138#[cfg(feature = "app-profilecardtopmenu-types")]
139pub use __types::*;
140
141#[cfg(feature = "app-profilecardtopmenu")]
142pub trait IProfileCardTopMenu_MyCardMenuItemMethods: IProfileCardTopMenu_MyCardMenuItem {
143 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` overload"]
144 fn ctor(self, decide_event_handler: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler>) -> () {
145 unsafe {
146 let __receiver =
147 <ProfileCardTopMenu_MyCardMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
148 ::unity::il2cpp_call!((::unity::module_base()+0x226d8b0usize)as*mut u8,();
149(ProfileCardTopMenu_MyCardMenuItem)__receiver,(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
150 }
151 }
152 #[doc = "`GetName()` overload"]
153 fn get_name(self) -> ::unity::Il2CppString {
154 unsafe {
155 let __receiver =
156 <ProfileCardTopMenu_MyCardMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157 {
158 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
159 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
160 panic!(
161 "unity: virtual slot {}
162 out of range (vtable len {}
163) on the runtime class behind {}
164 (method `{}
165`)",
166 4usize,
167 __vt.len(),
168 <ProfileCardTopMenu_MyCardMenuItem as ::unity::ClassIdentity>::NAME,
169 "GetName",
170 )
171 });
172 let __inner: extern "C" fn(ProfileCardTopMenu_MyCardMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
173 ::core::mem::transmute(__vi.method_ptr);
174 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
175 __inner(__receiver, __mi)
176 }
177 }
178 }
179 #[doc = "`OnSelect()` overload"]
180 fn on_select(self) -> () {
181 unsafe {
182 let __receiver =
183 <ProfileCardTopMenu_MyCardMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
184 {
185 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
186 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
187 panic!(
188 "unity: virtual slot {}
189 out of range (vtable len {}
190) on the runtime class behind {}
191 (method `{}
192`)",
193 12usize,
194 __vt.len(),
195 <ProfileCardTopMenu_MyCardMenuItem as ::unity::ClassIdentity>::NAME,
196 "OnSelect",
197 )
198 });
199 let __inner: extern "C" fn(ProfileCardTopMenu_MyCardMenuItem, ::unity::OptionalMethod) -> () =
200 ::core::mem::transmute(__vi.method_ptr);
201 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
202 __inner(__receiver, __mi)
203 }
204 }
205 }
206 #[doc = "`ACall()` overload"]
207 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
208 unsafe {
209 let __receiver =
210 <ProfileCardTopMenu_MyCardMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211 {
212 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
213 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
214 panic!(
215 "unity: virtual slot {}
216 out of range (vtable len {}
217) on the runtime class behind {}
218 (method `{}
219`)",
220 18usize,
221 __vt.len(),
222 <ProfileCardTopMenu_MyCardMenuItem as ::unity::ClassIdentity>::NAME,
223 "ACall",
224 )
225 });
226 let __inner: extern "C" fn(ProfileCardTopMenu_MyCardMenuItem, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
227 ::core::mem::transmute(__vi.method_ptr);
228 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
229 __inner(__receiver, __mi)
230 }
231 }
232 }
233}
234
235#[cfg(feature = "app-profilecardtopmenu")]
236impl<__T: IProfileCardTopMenu_MyCardMenuItem> IProfileCardTopMenu_MyCardMenuItemMethods for __T {}
237
238#[cfg(feature = "app-profilecardtopmenu")]
239impl ProfileCardTopMenu_MyCardMenuItem {
240 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
242 }
243
244 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
246 }
247
248 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
250 }
251
252 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
254 }
255}
256
257#[cfg(feature = "app-profilecardtopmenu")]
258impl ProfileCardTopMenu_MyCardMenuItem {
259 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_MyCardMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
260 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
261 let __mi = Self::get_name_method_info();
262 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
263 __inner(this.into(), ::core::option::Option::None)
264 }
265
266 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_MyCardMenuItem`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
267 pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
268 let __mi = Self::on_select_method_info();
269 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
270 __inner(this.into(), ::core::option::Option::None)
271 }
272
273 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_MyCardMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
274 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
275 let __mi = Self::a_call_method_info();
276 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
277 ::core::mem::transmute(__mi.method_ptr);
278 __inner(this.into(), ::core::option::Option::None)
279 }
280}
281
282#[cfg(feature = "app-profilecardtopmenu")]
283impl ProfileCardTopMenu_MyCardMenuItem {
284 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` — overload selector"]
285 pub fn new(decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler) -> Self {
286 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
287 panic!(
288 "{}
289::{}
290 failed to instantiate",
291 ::core::stringify!(ProfileCardTopMenu_MyCardMenuItem),
292 ::core::stringify!(new),
293 )
294 });
295 <Self as IProfileCardTopMenu_MyCardMenuItemMethods>::ctor(this, decide_event_handler);
296 this
297 }
298}
299
300#[cfg(feature = "app-profilecardtopmenu")]
301pub trait IProfileCardTopMenu_StampVisibilitySettingMenuItemMethods: IProfileCardTopMenu_StampVisibilitySettingMenuItem {
302 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` overload"]
303 fn ctor(self, decide_event_handler: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler>) -> () {
304 unsafe {
305 let __receiver = <ProfileCardTopMenu_StampVisibilitySettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
306 <Self as ::unity::SystemObject>::as_instance(self),
307 );
308 ::unity::il2cpp_call!((::unity::module_base()+0x226dfa0usize)as*mut u8,();
309(ProfileCardTopMenu_StampVisibilitySettingMenuItem)__receiver,(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
310 }
311 }
312 #[doc = "`GetName()` overload"]
313 fn get_name(self) -> ::unity::Il2CppString {
314 unsafe {
315 let __receiver = <ProfileCardTopMenu_StampVisibilitySettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
316 <Self as ::unity::SystemObject>::as_instance(self),
317 );
318 {
319 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
320 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
321 panic!(
322 "unity: virtual slot {}
323 out of range (vtable len {}
324) on the runtime class behind {}
325 (method `{}
326`)",
327 4usize,
328 __vt.len(),
329 <ProfileCardTopMenu_StampVisibilitySettingMenuItem as ::unity::ClassIdentity>::NAME,
330 "GetName",
331 )
332 });
333 let __inner: extern "C" fn(ProfileCardTopMenu_StampVisibilitySettingMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
334 ::core::mem::transmute(__vi.method_ptr);
335 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
336 __inner(__receiver, __mi)
337 }
338 }
339 }
340 #[doc = "`OnSelect()` overload"]
341 fn on_select(self) -> () {
342 unsafe {
343 let __receiver = <ProfileCardTopMenu_StampVisibilitySettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
344 <Self as ::unity::SystemObject>::as_instance(self),
345 );
346 {
347 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
348 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
349 panic!(
350 "unity: virtual slot {}
351 out of range (vtable len {}
352) on the runtime class behind {}
353 (method `{}
354`)",
355 12usize,
356 __vt.len(),
357 <ProfileCardTopMenu_StampVisibilitySettingMenuItem as ::unity::ClassIdentity>::NAME,
358 "OnSelect",
359 )
360 });
361 let __inner: extern "C" fn(ProfileCardTopMenu_StampVisibilitySettingMenuItem, ::unity::OptionalMethod) -> () =
362 ::core::mem::transmute(__vi.method_ptr);
363 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
364 __inner(__receiver, __mi)
365 }
366 }
367 }
368 #[doc = "`ACall()` overload"]
369 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
370 unsafe {
371 let __receiver = <ProfileCardTopMenu_StampVisibilitySettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
372 <Self as ::unity::SystemObject>::as_instance(self),
373 );
374 {
375 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
376 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
377 panic!(
378 "unity: virtual slot {}
379 out of range (vtable len {}
380) on the runtime class behind {}
381 (method `{}
382`)",
383 18usize,
384 __vt.len(),
385 <ProfileCardTopMenu_StampVisibilitySettingMenuItem as ::unity::ClassIdentity>::NAME,
386 "ACall",
387 )
388 });
389 let __inner: extern "C" fn(
390 ProfileCardTopMenu_StampVisibilitySettingMenuItem,
391 ::unity::OptionalMethod,
392 ) -> crate::app::basicmenu::BasicMenu_Result = ::core::mem::transmute(__vi.method_ptr);
393 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
394 __inner(__receiver, __mi)
395 }
396 }
397 }
398}
399
400#[cfg(feature = "app-profilecardtopmenu")]
401impl<__T: IProfileCardTopMenu_StampVisibilitySettingMenuItem> IProfileCardTopMenu_StampVisibilitySettingMenuItemMethods for __T {}
402
403#[cfg(feature = "app-profilecardtopmenu")]
404impl ProfileCardTopMenu_StampVisibilitySettingMenuItem {
405 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
407 }
408
409 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
411 }
412
413 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
415 }
416
417 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
419 }
420}
421
422#[cfg(feature = "app-profilecardtopmenu")]
423impl ProfileCardTopMenu_StampVisibilitySettingMenuItem {
424 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_StampVisibilitySettingMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
425 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
426 let __mi = Self::get_name_method_info();
427 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
428 __inner(this.into(), ::core::option::Option::None)
429 }
430
431 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_StampVisibilitySettingMenuItem`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
432 pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
433 let __mi = Self::on_select_method_info();
434 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
435 __inner(this.into(), ::core::option::Option::None)
436 }
437
438 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_StampVisibilitySettingMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
439 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
440 let __mi = Self::a_call_method_info();
441 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
442 ::core::mem::transmute(__mi.method_ptr);
443 __inner(this.into(), ::core::option::Option::None)
444 }
445}
446
447#[cfg(feature = "app-profilecardtopmenu")]
448impl ProfileCardTopMenu_StampVisibilitySettingMenuItem {
449 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` — overload selector"]
450 pub fn new(decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler) -> Self {
451 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
452 panic!(
453 "{}
454::{}
455 failed to instantiate",
456 ::core::stringify!(ProfileCardTopMenu_StampVisibilitySettingMenuItem),
457 ::core::stringify!(new),
458 )
459 });
460 <Self as IProfileCardTopMenu_StampVisibilitySettingMenuItemMethods>::ctor(this, decide_event_handler);
461 this
462 }
463}
464
465#[cfg(feature = "app-profilecardtopmenu")]
466pub trait IProfileCardTopMenu_PhotoMenuItemMethods: IProfileCardTopMenu_PhotoMenuItem {
467 #[doc = "`.ctor(bool, crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` overload"]
468 fn ctor(
469 self,
470 enabled: impl ::core::convert::Into<bool>,
471 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler>,
472 ) -> () {
473 unsafe {
474 let __receiver =
475 <ProfileCardTopMenu_PhotoMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
476 ::unity::il2cpp_call!((::unity::module_base()+0x226da70usize)as*mut u8,();
477(ProfileCardTopMenu_PhotoMenuItem)__receiver,(bool)::core::convert::Into::into(enabled),(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
478 }
479 }
480 #[doc = "`GetName()` overload"]
481 fn get_name(self) -> ::unity::Il2CppString {
482 unsafe {
483 let __receiver =
484 <ProfileCardTopMenu_PhotoMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
485 {
486 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
487 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
488 panic!(
489 "unity: virtual slot {}
490 out of range (vtable len {}
491) on the runtime class behind {}
492 (method `{}
493`)",
494 4usize,
495 __vt.len(),
496 <ProfileCardTopMenu_PhotoMenuItem as ::unity::ClassIdentity>::NAME,
497 "GetName",
498 )
499 });
500 let __inner: extern "C" fn(ProfileCardTopMenu_PhotoMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
501 ::core::mem::transmute(__vi.method_ptr);
502 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
503 __inner(__receiver, __mi)
504 }
505 }
506 }
507 #[doc = "`BuildAttribute()` overload"]
508 fn build_attribute(self) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
509 unsafe {
510 let __receiver =
511 <ProfileCardTopMenu_PhotoMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
512 {
513 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
514 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
515 panic!(
516 "unity: virtual slot {}
517 out of range (vtable len {}
518) on the runtime class behind {}
519 (method `{}
520`)",
521 8usize,
522 __vt.len(),
523 <ProfileCardTopMenu_PhotoMenuItem as ::unity::ClassIdentity>::NAME,
524 "BuildAttribute",
525 )
526 });
527 let __inner: extern "C" fn(
528 ProfileCardTopMenu_PhotoMenuItem,
529 ::unity::OptionalMethod,
530 ) -> crate::app::basicmenuitem::BasicMenuItem_Attribute = ::core::mem::transmute(__vi.method_ptr);
531 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
532 __inner(__receiver, __mi)
533 }
534 }
535 }
536 #[doc = "`OnSelect()` overload"]
537 fn on_select(self) -> () {
538 unsafe {
539 let __receiver =
540 <ProfileCardTopMenu_PhotoMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 {
542 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
543 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
544 panic!(
545 "unity: virtual slot {}
546 out of range (vtable len {}
547) on the runtime class behind {}
548 (method `{}
549`)",
550 12usize,
551 __vt.len(),
552 <ProfileCardTopMenu_PhotoMenuItem as ::unity::ClassIdentity>::NAME,
553 "OnSelect",
554 )
555 });
556 let __inner: extern "C" fn(ProfileCardTopMenu_PhotoMenuItem, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
557 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
558 __inner(__receiver, __mi)
559 }
560 }
561 }
562 #[doc = "`ACall()` overload"]
563 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
564 unsafe {
565 let __receiver =
566 <ProfileCardTopMenu_PhotoMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
567 {
568 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
569 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
570 panic!(
571 "unity: virtual slot {}
572 out of range (vtable len {}
573) on the runtime class behind {}
574 (method `{}
575`)",
576 18usize,
577 __vt.len(),
578 <ProfileCardTopMenu_PhotoMenuItem as ::unity::ClassIdentity>::NAME,
579 "ACall",
580 )
581 });
582 let __inner: extern "C" fn(ProfileCardTopMenu_PhotoMenuItem, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
583 ::core::mem::transmute(__vi.method_ptr);
584 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
585 __inner(__receiver, __mi)
586 }
587 }
588 }
589}
590
591#[cfg(feature = "app-profilecardtopmenu")]
592impl<__T: IProfileCardTopMenu_PhotoMenuItem> IProfileCardTopMenu_PhotoMenuItemMethods for __T {}
593
594#[cfg(feature = "app-profilecardtopmenu")]
595impl ProfileCardTopMenu_PhotoMenuItem {
596 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
597 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
598 }
599
600 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
601 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
602 }
603
604 pub fn build_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
605 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
606 }
607
608 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
609 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
610 }
611
612 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
613 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
614 }
615}
616
617#[cfg(feature = "app-profilecardtopmenu")]
618impl ProfileCardTopMenu_PhotoMenuItem {
619 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_PhotoMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
620 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
621 let __mi = Self::get_name_method_info();
622 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
623 __inner(this.into(), ::core::option::Option::None)
624 }
625
626 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_PhotoMenuItem`'s own `BuildAttribute`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
627 pub unsafe fn build_attribute(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
628 let __mi = Self::build_attribute_method_info();
629 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenuitem::BasicMenuItem_Attribute =
630 ::core::mem::transmute(__mi.method_ptr);
631 __inner(this.into(), ::core::option::Option::None)
632 }
633
634 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_PhotoMenuItem`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
635 pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
636 let __mi = Self::on_select_method_info();
637 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
638 __inner(this.into(), ::core::option::Option::None)
639 }
640
641 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_PhotoMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
642 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
643 let __mi = Self::a_call_method_info();
644 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
645 ::core::mem::transmute(__mi.method_ptr);
646 __inner(this.into(), ::core::option::Option::None)
647 }
648}
649
650#[cfg(feature = "app-profilecardtopmenu")]
651impl ProfileCardTopMenu_PhotoMenuItem {
652 #[doc = "`.ctor(bool, crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` — overload selector"]
653 pub fn new(enabled: bool, decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler) -> Self {
654 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
655 panic!(
656 "{}
657::{}
658 failed to instantiate",
659 ::core::stringify!(ProfileCardTopMenu_PhotoMenuItem),
660 ::core::stringify!(new),
661 )
662 });
663 <Self as IProfileCardTopMenu_PhotoMenuItemMethods>::ctor(this, enabled, decide_event_handler);
664 this
665 }
666}
667
668#[cfg(feature = "app-profilecardtopmenu")]
669impl ProfileCardTopMenu {
670 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2, bool, crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` overload"]
671 pub fn create_bind(
672 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
673 initial_selected: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2>,
674 enabled_photo: impl ::core::convert::Into<bool>,
675 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler>,
676 ) -> crate::app::profilecardtopmenu::ProfileCardTopMenu {
677 unsafe {
678 ::unity::il2cpp_call!((::unity::module_base()+0x2bff860usize)as*mut u8,crate::app::profilecardtopmenu::ProfileCardTopMenu;
679(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2)::core::convert::Into::into(initial_selected),(bool)::core::convert::Into::into(enabled_photo),(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
680 }
681 }
682}
683
684#[cfg(feature = "app-profilecardtopmenu")]
685pub trait IProfileCardTopMenuMethods: IProfileCardTopMenu {
686 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, crate::app::profilecardtopmenuroot::ProfileCardTopMenuRoot, crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2, crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` overload"]
687 fn ctor(
688 self,
689 menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
690 menu_content: impl ::core::convert::Into<crate::app::basicmenucontent::BasicMenuContent>,
691 menu_root: impl ::core::convert::Into<crate::app::profilecardtopmenuroot::ProfileCardTopMenuRoot>,
692 initial_selected: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2>,
693 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler>,
694 ) -> () {
695 unsafe {
696 let __receiver = <ProfileCardTopMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
697 ::unity::il2cpp_call!((::unity::module_base()+0x2bffc50usize)as*mut u8,();
698(ProfileCardTopMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::app::basicmenucontent::BasicMenuContent)::core::convert::Into::into(menu_content),(crate::app::profilecardtopmenuroot::ProfileCardTopMenuRoot)::core::convert::Into::into(menu_root),(crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2)::core::convert::Into::into(initial_selected),(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
699 }
700 }
701 #[doc = "`GetName()` overload"]
702 fn get_name(self) -> ::unity::Il2CppString {
703 unsafe {
704 let __receiver = <ProfileCardTopMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
705 {
706 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
707 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
708 panic!(
709 "unity: virtual slot {}
710 out of range (vtable len {}
711) on the runtime class behind {}
712 (method `{}
713`)",
714 30usize,
715 __vt.len(),
716 <ProfileCardTopMenu as ::unity::ClassIdentity>::NAME,
717 "GetName",
718 )
719 });
720 let __inner: extern "C" fn(ProfileCardTopMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
721 ::core::mem::transmute(__vi.method_ptr);
722 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
723 __inner(__receiver, __mi)
724 }
725 }
726 }
727 #[doc = "`UpdateInfoWindow(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString)` overload"]
728 fn update_info_window(
729 self,
730 caption_mid: impl ::core::convert::Into<::unity::Il2CppString>,
731 description_mid: impl ::core::convert::Into<::unity::Il2CppString>,
732 warning_mid: impl ::core::convert::Into<::unity::Il2CppString>,
733 ) -> () {
734 unsafe {
735 let __receiver = <ProfileCardTopMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
736 ::unity::il2cpp_call!((::unity::module_base()+0x2bffd80usize)as*mut u8,();
737(ProfileCardTopMenu)__receiver,(::unity::Il2CppString)::core::convert::Into::into(caption_mid),(::unity::Il2CppString)::core::convert::Into::into(description_mid),(::unity::Il2CppString)::core::convert::Into::into(warning_mid))
738 }
739 }
740 #[doc = "`BCall()` overload"]
741 fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
742 unsafe {
743 let __receiver = <ProfileCardTopMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
744 {
745 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
746 let __vi = *__vt.get(51usize).unwrap_or_else(|| {
747 panic!(
748 "unity: virtual slot {}
749 out of range (vtable len {}
750) on the runtime class behind {}
751 (method `{}
752`)",
753 51usize,
754 __vt.len(),
755 <ProfileCardTopMenu as ::unity::ClassIdentity>::NAME,
756 "BCall",
757 )
758 });
759 let __inner: extern "C" fn(ProfileCardTopMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
760 ::core::mem::transmute(__vi.method_ptr);
761 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
762 __inner(__receiver, __mi)
763 }
764 }
765 }
766 #[doc = "`OnClose()` overload"]
767 fn on_close(self) -> () {
768 unsafe {
769 let __receiver = <ProfileCardTopMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
770 {
771 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
772 let __vi = *__vt.get(26usize).unwrap_or_else(|| {
773 panic!(
774 "unity: virtual slot {}
775 out of range (vtable len {}
776) on the runtime class behind {}
777 (method `{}
778`)",
779 26usize,
780 __vt.len(),
781 <ProfileCardTopMenu as ::unity::ClassIdentity>::NAME,
782 "OnClose",
783 )
784 });
785 let __inner: extern "C" fn(ProfileCardTopMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
786 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
787 __inner(__receiver, __mi)
788 }
789 }
790 }
791 #[doc = "`OnDispose()` overload"]
792 fn on_dispose(self) -> () {
793 unsafe {
794 let __receiver = <ProfileCardTopMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
795 {
796 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
797 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
798 panic!(
799 "unity: virtual slot {}
800 out of range (vtable len {}
801) on the runtime class behind {}
802 (method `{}
803`)",
804 10usize,
805 __vt.len(),
806 <ProfileCardTopMenu as ::unity::ClassIdentity>::NAME,
807 "OnDispose",
808 )
809 });
810 let __inner: extern "C" fn(ProfileCardTopMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
811 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
812 __inner(__receiver, __mi)
813 }
814 }
815 }
816}
817
818#[cfg(feature = "app-profilecardtopmenu")]
819impl<__T: IProfileCardTopMenu> IProfileCardTopMenuMethods for __T {}
820
821#[cfg(feature = "app-profilecardtopmenu")]
822impl ProfileCardTopMenu {
823 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
824 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
825 }
826
827 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
828 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
829 }
830
831 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
832 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
833 }
834
835 pub fn update_info_window_method_info() -> &'static ::unity::il2cpp::MethodInfo {
836 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
837 }
838
839 pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
840 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
841 }
842
843 pub fn on_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
844 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
845 }
846
847 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
848 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
849 }
850}
851
852#[cfg(feature = "app-profilecardtopmenu")]
853impl ProfileCardTopMenu {
854 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
855 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
856 let __mi = Self::get_name_method_info();
857 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
858 __inner(this.into(), ::core::option::Option::None)
859 }
860
861 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
862 pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
863 let __mi = Self::b_call_method_info();
864 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
865 ::core::mem::transmute(__mi.method_ptr);
866 __inner(this.into(), ::core::option::Option::None)
867 }
868
869 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu`'s own `OnClose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
870 pub unsafe fn on_close(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
871 let __mi = Self::on_close_method_info();
872 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
873 __inner(this.into(), ::core::option::Option::None)
874 }
875
876 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
877 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
878 let __mi = Self::on_dispose_method_info();
879 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
880 __inner(this.into(), ::core::option::Option::None)
881 }
882}
883
884#[cfg(feature = "app-profilecardtopmenu")]
885impl ProfileCardTopMenu {
886 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, crate::app::profilecardtopmenuroot::ProfileCardTopMenuRoot, crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2, crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` — overload selector"]
887 pub fn new(
888 menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
889 menu_content: crate::app::basicmenucontent::BasicMenuContent,
890 menu_root: crate::app::profilecardtopmenuroot::ProfileCardTopMenuRoot,
891 initial_selected: crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2,
892 decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler,
893 ) -> Self {
894 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
895 panic!(
896 "{}
897::{}
898 failed to instantiate",
899 ::core::stringify!(ProfileCardTopMenu),
900 ::core::stringify!(new),
901 )
902 });
903 <Self as IProfileCardTopMenuMethods>::ctor(this, menu_item_list, menu_content, menu_root, initial_selected, decide_event_handler);
904 this
905 }
906}
907
908#[cfg(feature = "app-profilecardtopmenu")]
909pub trait IProfileCardTopMenu_PublicSettingMenuItemMethods: IProfileCardTopMenu_PublicSettingMenuItem {
910 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` overload"]
911 fn ctor(self, decide_event_handler: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler>) -> () {
912 unsafe {
913 let __receiver = <ProfileCardTopMenu_PublicSettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
914 <Self as ::unity::SystemObject>::as_instance(self),
915 );
916 ::unity::il2cpp_call!((::unity::module_base()+0x226dcf0usize)as*mut u8,();
917(ProfileCardTopMenu_PublicSettingMenuItem)__receiver,(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
918 }
919 }
920 #[doc = "`GetName()` overload"]
921 fn get_name(self) -> ::unity::Il2CppString {
922 unsafe {
923 let __receiver = <ProfileCardTopMenu_PublicSettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
924 <Self as ::unity::SystemObject>::as_instance(self),
925 );
926 {
927 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
928 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
929 panic!(
930 "unity: virtual slot {}
931 out of range (vtable len {}
932) on the runtime class behind {}
933 (method `{}
934`)",
935 4usize,
936 __vt.len(),
937 <ProfileCardTopMenu_PublicSettingMenuItem as ::unity::ClassIdentity>::NAME,
938 "GetName",
939 )
940 });
941 let __inner: extern "C" fn(ProfileCardTopMenu_PublicSettingMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
942 ::core::mem::transmute(__vi.method_ptr);
943 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
944 __inner(__receiver, __mi)
945 }
946 }
947 }
948 #[doc = "`OnSelect()` overload"]
949 fn on_select(self) -> () {
950 unsafe {
951 let __receiver = <ProfileCardTopMenu_PublicSettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
952 <Self as ::unity::SystemObject>::as_instance(self),
953 );
954 {
955 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
956 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
957 panic!(
958 "unity: virtual slot {}
959 out of range (vtable len {}
960) on the runtime class behind {}
961 (method `{}
962`)",
963 12usize,
964 __vt.len(),
965 <ProfileCardTopMenu_PublicSettingMenuItem as ::unity::ClassIdentity>::NAME,
966 "OnSelect",
967 )
968 });
969 let __inner: extern "C" fn(ProfileCardTopMenu_PublicSettingMenuItem, ::unity::OptionalMethod) -> () =
970 ::core::mem::transmute(__vi.method_ptr);
971 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
972 __inner(__receiver, __mi)
973 }
974 }
975 }
976 #[doc = "`ACall()` overload"]
977 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
978 unsafe {
979 let __receiver = <ProfileCardTopMenu_PublicSettingMenuItem as ::unity::FromIlInstance>::from_il_instance(
980 <Self as ::unity::SystemObject>::as_instance(self),
981 );
982 {
983 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
984 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
985 panic!(
986 "unity: virtual slot {}
987 out of range (vtable len {}
988) on the runtime class behind {}
989 (method `{}
990`)",
991 18usize,
992 __vt.len(),
993 <ProfileCardTopMenu_PublicSettingMenuItem as ::unity::ClassIdentity>::NAME,
994 "ACall",
995 )
996 });
997 let __inner: extern "C" fn(
998 ProfileCardTopMenu_PublicSettingMenuItem,
999 ::unity::OptionalMethod,
1000 ) -> crate::app::basicmenu::BasicMenu_Result = ::core::mem::transmute(__vi.method_ptr);
1001 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1002 __inner(__receiver, __mi)
1003 }
1004 }
1005 }
1006}
1007
1008#[cfg(feature = "app-profilecardtopmenu")]
1009impl<__T: IProfileCardTopMenu_PublicSettingMenuItem> IProfileCardTopMenu_PublicSettingMenuItemMethods for __T {}
1010
1011#[cfg(feature = "app-profilecardtopmenu")]
1012impl ProfileCardTopMenu_PublicSettingMenuItem {
1013 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1015 }
1016
1017 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1019 }
1020
1021 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1023 }
1024
1025 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1027 }
1028}
1029
1030#[cfg(feature = "app-profilecardtopmenu")]
1031impl ProfileCardTopMenu_PublicSettingMenuItem {
1032 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_PublicSettingMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1033 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1034 let __mi = Self::get_name_method_info();
1035 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1036 __inner(this.into(), ::core::option::Option::None)
1037 }
1038
1039 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_PublicSettingMenuItem`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1040 pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1041 let __mi = Self::on_select_method_info();
1042 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1043 __inner(this.into(), ::core::option::Option::None)
1044 }
1045
1046 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_PublicSettingMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1047 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
1048 let __mi = Self::a_call_method_info();
1049 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
1050 ::core::mem::transmute(__mi.method_ptr);
1051 __inner(this.into(), ::core::option::Option::None)
1052 }
1053}
1054
1055#[cfg(feature = "app-profilecardtopmenu")]
1056impl ProfileCardTopMenu_PublicSettingMenuItem {
1057 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` — overload selector"]
1058 pub fn new(decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler) -> Self {
1059 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1060 panic!(
1061 "{}
1062::{}
1063 failed to instantiate",
1064 ::core::stringify!(ProfileCardTopMenu_PublicSettingMenuItem),
1065 ::core::stringify!(new),
1066 )
1067 });
1068 <Self as IProfileCardTopMenu_PublicSettingMenuItemMethods>::ctor(this, decide_event_handler);
1069 this
1070 }
1071}
1072
1073#[cfg(feature = "app-profilecardtopmenu")]
1074pub trait IProfileCardTopMenu_AlbumMenuItemMethods: IProfileCardTopMenu_AlbumMenuItem {
1075 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` overload"]
1076 fn ctor(self, decide_event_handler: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler>) -> () {
1077 unsafe {
1078 let __receiver =
1079 <ProfileCardTopMenu_AlbumMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1080 ::unity::il2cpp_call!((::unity::module_base()+0x226d2f0usize)as*mut u8,();
1081(ProfileCardTopMenu_AlbumMenuItem)__receiver,(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
1082 }
1083 }
1084 #[doc = "`GetName()` overload"]
1085 fn get_name(self) -> ::unity::Il2CppString {
1086 unsafe {
1087 let __receiver =
1088 <ProfileCardTopMenu_AlbumMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1089 {
1090 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1091 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1092 panic!(
1093 "unity: virtual slot {}
1094 out of range (vtable len {}
1095) on the runtime class behind {}
1096 (method `{}
1097`)",
1098 4usize,
1099 __vt.len(),
1100 <ProfileCardTopMenu_AlbumMenuItem as ::unity::ClassIdentity>::NAME,
1101 "GetName",
1102 )
1103 });
1104 let __inner: extern "C" fn(ProfileCardTopMenu_AlbumMenuItem, ::unity::OptionalMethod) -> ::unity::Il2CppString =
1105 ::core::mem::transmute(__vi.method_ptr);
1106 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1107 __inner(__receiver, __mi)
1108 }
1109 }
1110 }
1111 #[doc = "`BuildAttribute()` overload"]
1112 fn build_attribute(self) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
1113 unsafe {
1114 let __receiver =
1115 <ProfileCardTopMenu_AlbumMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1116 {
1117 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1118 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
1119 panic!(
1120 "unity: virtual slot {}
1121 out of range (vtable len {}
1122) on the runtime class behind {}
1123 (method `{}
1124`)",
1125 8usize,
1126 __vt.len(),
1127 <ProfileCardTopMenu_AlbumMenuItem as ::unity::ClassIdentity>::NAME,
1128 "BuildAttribute",
1129 )
1130 });
1131 let __inner: extern "C" fn(
1132 ProfileCardTopMenu_AlbumMenuItem,
1133 ::unity::OptionalMethod,
1134 ) -> crate::app::basicmenuitem::BasicMenuItem_Attribute = ::core::mem::transmute(__vi.method_ptr);
1135 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1136 __inner(__receiver, __mi)
1137 }
1138 }
1139 }
1140 #[doc = "`OnSelect()` overload"]
1141 fn on_select(self) -> () {
1142 unsafe {
1143 let __receiver =
1144 <ProfileCardTopMenu_AlbumMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1145 {
1146 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1147 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
1148 panic!(
1149 "unity: virtual slot {}
1150 out of range (vtable len {}
1151) on the runtime class behind {}
1152 (method `{}
1153`)",
1154 12usize,
1155 __vt.len(),
1156 <ProfileCardTopMenu_AlbumMenuItem as ::unity::ClassIdentity>::NAME,
1157 "OnSelect",
1158 )
1159 });
1160 let __inner: extern "C" fn(ProfileCardTopMenu_AlbumMenuItem, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1161 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1162 __inner(__receiver, __mi)
1163 }
1164 }
1165 }
1166 #[doc = "`ACall()` overload"]
1167 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
1168 unsafe {
1169 let __receiver =
1170 <ProfileCardTopMenu_AlbumMenuItem as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1171 {
1172 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1173 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
1174 panic!(
1175 "unity: virtual slot {}
1176 out of range (vtable len {}
1177) on the runtime class behind {}
1178 (method `{}
1179`)",
1180 18usize,
1181 __vt.len(),
1182 <ProfileCardTopMenu_AlbumMenuItem as ::unity::ClassIdentity>::NAME,
1183 "ACall",
1184 )
1185 });
1186 let __inner: extern "C" fn(ProfileCardTopMenu_AlbumMenuItem, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
1187 ::core::mem::transmute(__vi.method_ptr);
1188 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1189 __inner(__receiver, __mi)
1190 }
1191 }
1192 }
1193}
1194
1195#[cfg(feature = "app-profilecardtopmenu")]
1196impl<__T: IProfileCardTopMenu_AlbumMenuItem> IProfileCardTopMenu_AlbumMenuItemMethods for __T {}
1197
1198#[cfg(feature = "app-profilecardtopmenu")]
1199impl ProfileCardTopMenu_AlbumMenuItem {
1200 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1201 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1202 }
1203
1204 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1205 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1206 }
1207
1208 pub fn build_attribute_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1209 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1210 }
1211
1212 pub fn on_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1213 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1214 }
1215
1216 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1217 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1218 }
1219}
1220
1221#[cfg(feature = "app-profilecardtopmenu")]
1222impl ProfileCardTopMenu_AlbumMenuItem {
1223 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_AlbumMenuItem`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1224 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
1225 let __mi = Self::get_name_method_info();
1226 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
1227 __inner(this.into(), ::core::option::Option::None)
1228 }
1229
1230 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_AlbumMenuItem`'s own `BuildAttribute`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1231 pub unsafe fn build_attribute(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenuitem::BasicMenuItem_Attribute {
1232 let __mi = Self::build_attribute_method_info();
1233 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenuitem::BasicMenuItem_Attribute =
1234 ::core::mem::transmute(__mi.method_ptr);
1235 __inner(this.into(), ::core::option::Option::None)
1236 }
1237
1238 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_AlbumMenuItem`'s own `OnSelect`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1239 pub unsafe fn on_select(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1240 let __mi = Self::on_select_method_info();
1241 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1242 __inner(this.into(), ::core::option::Option::None)
1243 }
1244
1245 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_AlbumMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1246 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
1247 let __mi = Self::a_call_method_info();
1248 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
1249 ::core::mem::transmute(__mi.method_ptr);
1250 __inner(this.into(), ::core::option::Option::None)
1251 }
1252}
1253
1254#[cfg(feature = "app-profilecardtopmenu")]
1255impl ProfileCardTopMenu_AlbumMenuItem {
1256 #[doc = "`.ctor(crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler)` — overload selector"]
1257 pub fn new(decide_event_handler: crate::app::profilecardtopmenu::ProfileCardTopMenu_DecideEventHandler) -> Self {
1258 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1259 panic!(
1260 "{}
1261::{}
1262 failed to instantiate",
1263 ::core::stringify!(ProfileCardTopMenu_AlbumMenuItem),
1264 ::core::stringify!(new),
1265 )
1266 });
1267 <Self as IProfileCardTopMenu_AlbumMenuItemMethods>::ctor(this, decide_event_handler);
1268 this
1269 }
1270}
1271
1272#[cfg(feature = "app-profilecardtopmenu")]
1273pub trait IProfileCardTopMenu_DecideEventHandlerMethods: IProfileCardTopMenu_DecideEventHandler {
1274 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
1275 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1276 unsafe {
1277 let __receiver = <ProfileCardTopMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
1278 <Self as ::unity::SystemObject>::as_instance(self),
1279 );
1280 ::unity::il2cpp_call!((::unity::module_base()+0x226d7f0usize)as*mut u8,();
1281(ProfileCardTopMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
1282 }
1283 }
1284 #[doc = "`Invoke(crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2)` overload"]
1285 fn invoke(self, result: impl ::core::convert::Into<crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2>) -> () {
1286 unsafe {
1287 let __receiver = <ProfileCardTopMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
1288 <Self as ::unity::SystemObject>::as_instance(self),
1289 );
1290 {
1291 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1292 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
1293 panic!(
1294 "unity: virtual slot {}
1295 out of range (vtable len {}
1296) on the runtime class behind {}
1297 (method `{}
1298`)",
1299 13usize,
1300 __vt.len(),
1301 <ProfileCardTopMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
1302 "Invoke",
1303 )
1304 });
1305 let __inner: extern "C" fn(
1306 ProfileCardTopMenu_DecideEventHandler,
1307 crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2,
1308 ::unity::OptionalMethod,
1309 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1310 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1311 __inner(__receiver, ::core::convert::Into::into(result), __mi)
1312 }
1313 }
1314 }
1315}
1316
1317#[cfg(feature = "app-profilecardtopmenu")]
1318impl<__T: IProfileCardTopMenu_DecideEventHandler> IProfileCardTopMenu_DecideEventHandlerMethods for __T {}
1319
1320#[cfg(feature = "app-profilecardtopmenu")]
1321impl ProfileCardTopMenu_DecideEventHandler {
1322 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1323 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1324 }
1325
1326 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1327 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1328 }
1329}
1330
1331#[cfg(feature = "app-profilecardtopmenu")]
1332impl ProfileCardTopMenu_DecideEventHandler {
1333 #[doc = "Direct (non-virtual) call to `ProfileCardTopMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1334 pub unsafe fn invoke(
1335 this: impl ::core::convert::Into<::unity::IlInstance>,
1336 result: crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2,
1337 ) -> () {
1338 let __mi = Self::invoke_method_info();
1339 let __inner: extern "C" fn(::unity::IlInstance, crate::app::profilecardtopmenu::ProfileCardTopMenu_Result2, ::unity::OptionalMethod) -> () =
1340 ::core::mem::transmute(__mi.method_ptr);
1341 __inner(this.into(), result, ::core::option::Option::None)
1342 }
1343}
1344
1345#[cfg(feature = "app-profilecardtopmenu")]
1346impl ProfileCardTopMenu_DecideEventHandler {
1347 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
1348 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
1349 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1350 panic!(
1351 "{}
1352::{}
1353 failed to instantiate",
1354 ::core::stringify!(ProfileCardTopMenu_DecideEventHandler),
1355 ::core::stringify!(new),
1356 )
1357 });
1358 <Self as IProfileCardTopMenu_DecideEventHandlerMethods>::ctor(this, object, method);
1359 this
1360 }
1361}
1362
1363#[cfg(feature = "app-profilecardtopmenu")]
1364#[doc(hidden)]
1365pub mod prelude {
1366 pub use super::{
1367 IProfileCardTopMenu, IProfileCardTopMenuMethods, IProfileCardTopMenu_AlbumMenuItem, IProfileCardTopMenu_AlbumMenuItemMethods,
1368 IProfileCardTopMenu_DecideEventHandler, IProfileCardTopMenu_DecideEventHandlerMethods, IProfileCardTopMenu_MyCardMenuItem,
1369 IProfileCardTopMenu_MyCardMenuItemMethods, IProfileCardTopMenu_PhotoMenuItem, IProfileCardTopMenu_PhotoMenuItemMethods,
1370 IProfileCardTopMenu_PublicSettingMenuItem, IProfileCardTopMenu_PublicSettingMenuItemMethods,
1371 IProfileCardTopMenu_StampVisibilitySettingMenuItem, IProfileCardTopMenu_StampVisibilitySettingMenuItemMethods, ProfileCardTopMenu,
1372 ProfileCardTopMenu_AlbumMenuItem, ProfileCardTopMenu_DecideEventHandler, ProfileCardTopMenu_MyCardMenuItem, ProfileCardTopMenu_PhotoMenuItem,
1373 ProfileCardTopMenu_PublicSettingMenuItem, ProfileCardTopMenu_Result2, ProfileCardTopMenu_StampVisibilitySettingMenuItem,
1374 };
1375 #[cfg(feature = "app-basicmenu")]
1376 pub use crate::app::basicmenu::IBasicMenuMethods;
1377 #[cfg(feature = "app-basicmenuitem")]
1378 pub use crate::app::basicmenuitem::IBasicMenuItemMethods;
1379 #[cfg(feature = "app-procinst")]
1380 pub use crate::app::procinst::IProcInstMethods;
1381 #[cfg(feature = "system-delegate")]
1382 pub use crate::system::delegate::IDelegateMethods;
1383 #[cfg(feature = "system-multicastdelegate")]
1384 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
1385 #[cfg(feature = "system-object")]
1386 pub use crate::system::object::IObjectMethods;
1387 #[cfg(feature = "system-enum")]
1388 pub use crate::system::r#enum::IEnumMethods;
1389 #[cfg(feature = "system-valuetype")]
1390 pub use crate::system::valuetype::IValueTypeMethods;
1391 pub use crate::{
1392 app::{basicmenu::IBasicMenu, basicmenuitem::IBasicMenuItem, procinst::IProcInst},
1393 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
1394 };
1395}