1#[cfg(feature = "app-profilecardcommentindexmenu-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 basicmenu::{BasicMenu, IBasicMenu},
11 procinst::{IProcInst, ProcInst},
12 },
13 system::{
14 delegate::{Delegate, IDelegate},
15 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
16 object::{IObject, Object},
17 r#enum::{Enum, IEnum},
18 valuetype::{IValueType, ValueType},
19 },
20 };
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentindexmenu/ProfileCardCommentIndexMenu_DisposeEventHandler.md"))]
23 #[::unity::class(namespace = "App", name = "ProfileCardCommentIndexMenu.DisposeEventHandler")]
24 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
25 pub struct ProfileCardCommentIndexMenu_DisposeEventHandler {}
26
27 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentindexmenu/ProfileCardCommentIndexMenu_DecideEventHandler.md"))]
28 #[::unity::class(namespace = "App", name = "ProfileCardCommentIndexMenu.DecideEventHandler")]
29 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
30 pub struct ProfileCardCommentIndexMenu_DecideEventHandler {}
31
32 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentindexmenu/ProfileCardCommentIndexMenu_Result2.md"))]
33 #[repr(C)]
34 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
35 pub struct ProfileCardCommentIndexMenu_Result2 {
36 pub value: i32,
37 }
38 impl ::unity::ClassIdentity for ProfileCardCommentIndexMenu_Result2 {
39 const NAME: &'static str = "ProfileCardCommentIndexMenu.Result2";
40 const NAMESPACE: &'static str = "App";
41
42 fn class() -> ::unity::Class {
43 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
44 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
45 }
46 }
47 impl ::unity::IlType for ProfileCardCommentIndexMenu_Result2 {
48 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
49 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
50 }
51 }
52 impl ProfileCardCommentIndexMenu_Result2 {
53 pub fn decide() -> Self {
54 Self { value: 0 }
55 }
56
57 pub fn cancel() -> Self {
58 Self { value: 1 }
59 }
60 }
61
62 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentindexmenu/ProfileCardCommentIndexMenu.md"))]
63 #[::unity::class(namespace = "App", name = "ProfileCardCommentIndexMenu")]
64 #[parent(crate::app::basicmenu::BasicMenu)]
65 pub struct ProfileCardCommentIndexMenu {
66 #[offset(200)]
67 #[rename(name = "m_DecideEventHandler")]
68 pub m_decide_event_handler: crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler,
69 #[offset(208)]
70 #[rename(name = "m_DisposeEventHandler")]
71 pub m_dispose_event_handler: crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler,
72 }
73}
74
75#[cfg(feature = "app-profilecardcommentindexmenu-types")]
76pub use __types::*;
77
78#[cfg(feature = "app-profilecardcommentindexmenu")]
79pub trait IProfileCardCommentIndexMenu_DisposeEventHandlerMethods: IProfileCardCommentIndexMenu_DisposeEventHandler {
80 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
81 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
82 unsafe {
83 let __receiver = <ProfileCardCommentIndexMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
84 <Self as ::unity::SystemObject>::as_instance(self),
85 );
86 ::unity::il2cpp_call!((::unity::module_base()+0x2267510usize)as*mut u8,();
87(ProfileCardCommentIndexMenu_DisposeEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
88 }
89 }
90 #[doc = "`Invoke()` overload"]
91 fn invoke(self) -> () {
92 unsafe {
93 let __receiver = <ProfileCardCommentIndexMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
94 <Self as ::unity::SystemObject>::as_instance(self),
95 );
96 {
97 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
98 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
99 panic!(
100 "unity: virtual slot {}
101 out of range (vtable len {}
102) on the runtime class behind {}
103 (method `{}
104`)",
105 13usize,
106 __vt.len(),
107 <ProfileCardCommentIndexMenu_DisposeEventHandler as ::unity::ClassIdentity>::NAME,
108 "Invoke",
109 )
110 });
111 let __inner: extern "C" fn(ProfileCardCommentIndexMenu_DisposeEventHandler, ::unity::OptionalMethod) -> () =
112 ::core::mem::transmute(__vi.method_ptr);
113 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
114 __inner(__receiver, __mi)
115 }
116 }
117 }
118}
119
120#[cfg(feature = "app-profilecardcommentindexmenu")]
121impl<__T: IProfileCardCommentIndexMenu_DisposeEventHandler> IProfileCardCommentIndexMenu_DisposeEventHandlerMethods for __T {}
122
123#[cfg(feature = "app-profilecardcommentindexmenu")]
124impl ProfileCardCommentIndexMenu_DisposeEventHandler {
125 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
126 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
127 }
128
129 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
130 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
131 }
132}
133
134#[cfg(feature = "app-profilecardcommentindexmenu")]
135impl ProfileCardCommentIndexMenu_DisposeEventHandler {
136 #[doc = "Direct (non-virtual) call to `ProfileCardCommentIndexMenu_DisposeEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
137 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
138 let __mi = Self::invoke_method_info();
139 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
140 __inner(this.into(), ::core::option::Option::None)
141 }
142}
143
144#[cfg(feature = "app-profilecardcommentindexmenu")]
145impl ProfileCardCommentIndexMenu_DisposeEventHandler {
146 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
147 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
148 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
149 panic!(
150 "{}
151::{}
152 failed to instantiate",
153 ::core::stringify!(ProfileCardCommentIndexMenu_DisposeEventHandler),
154 ::core::stringify!(new),
155 )
156 });
157 <Self as IProfileCardCommentIndexMenu_DisposeEventHandlerMethods>::ctor(this, object, method);
158 this
159 }
160}
161
162#[cfg(feature = "app-profilecardcommentindexmenu")]
163pub trait IProfileCardCommentIndexMenu_DecideEventHandlerMethods: IProfileCardCommentIndexMenu_DecideEventHandler {
164 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
165 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
166 unsafe {
167 let __receiver = <ProfileCardCommentIndexMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
168 <Self as ::unity::SystemObject>::as_instance(self),
169 );
170 ::unity::il2cpp_call!((::unity::module_base()+0x22671b0usize)as*mut u8,();
171(ProfileCardCommentIndexMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
172 }
173 }
174 #[doc = "`Invoke(crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_Result2, i32)` overload"]
175 fn invoke(
176 self,
177 result: impl ::core::convert::Into<crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_Result2>,
178 index: impl ::core::convert::Into<i32>,
179 ) -> () {
180 unsafe {
181 let __receiver = <ProfileCardCommentIndexMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
182 <Self as ::unity::SystemObject>::as_instance(self),
183 );
184 {
185 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
186 let __vi = *__vt.get(13usize).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 13usize,
194 __vt.len(),
195 <ProfileCardCommentIndexMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
196 "Invoke",
197 )
198 });
199 let __inner: extern "C" fn(
200 ProfileCardCommentIndexMenu_DecideEventHandler,
201 crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_Result2,
202 i32,
203 ::unity::OptionalMethod,
204 ) -> () = ::core::mem::transmute(__vi.method_ptr);
205 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
206 __inner(__receiver, ::core::convert::Into::into(result), ::core::convert::Into::into(index), __mi)
207 }
208 }
209 }
210}
211
212#[cfg(feature = "app-profilecardcommentindexmenu")]
213impl<__T: IProfileCardCommentIndexMenu_DecideEventHandler> IProfileCardCommentIndexMenu_DecideEventHandlerMethods for __T {}
214
215#[cfg(feature = "app-profilecardcommentindexmenu")]
216impl ProfileCardCommentIndexMenu_DecideEventHandler {
217 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
218 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
219 }
220
221 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
222 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
223 }
224}
225
226#[cfg(feature = "app-profilecardcommentindexmenu")]
227impl ProfileCardCommentIndexMenu_DecideEventHandler {
228 #[doc = "Direct (non-virtual) call to `ProfileCardCommentIndexMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
229 pub unsafe fn invoke(
230 this: impl ::core::convert::Into<::unity::IlInstance>,
231 result: crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_Result2,
232 index: i32,
233 ) -> () {
234 let __mi = Self::invoke_method_info();
235 let __inner: extern "C" fn(
236 ::unity::IlInstance,
237 crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_Result2,
238 i32,
239 ::unity::OptionalMethod,
240 ) -> () = ::core::mem::transmute(__mi.method_ptr);
241 __inner(this.into(), result, index, ::core::option::Option::None)
242 }
243}
244
245#[cfg(feature = "app-profilecardcommentindexmenu")]
246impl ProfileCardCommentIndexMenu_DecideEventHandler {
247 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
248 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
249 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
250 panic!(
251 "{}
252::{}
253 failed to instantiate",
254 ::core::stringify!(ProfileCardCommentIndexMenu_DecideEventHandler),
255 ::core::stringify!(new),
256 )
257 });
258 <Self as IProfileCardCommentIndexMenu_DecideEventHandlerMethods>::ctor(this, object, method);
259 this
260 }
261}
262
263#[cfg(feature = "app-profilecardcommentindexmenu")]
264impl ProfileCardCommentIndexMenu {
265 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent, crate::app::profilecard::ProfileCard, i32, crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler, crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler)` overload"]
266 pub fn create_bind(
267 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
268 menu_content: impl ::core::convert::Into<crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent>,
269 my_profile_card_temp: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
270 initial_index: impl ::core::convert::Into<i32>,
271 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler>,
272 dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler>,
273 ) -> crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu {
274 unsafe {
275 ::unity::il2cpp_call!((::unity::module_base()+0x230e410usize)as*mut u8,crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu;
276(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecardmessageselectmenucontent::ProfileCardMessageSelectMenuContent)::core::convert::Into::into(menu_content),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(my_profile_card_temp),(i32)::core::convert::Into::into(initial_index),(crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
277 }
278 }
279
280 #[doc = "`CreateMenuItem(crate::app::profilecard::ProfileCard, crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler)` overload"]
281 pub fn create_menu_item(
282 profile_card: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
283 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler>,
284 ) -> crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> {
285 unsafe {
286 ::unity::il2cpp_call!((::unity::module_base()+0x230e570usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> ;
287(crate::app::profilecard::ProfileCard)::core::convert::Into::into(profile_card),(crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
288 }
289 }
290}
291
292#[cfg(feature = "app-profilecardcommentindexmenu")]
293pub trait IProfileCardCommentIndexMenuMethods: IProfileCardCommentIndexMenu {
294 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, i32, crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler, crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler)` overload"]
295 fn ctor(
296 self,
297 menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
298 menu_content: impl ::core::convert::Into<crate::app::basicmenucontent::BasicMenuContent>,
299 initial_index: impl ::core::convert::Into<i32>,
300 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler>,
301 dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler>,
302 ) -> () {
303 unsafe {
304 let __receiver =
305 <ProfileCardCommentIndexMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
306 ::unity::il2cpp_call!((::unity::module_base()+0x230e720usize)as*mut u8,();
307(ProfileCardCommentIndexMenu)__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),(i32)::core::convert::Into::into(initial_index),(crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
308 }
309 }
310 #[doc = "`GetName()` overload"]
311 fn get_name(self) -> ::unity::Il2CppString {
312 unsafe {
313 let __receiver =
314 <ProfileCardCommentIndexMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
315 {
316 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
317 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
318 panic!(
319 "unity: virtual slot {}
320 out of range (vtable len {}
321) on the runtime class behind {}
322 (method `{}
323`)",
324 30usize,
325 __vt.len(),
326 <ProfileCardCommentIndexMenu as ::unity::ClassIdentity>::NAME,
327 "GetName",
328 )
329 });
330 let __inner: extern "C" fn(ProfileCardCommentIndexMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
331 ::core::mem::transmute(__vi.method_ptr);
332 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
333 __inner(__receiver, __mi)
334 }
335 }
336 }
337 #[doc = "`SetMenuItemMid(i32, ::unity::Il2CppString)` overload"]
338 fn set_menu_item_mid(self, menu_item_index: impl ::core::convert::Into<i32>, mid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
339 unsafe {
340 let __receiver =
341 <ProfileCardCommentIndexMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 ::unity::il2cpp_call!((::unity::module_base()+0x230ea60usize)as*mut u8,();
343(ProfileCardCommentIndexMenu)__receiver,(i32)::core::convert::Into::into(menu_item_index),(::unity::Il2CppString)::core::convert::Into::into(mid))
344 }
345 }
346 #[doc = "`UpdateContent()` overload"]
347 fn update_content(self) -> () {
348 unsafe {
349 let __receiver =
350 <ProfileCardCommentIndexMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
351 ::unity::il2cpp_call!((::unity::module_base()+0x230e870usize)as*mut u8,();
352(ProfileCardCommentIndexMenu)__receiver)
353 }
354 }
355 #[doc = "`BCall()` overload"]
356 fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
357 unsafe {
358 let __receiver =
359 <ProfileCardCommentIndexMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
360 {
361 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
362 let __vi = *__vt.get(51usize).unwrap_or_else(|| {
363 panic!(
364 "unity: virtual slot {}
365 out of range (vtable len {}
366) on the runtime class behind {}
367 (method `{}
368`)",
369 51usize,
370 __vt.len(),
371 <ProfileCardCommentIndexMenu as ::unity::ClassIdentity>::NAME,
372 "BCall",
373 )
374 });
375 let __inner: extern "C" fn(ProfileCardCommentIndexMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
376 ::core::mem::transmute(__vi.method_ptr);
377 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
378 __inner(__receiver, __mi)
379 }
380 }
381 }
382 #[doc = "`OnDispose()` overload"]
383 fn on_dispose(self) -> () {
384 unsafe {
385 let __receiver =
386 <ProfileCardCommentIndexMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387 {
388 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
389 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
390 panic!(
391 "unity: virtual slot {}
392 out of range (vtable len {}
393) on the runtime class behind {}
394 (method `{}
395`)",
396 10usize,
397 __vt.len(),
398 <ProfileCardCommentIndexMenu as ::unity::ClassIdentity>::NAME,
399 "OnDispose",
400 )
401 });
402 let __inner: extern "C" fn(ProfileCardCommentIndexMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
403 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
404 __inner(__receiver, __mi)
405 }
406 }
407 }
408}
409
410#[cfg(feature = "app-profilecardcommentindexmenu")]
411impl<__T: IProfileCardCommentIndexMenu> IProfileCardCommentIndexMenuMethods for __T {}
412
413#[cfg(feature = "app-profilecardcommentindexmenu")]
414impl ProfileCardCommentIndexMenu {
415 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
416 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
417 }
418
419 pub fn create_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
420 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
421 }
422
423 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
425 }
426
427 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
429 }
430
431 pub fn set_menu_item_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
433 }
434
435 pub fn update_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
437 }
438
439 pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
441 }
442
443 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
445 }
446}
447
448#[cfg(feature = "app-profilecardcommentindexmenu")]
449impl ProfileCardCommentIndexMenu {
450 #[doc = "Direct (non-virtual) call to `ProfileCardCommentIndexMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
451 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
452 let __mi = Self::get_name_method_info();
453 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
454 __inner(this.into(), ::core::option::Option::None)
455 }
456
457 #[doc = "Direct (non-virtual) call to `ProfileCardCommentIndexMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
458 pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
459 let __mi = Self::b_call_method_info();
460 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
461 ::core::mem::transmute(__mi.method_ptr);
462 __inner(this.into(), ::core::option::Option::None)
463 }
464
465 #[doc = "Direct (non-virtual) call to `ProfileCardCommentIndexMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
466 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
467 let __mi = Self::on_dispose_method_info();
468 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
469 __inner(this.into(), ::core::option::Option::None)
470 }
471}
472
473#[cfg(feature = "app-profilecardcommentindexmenu")]
474impl ProfileCardCommentIndexMenu {
475 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, i32, crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler, crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler)` — overload selector"]
476 pub fn new(
477 menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
478 menu_content: crate::app::basicmenucontent::BasicMenuContent,
479 initial_index: i32,
480 decide_event_handler: crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DecideEventHandler,
481 dispose_event_handler: crate::app::profilecardcommentindexmenu::ProfileCardCommentIndexMenu_DisposeEventHandler,
482 ) -> Self {
483 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
484 panic!(
485 "{}
486::{}
487 failed to instantiate",
488 ::core::stringify!(ProfileCardCommentIndexMenu),
489 ::core::stringify!(new),
490 )
491 });
492 <Self as IProfileCardCommentIndexMenuMethods>::ctor(
493 this,
494 menu_item_list,
495 menu_content,
496 initial_index,
497 decide_event_handler,
498 dispose_event_handler,
499 );
500 this
501 }
502}
503
504#[cfg(feature = "app-profilecardcommentindexmenu")]
505#[doc(hidden)]
506pub mod prelude {
507 pub use super::{
508 IProfileCardCommentIndexMenu, IProfileCardCommentIndexMenuMethods, IProfileCardCommentIndexMenu_DecideEventHandler,
509 IProfileCardCommentIndexMenu_DecideEventHandlerMethods, IProfileCardCommentIndexMenu_DisposeEventHandler,
510 IProfileCardCommentIndexMenu_DisposeEventHandlerMethods, ProfileCardCommentIndexMenu, ProfileCardCommentIndexMenu_DecideEventHandler,
511 ProfileCardCommentIndexMenu_DisposeEventHandler, ProfileCardCommentIndexMenu_Result2,
512 };
513 #[cfg(feature = "app-basicmenu")]
514 pub use crate::app::basicmenu::IBasicMenuMethods;
515 #[cfg(feature = "app-procinst")]
516 pub use crate::app::procinst::IProcInstMethods;
517 #[cfg(feature = "system-delegate")]
518 pub use crate::system::delegate::IDelegateMethods;
519 #[cfg(feature = "system-multicastdelegate")]
520 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
521 #[cfg(feature = "system-object")]
522 pub use crate::system::object::IObjectMethods;
523 #[cfg(feature = "system-enum")]
524 pub use crate::system::r#enum::IEnumMethods;
525 #[cfg(feature = "system-valuetype")]
526 pub use crate::system::valuetype::IValueTypeMethods;
527 pub use crate::{
528 app::{basicmenu::IBasicMenu, procinst::IProcInst},
529 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
530 };
531}