Skip to main content

engage/generated/app/
profilecardstamplistmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-profilecardstamplistmenu-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            basicmenu::{BasicMenu, IBasicMenu},
11            gridmenu::{GridMenu, IGridMenu},
12            procinst::{IProcInst, ProcInst},
13        },
14        system::{
15            delegate::{Delegate, IDelegate},
16            multicastdelegate::{IMulticastDelegate, MulticastDelegate},
17            object::{IObject, Object},
18        },
19    };
20
21    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardstamplistmenu/ProfileCardStampListMenu.md"))]
22    #[::unity::class(namespace = "App", name = "ProfileCardStampListMenu")]
23    #[parent(crate::app::gridmenu::GridMenu)]
24    pub struct ProfileCardStampListMenu {
25        #[static_field]
26        #[rename(name = "m_MenuItemIndexNone")]
27        pub m_menu_item_index_none: i32,
28        #[static_field]
29        #[rename(name = "m_MenuItemIndexEmpty")]
30        pub m_menu_item_index_empty: i32,
31        #[offset(216)]
32        #[rename(name = "m_Selects")]
33        pub m_selects: ::unity::Array<crate::app::basicmenuselect::BasicMenuSelect>,
34        #[offset(224)]
35        #[rename(name = "m_Category")]
36        pub m_category: crate::app::profilecardstampdata::ProfileCardStampData_Categories,
37        #[offset(232)]
38        #[rename(name = "m_DecideEventHandler")]
39        pub m_decide_event_handler: crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler,
40        #[offset(240)]
41        #[rename(name = "m_CloseEventHandler")]
42        pub m_close_event_handler: crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler,
43        #[offset(248)]
44        #[rename(name = "m_DisposeEventHandler")]
45        pub m_dispose_event_handler: crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler,
46    }
47
48    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardstamplistmenu/ProfileCardStampListMenu_DecideEventHandler.md"))]
49    #[::unity::class(namespace = "App", name = "ProfileCardStampListMenu.DecideEventHandler")]
50    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
51    pub struct ProfileCardStampListMenu_DecideEventHandler {}
52
53    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardstamplistmenu/ProfileCardStampListMenu_DisposeEventHandler.md"))]
54    #[::unity::class(namespace = "App", name = "ProfileCardStampListMenu.DisposeEventHandler")]
55    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
56    pub struct ProfileCardStampListMenu_DisposeEventHandler {}
57
58    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardstamplistmenu/ProfileCardStampListMenu_CloseEventHandler.md"))]
59    #[::unity::class(namespace = "App", name = "ProfileCardStampListMenu.CloseEventHandler")]
60    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
61    pub struct ProfileCardStampListMenu_CloseEventHandler {}
62}
63
64#[cfg(feature = "app-profilecardstamplistmenu-types")]
65pub use __types::*;
66
67#[cfg(feature = "app-profilecardstamplistmenu")]
68impl ProfileCardStampListMenu {
69    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::profilecardstamplistmenucontent::ProfileCardStampListMenuContent, crate::app::profilecardstampdata::ProfileCardStampData, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler)` overload"]
70    pub fn create_bind(
71        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
72        menu_content: impl ::core::convert::Into<crate::app::profilecardstamplistmenucontent::ProfileCardStampListMenuContent>,
73        initial_stamp_data: impl ::core::convert::Into<crate::app::profilecardstampdata::ProfileCardStampData>,
74        decide_event_handler: impl ::core::convert::Into<crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler>,
75        close_event_handler: impl ::core::convert::Into<crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler>,
76        dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler>,
77    ) -> crate::app::profilecardstamplistmenu::ProfileCardStampListMenu {
78        unsafe {
79            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1680usize)as*mut u8,crate::app::profilecardstamplistmenu::ProfileCardStampListMenu;
80(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecardstamplistmenucontent::ProfileCardStampListMenuContent)::core::convert::Into::into(menu_content),(crate::app::profilecardstampdata::ProfileCardStampData)::core::convert::Into::into(initial_stamp_data),(crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler)::core::convert::Into::into(close_event_handler),(crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
81        }
82    }
83
84    #[doc = "`CreateMenuItem(crate::app::profilecardstampdata::ProfileCardStampData_Categories, crate::app::profilecardstampdata::ProfileCardStampData, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler, *muti32)` overload"]
85    pub fn create_menu_item(
86        category: impl ::core::convert::Into<crate::app::profilecardstampdata::ProfileCardStampData_Categories>,
87        initial_stamp_data: impl ::core::convert::Into<crate::app::profilecardstampdata::ProfileCardStampData>,
88        decide_event_handler: impl ::core::convert::Into<crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler>,
89    ) -> (
90        crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
91        i32,
92    ) {
93        unsafe {
94            let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
95            let __ret = {
96                ::unity::il2cpp_call!((::unity::module_base()+0x2bf17f0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> ;
97(crate::app::profilecardstampdata::ProfileCardStampData_Categories)::core::convert::Into::into(category),(crate::app::profilecardstampdata::ProfileCardStampData)::core::convert::Into::into(initial_stamp_data),(crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(*mut i32)__out_0.as_mut_ptr())
98            };
99            (__ret, __out_0.assume_init())
100        }
101    }
102
103    #[doc = "`.cctor()` overload"]
104    pub fn cctor() -> () {
105        unsafe {
106            ::unity::il2cpp_call!((::unity::module_base()+0x2bf2c90usize)as*mut u8,();
107            )
108        }
109    }
110}
111
112#[cfg(feature = "app-profilecardstamplistmenu")]
113pub trait IProfileCardStampListMenuMethods: IProfileCardStampListMenu {
114    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::gridmenucontent::GridMenuContent, crate::app::profilecardstampdata::ProfileCardStampData_Categories, i32, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler)` overload"]
115    fn ctor(
116        self,
117        menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
118        menu_content: impl ::core::convert::Into<crate::app::gridmenucontent::GridMenuContent>,
119        initial_category: impl ::core::convert::Into<crate::app::profilecardstampdata::ProfileCardStampData_Categories>,
120        initial_selected_index: impl ::core::convert::Into<i32>,
121        decide_event_handler: impl ::core::convert::Into<crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler>,
122        close_event_handler: impl ::core::convert::Into<crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler>,
123        dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler>,
124    ) -> () {
125        unsafe {
126            let __receiver =
127                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1b60usize)as*mut u8,();
129(ProfileCardStampListMenu)__receiver,(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>)::core::convert::Into::into(menu_item_list),(crate::app::gridmenucontent::GridMenuContent)::core::convert::Into::into(menu_content),(crate::app::profilecardstampdata::ProfileCardStampData_Categories)::core::convert::Into::into(initial_category),(i32)::core::convert::Into::into(initial_selected_index),(crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler)::core::convert::Into::into(close_event_handler),(crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
130        }
131    }
132    #[doc = "`OnBuild(bool)` overload"]
133    fn on_build(self, is_first_build: impl ::core::convert::Into<bool>) -> () {
134        unsafe {
135            let __receiver =
136                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            {
138                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
139                let __vi = *__vt.get(24usize).unwrap_or_else(|| {
140                    panic!(
141                        "unity: virtual slot {}
142 out of range (vtable len {}
143) on the runtime class behind {}
144 (method `{}
145`)",
146                        24usize,
147                        __vt.len(),
148                        <ProfileCardStampListMenu as ::unity::ClassIdentity>::NAME,
149                        "OnBuild",
150                    )
151                });
152                let __inner: extern "C" fn(ProfileCardStampListMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
153                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
154                __inner(__receiver, ::core::convert::Into::into(is_first_build), __mi)
155            }
156        }
157    }
158    #[doc = "`RebuildMenu()` overload"]
159    fn rebuild_menu(self) -> () {
160        unsafe {
161            let __receiver =
162                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x2bf2070usize)as*mut u8,();
164(ProfileCardStampListMenu)__receiver)
165        }
166    }
167    #[doc = "`GetName()` overload"]
168    fn get_name(self) -> ::unity::Il2CppString {
169        unsafe {
170            let __receiver =
171                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
172            {
173                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
174                let __vi = *__vt.get(30usize).unwrap_or_else(|| {
175                    panic!(
176                        "unity: virtual slot {}
177 out of range (vtable len {}
178) on the runtime class behind {}
179 (method `{}
180`)",
181                        30usize,
182                        __vt.len(),
183                        <ProfileCardStampListMenu as ::unity::ClassIdentity>::NAME,
184                        "GetName",
185                    )
186                });
187                let __inner: extern "C" fn(ProfileCardStampListMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
188                    ::core::mem::transmute(__vi.method_ptr);
189                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
190                __inner(__receiver, __mi)
191            }
192        }
193    }
194    #[doc = "`GetSelect()` overload"]
195    fn get_select(self) -> crate::app::basicmenuselect::BasicMenuSelect {
196        unsafe {
197            let __receiver =
198                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
199            ::unity::il2cpp_call!((::unity::module_base()+0x2bf21c0usize)as*mut u8,crate::app::basicmenuselect::BasicMenuSelect;
200(ProfileCardStampListMenu)__receiver)
201        }
202    }
203    #[doc = "`UpdateContent()` overload"]
204    fn update_content(self) -> () {
205        unsafe {
206            let __receiver =
207                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
208            ::unity::il2cpp_call!((::unity::module_base()+0x2bf1dc0usize)as*mut u8,();
209(ProfileCardStampListMenu)__receiver)
210        }
211    }
212    #[doc = "`CustomCall()` overload"]
213    fn custom_call(self) -> crate::app::basicmenu::BasicMenu_Result {
214        unsafe {
215            let __receiver =
216                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
217            {
218                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
219                let __vi = *__vt.get(58usize).unwrap_or_else(|| {
220                    panic!(
221                        "unity: virtual slot {}
222 out of range (vtable len {}
223) on the runtime class behind {}
224 (method `{}
225`)",
226                        58usize,
227                        __vt.len(),
228                        <ProfileCardStampListMenu as ::unity::ClassIdentity>::NAME,
229                        "CustomCall",
230                    )
231                });
232                let __inner: extern "C" fn(ProfileCardStampListMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
233                    ::core::mem::transmute(__vi.method_ptr);
234                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
235                __inner(__receiver, __mi)
236            }
237        }
238    }
239    #[doc = "`LRepeatCall(bool)` overload"]
240    fn l_repeat_call(self, is_trigger: impl ::core::convert::Into<bool>) -> crate::app::basicmenu::BasicMenu_Result {
241        unsafe {
242            let __receiver =
243                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
244            ::unity::il2cpp_call!((::unity::module_base()+0x2bf2970usize)as*mut u8,crate::app::basicmenu::BasicMenu_Result;
245(ProfileCardStampListMenu)__receiver,(bool)::core::convert::Into::into(is_trigger))
246        }
247    }
248    #[doc = "`RRepeatCall(bool)` overload"]
249    fn r_repeat_call(self, is_trigger: impl ::core::convert::Into<bool>) -> crate::app::basicmenu::BasicMenu_Result {
250        unsafe {
251            let __receiver =
252                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
253            ::unity::il2cpp_call!((::unity::module_base()+0x2bf2a80usize)as*mut u8,crate::app::basicmenu::BasicMenu_Result;
254(ProfileCardStampListMenu)__receiver,(bool)::core::convert::Into::into(is_trigger))
255        }
256    }
257    #[doc = "`OnClose()` overload"]
258    fn on_close(self) -> () {
259        unsafe {
260            let __receiver =
261                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262            {
263                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
264                let __vi = *__vt.get(26usize).unwrap_or_else(|| {
265                    panic!(
266                        "unity: virtual slot {}
267 out of range (vtable len {}
268) on the runtime class behind {}
269 (method `{}
270`)",
271                        26usize,
272                        __vt.len(),
273                        <ProfileCardStampListMenu as ::unity::ClassIdentity>::NAME,
274                        "OnClose",
275                    )
276                });
277                let __inner: extern "C" fn(ProfileCardStampListMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
278                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
279                __inner(__receiver, __mi)
280            }
281        }
282    }
283    #[doc = "`OnDispose()` overload"]
284    fn on_dispose(self) -> () {
285        unsafe {
286            let __receiver =
287                <ProfileCardStampListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
288            {
289                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
290                let __vi = *__vt.get(10usize).unwrap_or_else(|| {
291                    panic!(
292                        "unity: virtual slot {}
293 out of range (vtable len {}
294) on the runtime class behind {}
295 (method `{}
296`)",
297                        10usize,
298                        __vt.len(),
299                        <ProfileCardStampListMenu as ::unity::ClassIdentity>::NAME,
300                        "OnDispose",
301                    )
302                });
303                let __inner: extern "C" fn(ProfileCardStampListMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
304                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
305                __inner(__receiver, __mi)
306            }
307        }
308    }
309}
310
311#[cfg(feature = "app-profilecardstamplistmenu")]
312impl<__T: IProfileCardStampListMenu> IProfileCardStampListMenuMethods for __T {}
313
314#[cfg(feature = "app-profilecardstamplistmenu")]
315impl ProfileCardStampListMenu {
316    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
317        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
318    }
319
320    pub fn create_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
322    }
323
324    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
326    }
327
328    pub fn on_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
330    }
331
332    pub fn rebuild_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
334    }
335
336    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
338    }
339
340    pub fn get_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
342    }
343
344    pub fn update_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
346    }
347
348    pub fn custom_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
350    }
351
352    pub fn l_repeat_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
354    }
355
356    pub fn r_repeat_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
358    }
359
360    pub fn on_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
362    }
363
364    pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
366    }
367
368    pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
370    }
371}
372
373#[cfg(feature = "app-profilecardstamplistmenu")]
374impl ProfileCardStampListMenu {
375    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu`'s own `OnBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
376    pub unsafe fn on_build(this: impl ::core::convert::Into<::unity::IlInstance>, is_first_build: bool) -> () {
377        let __mi = Self::on_build_method_info();
378        let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
379        __inner(this.into(), is_first_build, ::core::option::Option::None)
380    }
381
382    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
383    pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
384        let __mi = Self::get_name_method_info();
385        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
386        __inner(this.into(), ::core::option::Option::None)
387    }
388
389    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu`'s own `CustomCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
390    pub unsafe fn custom_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
391        let __mi = Self::custom_call_method_info();
392        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
393            ::core::mem::transmute(__mi.method_ptr);
394        __inner(this.into(), ::core::option::Option::None)
395    }
396
397    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu`'s own `OnClose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
398    pub unsafe fn on_close(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
399        let __mi = Self::on_close_method_info();
400        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
401        __inner(this.into(), ::core::option::Option::None)
402    }
403
404    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
405    pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
406        let __mi = Self::on_dispose_method_info();
407        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
408        __inner(this.into(), ::core::option::Option::None)
409    }
410}
411
412#[cfg(feature = "app-profilecardstamplistmenu")]
413impl ProfileCardStampListMenu {
414    #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::gridmenucontent::GridMenuContent, crate::app::profilecardstampdata::ProfileCardStampData_Categories, i32, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler, crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler)` — overload selector"]
415    pub fn new(
416        menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
417        menu_content: crate::app::gridmenucontent::GridMenuContent,
418        initial_category: crate::app::profilecardstampdata::ProfileCardStampData_Categories,
419        initial_selected_index: i32,
420        decide_event_handler: crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DecideEventHandler,
421        close_event_handler: crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_CloseEventHandler,
422        dispose_event_handler: crate::app::profilecardstamplistmenu::ProfileCardStampListMenu_DisposeEventHandler,
423    ) -> Self {
424        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
425            panic!(
426                "{}
427::{}
428 failed to instantiate",
429                ::core::stringify!(ProfileCardStampListMenu),
430                ::core::stringify!(new),
431            )
432        });
433        <Self as IProfileCardStampListMenuMethods>::ctor(
434            this,
435            menu_item_list,
436            menu_content,
437            initial_category,
438            initial_selected_index,
439            decide_event_handler,
440            close_event_handler,
441            dispose_event_handler,
442        );
443        this
444    }
445}
446
447#[cfg(feature = "app-profilecardstamplistmenu")]
448pub trait IProfileCardStampListMenu_DecideEventHandlerMethods: IProfileCardStampListMenu_DecideEventHandler {
449    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
450    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
451        unsafe {
452            let __receiver = <ProfileCardStampListMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
453                <Self as ::unity::SystemObject>::as_instance(self),
454            );
455            ::unity::il2cpp_call!((::unity::module_base()+0x226bc60usize)as*mut u8,();
456(ProfileCardStampListMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
457        }
458    }
459    #[doc = "`Invoke(crate::app::profilecardstampdata::ProfileCardStampData)` overload"]
460    fn invoke(self, stamp_data: impl ::core::convert::Into<crate::app::profilecardstampdata::ProfileCardStampData>) -> () {
461        unsafe {
462            let __receiver = <ProfileCardStampListMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
463                <Self as ::unity::SystemObject>::as_instance(self),
464            );
465            {
466                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
467                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
468                    panic!(
469                        "unity: virtual slot {}
470 out of range (vtable len {}
471) on the runtime class behind {}
472 (method `{}
473`)",
474                        13usize,
475                        __vt.len(),
476                        <ProfileCardStampListMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
477                        "Invoke",
478                    )
479                });
480                let __inner: extern "C" fn(
481                    ProfileCardStampListMenu_DecideEventHandler,
482                    crate::app::profilecardstampdata::ProfileCardStampData,
483                    ::unity::OptionalMethod,
484                ) -> () = ::core::mem::transmute(__vi.method_ptr);
485                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
486                __inner(__receiver, ::core::convert::Into::into(stamp_data), __mi)
487            }
488        }
489    }
490}
491
492#[cfg(feature = "app-profilecardstamplistmenu")]
493impl<__T: IProfileCardStampListMenu_DecideEventHandler> IProfileCardStampListMenu_DecideEventHandlerMethods for __T {}
494
495#[cfg(feature = "app-profilecardstamplistmenu")]
496impl ProfileCardStampListMenu_DecideEventHandler {
497    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
499    }
500
501    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
503    }
504}
505
506#[cfg(feature = "app-profilecardstamplistmenu")]
507impl ProfileCardStampListMenu_DecideEventHandler {
508    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
509    pub unsafe fn invoke(
510        this: impl ::core::convert::Into<::unity::IlInstance>,
511        stamp_data: crate::app::profilecardstampdata::ProfileCardStampData,
512    ) -> () {
513        let __mi = Self::invoke_method_info();
514        let __inner: extern "C" fn(::unity::IlInstance, crate::app::profilecardstampdata::ProfileCardStampData, ::unity::OptionalMethod) -> () =
515            ::core::mem::transmute(__mi.method_ptr);
516        __inner(this.into(), stamp_data, ::core::option::Option::None)
517    }
518}
519
520#[cfg(feature = "app-profilecardstamplistmenu")]
521impl ProfileCardStampListMenu_DecideEventHandler {
522    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
523    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
524        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
525            panic!(
526                "{}
527::{}
528 failed to instantiate",
529                ::core::stringify!(ProfileCardStampListMenu_DecideEventHandler),
530                ::core::stringify!(new),
531            )
532        });
533        <Self as IProfileCardStampListMenu_DecideEventHandlerMethods>::ctor(this, object, method);
534        this
535    }
536}
537
538#[cfg(feature = "app-profilecardstamplistmenu")]
539pub trait IProfileCardStampListMenu_DisposeEventHandlerMethods: IProfileCardStampListMenu_DisposeEventHandler {
540    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
541    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
542        unsafe {
543            let __receiver = <ProfileCardStampListMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
544                <Self as ::unity::SystemObject>::as_instance(self),
545            );
546            ::unity::il2cpp_call!((::unity::module_base()+0x226c020usize)as*mut u8,();
547(ProfileCardStampListMenu_DisposeEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
548        }
549    }
550    #[doc = "`Invoke()` overload"]
551    fn invoke(self) -> () {
552        unsafe {
553            let __receiver = <ProfileCardStampListMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
554                <Self as ::unity::SystemObject>::as_instance(self),
555            );
556            {
557                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
558                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
559                    panic!(
560                        "unity: virtual slot {}
561 out of range (vtable len {}
562) on the runtime class behind {}
563 (method `{}
564`)",
565                        13usize,
566                        __vt.len(),
567                        <ProfileCardStampListMenu_DisposeEventHandler as ::unity::ClassIdentity>::NAME,
568                        "Invoke",
569                    )
570                });
571                let __inner: extern "C" fn(ProfileCardStampListMenu_DisposeEventHandler, ::unity::OptionalMethod) -> () =
572                    ::core::mem::transmute(__vi.method_ptr);
573                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
574                __inner(__receiver, __mi)
575            }
576        }
577    }
578}
579
580#[cfg(feature = "app-profilecardstamplistmenu")]
581impl<__T: IProfileCardStampListMenu_DisposeEventHandler> IProfileCardStampListMenu_DisposeEventHandlerMethods for __T {}
582
583#[cfg(feature = "app-profilecardstamplistmenu")]
584impl ProfileCardStampListMenu_DisposeEventHandler {
585    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
586        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
587    }
588
589    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
590        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
591    }
592}
593
594#[cfg(feature = "app-profilecardstamplistmenu")]
595impl ProfileCardStampListMenu_DisposeEventHandler {
596    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu_DisposeEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
597    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
598        let __mi = Self::invoke_method_info();
599        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
600        __inner(this.into(), ::core::option::Option::None)
601    }
602}
603
604#[cfg(feature = "app-profilecardstamplistmenu")]
605impl ProfileCardStampListMenu_DisposeEventHandler {
606    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
607    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
608        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
609            panic!(
610                "{}
611::{}
612 failed to instantiate",
613                ::core::stringify!(ProfileCardStampListMenu_DisposeEventHandler),
614                ::core::stringify!(new),
615            )
616        });
617        <Self as IProfileCardStampListMenu_DisposeEventHandlerMethods>::ctor(this, object, method);
618        this
619    }
620}
621
622#[cfg(feature = "app-profilecardstamplistmenu")]
623pub trait IProfileCardStampListMenu_CloseEventHandlerMethods: IProfileCardStampListMenu_CloseEventHandler {
624    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
625    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
626        unsafe {
627            let __receiver = <ProfileCardStampListMenu_CloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
628                <Self as ::unity::SystemObject>::as_instance(self),
629            );
630            ::unity::il2cpp_call!((::unity::module_base()+0x226b9f0usize)as*mut u8,();
631(ProfileCardStampListMenu_CloseEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
632        }
633    }
634    #[doc = "`Invoke()` overload"]
635    fn invoke(self) -> () {
636        unsafe {
637            let __receiver = <ProfileCardStampListMenu_CloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
638                <Self as ::unity::SystemObject>::as_instance(self),
639            );
640            {
641                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
642                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
643                    panic!(
644                        "unity: virtual slot {}
645 out of range (vtable len {}
646) on the runtime class behind {}
647 (method `{}
648`)",
649                        13usize,
650                        __vt.len(),
651                        <ProfileCardStampListMenu_CloseEventHandler as ::unity::ClassIdentity>::NAME,
652                        "Invoke",
653                    )
654                });
655                let __inner: extern "C" fn(ProfileCardStampListMenu_CloseEventHandler, ::unity::OptionalMethod) -> () =
656                    ::core::mem::transmute(__vi.method_ptr);
657                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
658                __inner(__receiver, __mi)
659            }
660        }
661    }
662}
663
664#[cfg(feature = "app-profilecardstamplistmenu")]
665impl<__T: IProfileCardStampListMenu_CloseEventHandler> IProfileCardStampListMenu_CloseEventHandlerMethods for __T {}
666
667#[cfg(feature = "app-profilecardstamplistmenu")]
668impl ProfileCardStampListMenu_CloseEventHandler {
669    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
670        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
671    }
672
673    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
674        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
675    }
676}
677
678#[cfg(feature = "app-profilecardstamplistmenu")]
679impl ProfileCardStampListMenu_CloseEventHandler {
680    #[doc = "Direct (non-virtual) call to `ProfileCardStampListMenu_CloseEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
681    pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
682        let __mi = Self::invoke_method_info();
683        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
684        __inner(this.into(), ::core::option::Option::None)
685    }
686}
687
688#[cfg(feature = "app-profilecardstamplistmenu")]
689impl ProfileCardStampListMenu_CloseEventHandler {
690    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
691    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
692        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
693            panic!(
694                "{}
695::{}
696 failed to instantiate",
697                ::core::stringify!(ProfileCardStampListMenu_CloseEventHandler),
698                ::core::stringify!(new),
699            )
700        });
701        <Self as IProfileCardStampListMenu_CloseEventHandlerMethods>::ctor(this, object, method);
702        this
703    }
704}
705
706#[cfg(feature = "app-profilecardstamplistmenu")]
707#[doc(hidden)]
708pub mod prelude {
709    pub use super::{
710        IProfileCardStampListMenu, IProfileCardStampListMenuMethods, IProfileCardStampListMenu_CloseEventHandler,
711        IProfileCardStampListMenu_CloseEventHandlerMethods, IProfileCardStampListMenu_DecideEventHandler,
712        IProfileCardStampListMenu_DecideEventHandlerMethods, IProfileCardStampListMenu_DisposeEventHandler,
713        IProfileCardStampListMenu_DisposeEventHandlerMethods, ProfileCardStampListMenu, ProfileCardStampListMenu_CloseEventHandler,
714        ProfileCardStampListMenu_DecideEventHandler, ProfileCardStampListMenu_DisposeEventHandler,
715    };
716    #[cfg(feature = "app-basicmenu")]
717    pub use crate::app::basicmenu::IBasicMenuMethods;
718    #[cfg(feature = "app-gridmenu")]
719    pub use crate::app::gridmenu::IGridMenuMethods;
720    #[cfg(feature = "app-procinst")]
721    pub use crate::app::procinst::IProcInstMethods;
722    #[cfg(feature = "system-delegate")]
723    pub use crate::system::delegate::IDelegateMethods;
724    #[cfg(feature = "system-multicastdelegate")]
725    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
726    #[cfg(feature = "system-object")]
727    pub use crate::system::object::IObjectMethods;
728    pub use crate::{
729        app::{basicmenu::IBasicMenu, gridmenu::IGridMenu, procinst::IProcInst},
730        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
731    };
732}