1#[cfg(feature = "app-profilecardcommentlistmenu-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 },
18 };
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentlistmenu/ProfileCardCommentListMenu_SelectEventHandler.md"))]
21 #[::unity::class(namespace = "App", name = "ProfileCardCommentListMenu.SelectEventHandler")]
22 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
23 pub struct ProfileCardCommentListMenu_SelectEventHandler {}
24
25 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentlistmenu/ProfileCardCommentListMenu_CancelEventHandler.md"))]
26 #[::unity::class(namespace = "App", name = "ProfileCardCommentListMenu.CancelEventHandler")]
27 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
28 pub struct ProfileCardCommentListMenu_CancelEventHandler {}
29
30 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentlistmenu/ProfileCardCommentListMenu_DisposeEventHandler.md"))]
31 #[::unity::class(namespace = "App", name = "ProfileCardCommentListMenu.DisposeEventHandler")]
32 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
33 pub struct ProfileCardCommentListMenu_DisposeEventHandler {}
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentlistmenu/ProfileCardCommentListMenu_DecideEventHandler.md"))]
36 #[::unity::class(namespace = "App", name = "ProfileCardCommentListMenu.DecideEventHandler")]
37 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
38 pub struct ProfileCardCommentListMenu_DecideEventHandler {}
39
40 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/profilecardcommentlistmenu/ProfileCardCommentListMenu.md"))]
41 #[::unity::class(namespace = "App", name = "ProfileCardCommentListMenu")]
42 #[parent(crate::app::basicmenu::BasicMenu)]
43 pub struct ProfileCardCommentListMenu {
44 #[static_field]
45 #[rename(name = "m_MenuItemIndexNone")]
46 pub m_menu_item_index_none: i32,
47 #[static_field]
48 #[rename(name = "m_MenuItemIndexEmpty")]
49 pub m_menu_item_index_empty: i32,
50 #[offset(200)]
51 #[rename(name = "m_SelectEventHandler")]
52 pub m_select_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler,
53 #[offset(208)]
54 #[rename(name = "m_DecideEventHandler")]
55 pub m_decide_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler,
56 #[offset(216)]
57 #[rename(name = "m_CancelEventHandler")]
58 pub m_cancel_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler,
59 #[offset(224)]
60 #[rename(name = "m_DisposeEventHandler")]
61 pub m_dispose_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler,
62 #[offset(232)]
63 #[rename(name = "m_MyProfileCardTemp")]
64 pub m_my_profile_card_temp: crate::app::profilecard::ProfileCard,
65 #[offset(240)]
66 #[rename(name = "m_Category")]
67 pub m_category: crate::app::profilecardcommentdata::ProfileCardCommentData_Categories,
68 #[offset(248)]
69 #[rename(name = "m_Selects")]
70 pub m_selects: ::unity::Array<crate::app::basicmenuselect::BasicMenuSelect>,
71 #[offset(256)]
72 #[rename(name = "m_DecidedMenuItemIndex")]
73 pub m_decided_menu_item_index: i32,
74 #[offset(260)]
75 #[rename(name = "m_DecidedCategory")]
76 pub m_decided_category: crate::app::profilecardcommentdata::ProfileCardCommentData_Categories,
77 #[offset(264)]
78 #[rename(name = "m_DecidedCommentData")]
79 pub m_decided_comment_data: crate::app::profilecardcommentdata::ProfileCardCommentData,
80 #[offset(272)]
81 #[rename(name = "m_Sorted")]
82 pub m_sorted: bool,
83 }
84}
85
86#[cfg(feature = "app-profilecardcommentlistmenu-types")]
87pub use __types::*;
88
89#[cfg(feature = "app-profilecardcommentlistmenu")]
90pub trait IProfileCardCommentListMenu_SelectEventHandlerMethods: IProfileCardCommentListMenu_SelectEventHandler {
91 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
92 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
93 unsafe {
94 let __receiver = <ProfileCardCommentListMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(
95 <Self as ::unity::SystemObject>::as_instance(self),
96 );
97 ::unity::il2cpp_call!((::unity::module_base()+0x22681e0usize)as*mut u8,();
98(ProfileCardCommentListMenu_SelectEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
99 }
100 }
101 #[doc = "`Invoke(crate::app::profilecardcommentdata::ProfileCardCommentData)` overload"]
102 fn invoke(self, comment_data: impl ::core::convert::Into<crate::app::profilecardcommentdata::ProfileCardCommentData>) -> () {
103 unsafe {
104 let __receiver = <ProfileCardCommentListMenu_SelectEventHandler as ::unity::FromIlInstance>::from_il_instance(
105 <Self as ::unity::SystemObject>::as_instance(self),
106 );
107 {
108 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
109 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
110 panic!(
111 "unity: virtual slot {}
112 out of range (vtable len {}
113) on the runtime class behind {}
114 (method `{}
115`)",
116 13usize,
117 __vt.len(),
118 <ProfileCardCommentListMenu_SelectEventHandler as ::unity::ClassIdentity>::NAME,
119 "Invoke",
120 )
121 });
122 let __inner: extern "C" fn(
123 ProfileCardCommentListMenu_SelectEventHandler,
124 crate::app::profilecardcommentdata::ProfileCardCommentData,
125 ::unity::OptionalMethod,
126 ) -> () = ::core::mem::transmute(__vi.method_ptr);
127 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
128 __inner(__receiver, ::core::convert::Into::into(comment_data), __mi)
129 }
130 }
131 }
132}
133
134#[cfg(feature = "app-profilecardcommentlistmenu")]
135impl<__T: IProfileCardCommentListMenu_SelectEventHandler> IProfileCardCommentListMenu_SelectEventHandlerMethods for __T {}
136
137#[cfg(feature = "app-profilecardcommentlistmenu")]
138impl ProfileCardCommentListMenu_SelectEventHandler {
139 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
141 }
142
143 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
144 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
145 }
146}
147
148#[cfg(feature = "app-profilecardcommentlistmenu")]
149impl ProfileCardCommentListMenu_SelectEventHandler {
150 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu_SelectEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
151 pub unsafe fn invoke(
152 this: impl ::core::convert::Into<::unity::IlInstance>,
153 comment_data: crate::app::profilecardcommentdata::ProfileCardCommentData,
154 ) -> () {
155 let __mi = Self::invoke_method_info();
156 let __inner: extern "C" fn(::unity::IlInstance, crate::app::profilecardcommentdata::ProfileCardCommentData, ::unity::OptionalMethod) -> () =
157 ::core::mem::transmute(__mi.method_ptr);
158 __inner(this.into(), comment_data, ::core::option::Option::None)
159 }
160}
161
162#[cfg(feature = "app-profilecardcommentlistmenu")]
163impl ProfileCardCommentListMenu_SelectEventHandler {
164 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
165 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
166 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
167 panic!(
168 "{}
169::{}
170 failed to instantiate",
171 ::core::stringify!(ProfileCardCommentListMenu_SelectEventHandler),
172 ::core::stringify!(new),
173 )
174 });
175 <Self as IProfileCardCommentListMenu_SelectEventHandlerMethods>::ctor(this, object, method);
176 this
177 }
178}
179
180#[cfg(feature = "app-profilecardcommentlistmenu")]
181pub trait IProfileCardCommentListMenu_CancelEventHandlerMethods: IProfileCardCommentListMenu_CancelEventHandler {
182 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
183 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
184 unsafe {
185 let __receiver = <ProfileCardCommentListMenu_CancelEventHandler as ::unity::FromIlInstance>::from_il_instance(
186 <Self as ::unity::SystemObject>::as_instance(self),
187 );
188 ::unity::il2cpp_call!((::unity::module_base()+0x2267940usize)as*mut u8,();
189(ProfileCardCommentListMenu_CancelEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
190 }
191 }
192 #[doc = "`Invoke()` overload"]
193 fn invoke(self) -> () {
194 unsafe {
195 let __receiver = <ProfileCardCommentListMenu_CancelEventHandler as ::unity::FromIlInstance>::from_il_instance(
196 <Self as ::unity::SystemObject>::as_instance(self),
197 );
198 {
199 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
200 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
201 panic!(
202 "unity: virtual slot {}
203 out of range (vtable len {}
204) on the runtime class behind {}
205 (method `{}
206`)",
207 13usize,
208 __vt.len(),
209 <ProfileCardCommentListMenu_CancelEventHandler as ::unity::ClassIdentity>::NAME,
210 "Invoke",
211 )
212 });
213 let __inner: extern "C" fn(ProfileCardCommentListMenu_CancelEventHandler, ::unity::OptionalMethod) -> () =
214 ::core::mem::transmute(__vi.method_ptr);
215 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
216 __inner(__receiver, __mi)
217 }
218 }
219 }
220}
221
222#[cfg(feature = "app-profilecardcommentlistmenu")]
223impl<__T: IProfileCardCommentListMenu_CancelEventHandler> IProfileCardCommentListMenu_CancelEventHandlerMethods for __T {}
224
225#[cfg(feature = "app-profilecardcommentlistmenu")]
226impl ProfileCardCommentListMenu_CancelEventHandler {
227 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
229 }
230
231 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
233 }
234}
235
236#[cfg(feature = "app-profilecardcommentlistmenu")]
237impl ProfileCardCommentListMenu_CancelEventHandler {
238 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu_CancelEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
239 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
240 let __mi = Self::invoke_method_info();
241 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
242 __inner(this.into(), ::core::option::Option::None)
243 }
244}
245
246#[cfg(feature = "app-profilecardcommentlistmenu")]
247impl ProfileCardCommentListMenu_CancelEventHandler {
248 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
249 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
250 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
251 panic!(
252 "{}
253::{}
254 failed to instantiate",
255 ::core::stringify!(ProfileCardCommentListMenu_CancelEventHandler),
256 ::core::stringify!(new),
257 )
258 });
259 <Self as IProfileCardCommentListMenu_CancelEventHandlerMethods>::ctor(this, object, method);
260 this
261 }
262}
263
264#[cfg(feature = "app-profilecardcommentlistmenu")]
265pub trait IProfileCardCommentListMenu_DisposeEventHandlerMethods: IProfileCardCommentListMenu_DisposeEventHandler {
266 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
267 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
268 unsafe {
269 let __receiver = <ProfileCardCommentListMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
270 <Self as ::unity::SystemObject>::as_instance(self),
271 );
272 ::unity::il2cpp_call!((::unity::module_base()+0x2267f70usize)as*mut u8,();
273(ProfileCardCommentListMenu_DisposeEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
274 }
275 }
276 #[doc = "`Invoke()` overload"]
277 fn invoke(self) -> () {
278 unsafe {
279 let __receiver = <ProfileCardCommentListMenu_DisposeEventHandler as ::unity::FromIlInstance>::from_il_instance(
280 <Self as ::unity::SystemObject>::as_instance(self),
281 );
282 {
283 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
284 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
285 panic!(
286 "unity: virtual slot {}
287 out of range (vtable len {}
288) on the runtime class behind {}
289 (method `{}
290`)",
291 13usize,
292 __vt.len(),
293 <ProfileCardCommentListMenu_DisposeEventHandler as ::unity::ClassIdentity>::NAME,
294 "Invoke",
295 )
296 });
297 let __inner: extern "C" fn(ProfileCardCommentListMenu_DisposeEventHandler, ::unity::OptionalMethod) -> () =
298 ::core::mem::transmute(__vi.method_ptr);
299 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
300 __inner(__receiver, __mi)
301 }
302 }
303 }
304}
305
306#[cfg(feature = "app-profilecardcommentlistmenu")]
307impl<__T: IProfileCardCommentListMenu_DisposeEventHandler> IProfileCardCommentListMenu_DisposeEventHandlerMethods for __T {}
308
309#[cfg(feature = "app-profilecardcommentlistmenu")]
310impl ProfileCardCommentListMenu_DisposeEventHandler {
311 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
313 }
314
315 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
317 }
318}
319
320#[cfg(feature = "app-profilecardcommentlistmenu")]
321impl ProfileCardCommentListMenu_DisposeEventHandler {
322 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu_DisposeEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
323 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
324 let __mi = Self::invoke_method_info();
325 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
326 __inner(this.into(), ::core::option::Option::None)
327 }
328}
329
330#[cfg(feature = "app-profilecardcommentlistmenu")]
331impl ProfileCardCommentListMenu_DisposeEventHandler {
332 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
333 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
334 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
335 panic!(
336 "{}
337::{}
338 failed to instantiate",
339 ::core::stringify!(ProfileCardCommentListMenu_DisposeEventHandler),
340 ::core::stringify!(new),
341 )
342 });
343 <Self as IProfileCardCommentListMenu_DisposeEventHandlerMethods>::ctor(this, object, method);
344 this
345 }
346}
347
348#[cfg(feature = "app-profilecardcommentlistmenu")]
349pub trait IProfileCardCommentListMenu_DecideEventHandlerMethods: IProfileCardCommentListMenu_DecideEventHandler {
350 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
351 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
352 unsafe {
353 let __receiver = <ProfileCardCommentListMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
354 <Self as ::unity::SystemObject>::as_instance(self),
355 );
356 ::unity::il2cpp_call!((::unity::module_base()+0x2267bb0usize)as*mut u8,();
357(ProfileCardCommentListMenu_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
358 }
359 }
360 #[doc = "`Invoke(crate::app::profilecardcommentdata::ProfileCardCommentData)` overload"]
361 fn invoke(self, comment_data: impl ::core::convert::Into<crate::app::profilecardcommentdata::ProfileCardCommentData>) -> () {
362 unsafe {
363 let __receiver = <ProfileCardCommentListMenu_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
364 <Self as ::unity::SystemObject>::as_instance(self),
365 );
366 {
367 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
368 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
369 panic!(
370 "unity: virtual slot {}
371 out of range (vtable len {}
372) on the runtime class behind {}
373 (method `{}
374`)",
375 13usize,
376 __vt.len(),
377 <ProfileCardCommentListMenu_DecideEventHandler as ::unity::ClassIdentity>::NAME,
378 "Invoke",
379 )
380 });
381 let __inner: extern "C" fn(
382 ProfileCardCommentListMenu_DecideEventHandler,
383 crate::app::profilecardcommentdata::ProfileCardCommentData,
384 ::unity::OptionalMethod,
385 ) -> () = ::core::mem::transmute(__vi.method_ptr);
386 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
387 __inner(__receiver, ::core::convert::Into::into(comment_data), __mi)
388 }
389 }
390 }
391}
392
393#[cfg(feature = "app-profilecardcommentlistmenu")]
394impl<__T: IProfileCardCommentListMenu_DecideEventHandler> IProfileCardCommentListMenu_DecideEventHandlerMethods for __T {}
395
396#[cfg(feature = "app-profilecardcommentlistmenu")]
397impl ProfileCardCommentListMenu_DecideEventHandler {
398 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
400 }
401
402 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
404 }
405}
406
407#[cfg(feature = "app-profilecardcommentlistmenu")]
408impl ProfileCardCommentListMenu_DecideEventHandler {
409 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
410 pub unsafe fn invoke(
411 this: impl ::core::convert::Into<::unity::IlInstance>,
412 comment_data: crate::app::profilecardcommentdata::ProfileCardCommentData,
413 ) -> () {
414 let __mi = Self::invoke_method_info();
415 let __inner: extern "C" fn(::unity::IlInstance, crate::app::profilecardcommentdata::ProfileCardCommentData, ::unity::OptionalMethod) -> () =
416 ::core::mem::transmute(__mi.method_ptr);
417 __inner(this.into(), comment_data, ::core::option::Option::None)
418 }
419}
420
421#[cfg(feature = "app-profilecardcommentlistmenu")]
422impl ProfileCardCommentListMenu_DecideEventHandler {
423 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
424 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
425 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
426 panic!(
427 "{}
428::{}
429 failed to instantiate",
430 ::core::stringify!(ProfileCardCommentListMenu_DecideEventHandler),
431 ::core::stringify!(new),
432 )
433 });
434 <Self as IProfileCardCommentListMenu_DecideEventHandlerMethods>::ctor(this, object, method);
435 this
436 }
437}
438
439#[cfg(feature = "app-profilecardcommentlistmenu")]
440impl ProfileCardCommentListMenu {
441 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent, crate::app::profilecard::ProfileCard, crate::app::profilecardcommentdata::ProfileCardCommentData, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler)` overload"]
442 pub fn create_bind(
443 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
444 menu_content: impl ::core::convert::Into<crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent>,
445 my_profile_card_temp: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
446 initial_comment_data: impl ::core::convert::Into<crate::app::profilecardcommentdata::ProfileCardCommentData>,
447 select_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler>,
448 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler>,
449 cancel_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler>,
450 dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler>,
451 ) -> crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu {
452 unsafe {
453 ::unity::il2cpp_call!((::unity::module_base()+0x230f0f0usize)as*mut u8,crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu;
454(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecardmessagelistmenucontent::ProfileCardMessageListMenuContent)::core::convert::Into::into(menu_content),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(my_profile_card_temp),(crate::app::profilecardcommentdata::ProfileCardCommentData)::core::convert::Into::into(initial_comment_data),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler)::core::convert::Into::into(cancel_event_handler),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
455 }
456 }
457
458 #[doc = "`CreateMenuItem(crate::app::profilecardcommentdata::ProfileCardCommentData_Categories, crate::app::profilecardcommentdata::ProfileCardCommentData, bool, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler, *muti32)` overload"]
459 pub fn create_menu_item(
460 category: impl ::core::convert::Into<crate::app::profilecardcommentdata::ProfileCardCommentData_Categories>,
461 initial_comment_data: impl ::core::convert::Into<crate::app::profilecardcommentdata::ProfileCardCommentData>,
462 sorting: impl ::core::convert::Into<bool>,
463 select_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler>,
464 ) -> (
465 crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
466 i32,
467 ) {
468 unsafe {
469 let mut __out_0 = ::core::mem::MaybeUninit::<i32>::uninit();
470 let __ret = {
471 ::unity::il2cpp_call!((::unity::module_base()+0x230f270usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem> ;
472(crate::app::profilecardcommentdata::ProfileCardCommentData_Categories)::core::convert::Into::into(category),(crate::app::profilecardcommentdata::ProfileCardCommentData)::core::convert::Into::into(initial_comment_data),(bool)::core::convert::Into::into(sorting),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler),(*mut i32)__out_0.as_mut_ptr())
473 };
474 (__ret, __out_0.assume_init())
475 }
476 }
477
478 #[doc = "`.cctor()` overload"]
479 pub fn cctor() -> () {
480 unsafe {
481 ::unity::il2cpp_call!((::unity::module_base()+0x23113e0usize)as*mut u8,();
482 )
483 }
484 }
485}
486
487#[cfg(feature = "app-profilecardcommentlistmenu")]
488pub trait IProfileCardCommentListMenuMethods: IProfileCardCommentListMenu {
489 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, crate::app::profilecard::ProfileCard, crate::app::profilecardcommentdata::ProfileCardCommentData_Categories, i32, crate::app::profilecardcommentdata::ProfileCardCommentData, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler)` overload"]
490 fn ctor(
491 self,
492 menu_item_list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>>,
493 menu_content: impl ::core::convert::Into<crate::app::basicmenucontent::BasicMenuContent>,
494 my_profile_card_temp: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
495 initial_category: impl ::core::convert::Into<crate::app::profilecardcommentdata::ProfileCardCommentData_Categories>,
496 initial_decided_index: impl ::core::convert::Into<i32>,
497 initial_comment_data: impl ::core::convert::Into<crate::app::profilecardcommentdata::ProfileCardCommentData>,
498 select_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler>,
499 decide_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler>,
500 cancel_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler>,
501 dispose_event_handler: impl ::core::convert::Into<crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler>,
502 ) -> () {
503 unsafe {
504 let __receiver =
505 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
506 ::unity::il2cpp_call!((::unity::module_base()+0x230f7d0usize)as*mut u8,();
507(ProfileCardCommentListMenu)__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::profilecard::ProfileCard)::core::convert::Into::into(my_profile_card_temp),(crate::app::profilecardcommentdata::ProfileCardCommentData_Categories)::core::convert::Into::into(initial_category),(i32)::core::convert::Into::into(initial_decided_index),(crate::app::profilecardcommentdata::ProfileCardCommentData)::core::convert::Into::into(initial_comment_data),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler)::core::convert::Into::into(select_event_handler),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler)::core::convert::Into::into(cancel_event_handler),(crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler)::core::convert::Into::into(dispose_event_handler))
508 }
509 }
510 #[doc = "`OnBuild(bool)` overload"]
511 fn on_build(self, is_first_build: impl ::core::convert::Into<bool>) -> () {
512 unsafe {
513 let __receiver =
514 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
515 {
516 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
517 let __vi = *__vt.get(24usize).unwrap_or_else(|| {
518 panic!(
519 "unity: virtual slot {}
520 out of range (vtable len {}
521) on the runtime class behind {}
522 (method `{}
523`)",
524 24usize,
525 __vt.len(),
526 <ProfileCardCommentListMenu as ::unity::ClassIdentity>::NAME,
527 "OnBuild",
528 )
529 });
530 let __inner: extern "C" fn(ProfileCardCommentListMenu, bool, ::unity::OptionalMethod) -> () = ::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, ::core::convert::Into::into(is_first_build), __mi)
533 }
534 }
535 }
536 #[doc = "`RebuildMenu()` overload"]
537 fn rebuild_menu(self) -> () {
538 unsafe {
539 let __receiver =
540 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 ::unity::il2cpp_call!((::unity::module_base()+0x2310720usize)as*mut u8,();
542(ProfileCardCommentListMenu)__receiver)
543 }
544 }
545 #[doc = "`GetName()` overload"]
546 fn get_name(self) -> ::unity::Il2CppString {
547 unsafe {
548 let __receiver =
549 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550 {
551 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
552 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
553 panic!(
554 "unity: virtual slot {}
555 out of range (vtable len {}
556) on the runtime class behind {}
557 (method `{}
558`)",
559 30usize,
560 __vt.len(),
561 <ProfileCardCommentListMenu as ::unity::ClassIdentity>::NAME,
562 "GetName",
563 )
564 });
565 let __inner: extern "C" fn(ProfileCardCommentListMenu, ::unity::OptionalMethod) -> ::unity::Il2CppString =
566 ::core::mem::transmute(__vi.method_ptr);
567 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
568 __inner(__receiver, __mi)
569 }
570 }
571 }
572 #[doc = "`GetSelect()` overload"]
573 fn get_select(self) -> crate::app::basicmenuselect::BasicMenuSelect {
574 unsafe {
575 let __receiver =
576 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
577 ::unity::il2cpp_call!((::unity::module_base()+0x2310890usize)as*mut u8,crate::app::basicmenuselect::BasicMenuSelect;
578(ProfileCardCommentListMenu)__receiver)
579 }
580 }
581 #[doc = "`UpdateDecided(i32, bool)` overload"]
582 fn update_decided(self, menu_item_index: impl ::core::convert::Into<i32>, initial: impl ::core::convert::Into<bool>) -> bool {
583 unsafe {
584 let __receiver =
585 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
586 ::unity::il2cpp_call!((::unity::module_base()+0x2310950usize)as*mut u8,bool;
587(ProfileCardCommentListMenu)__receiver,(i32)::core::convert::Into::into(menu_item_index),(bool)::core::convert::Into::into(initial))
588 }
589 }
590 #[doc = "`UpdateContent()` overload"]
591 fn update_content(self) -> () {
592 unsafe {
593 let __receiver =
594 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
595 ::unity::il2cpp_call!((::unity::module_base()+0x2310470usize)as*mut u8,();
596(ProfileCardCommentListMenu)__receiver)
597 }
598 }
599 #[doc = "`KeyLeft(bool)` overload"]
600 fn key_left(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
601 unsafe {
602 let __receiver =
603 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
604 {
605 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
606 let __vi = *__vt.get(42usize).unwrap_or_else(|| {
607 panic!(
608 "unity: virtual slot {}
609 out of range (vtable len {}
610) on the runtime class behind {}
611 (method `{}
612`)",
613 42usize,
614 __vt.len(),
615 <ProfileCardCommentListMenu as ::unity::ClassIdentity>::NAME,
616 "KeyLeft",
617 )
618 });
619 let __inner: extern "C" fn(ProfileCardCommentListMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
620 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
621 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
622 }
623 }
624 }
625 #[doc = "`KeyRight(bool)` overload"]
626 fn key_right(self, is_trigger: impl ::core::convert::Into<bool>) -> () {
627 unsafe {
628 let __receiver =
629 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630 {
631 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
632 let __vi = *__vt.get(43usize).unwrap_or_else(|| {
633 panic!(
634 "unity: virtual slot {}
635 out of range (vtable len {}
636) on the runtime class behind {}
637 (method `{}
638`)",
639 43usize,
640 __vt.len(),
641 <ProfileCardCommentListMenu as ::unity::ClassIdentity>::NAME,
642 "KeyRight",
643 )
644 });
645 let __inner: extern "C" fn(ProfileCardCommentListMenu, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
646 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
647 __inner(__receiver, ::core::convert::Into::into(is_trigger), __mi)
648 }
649 }
650 }
651 #[doc = "`BCall()` overload"]
652 fn b_call(self) -> crate::app::basicmenu::BasicMenu_Result {
653 unsafe {
654 let __receiver =
655 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
656 {
657 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
658 let __vi = *__vt.get(51usize).unwrap_or_else(|| {
659 panic!(
660 "unity: virtual slot {}
661 out of range (vtable len {}
662) on the runtime class behind {}
663 (method `{}
664`)",
665 51usize,
666 __vt.len(),
667 <ProfileCardCommentListMenu as ::unity::ClassIdentity>::NAME,
668 "BCall",
669 )
670 });
671 let __inner: extern "C" fn(ProfileCardCommentListMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
672 ::core::mem::transmute(__vi.method_ptr);
673 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
674 __inner(__receiver, __mi)
675 }
676 }
677 }
678 #[doc = "`CustomCall()` overload"]
679 fn custom_call(self) -> crate::app::basicmenu::BasicMenu_Result {
680 unsafe {
681 let __receiver =
682 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
683 {
684 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
685 let __vi = *__vt.get(58usize).unwrap_or_else(|| {
686 panic!(
687 "unity: virtual slot {}
688 out of range (vtable len {}
689) on the runtime class behind {}
690 (method `{}
691`)",
692 58usize,
693 __vt.len(),
694 <ProfileCardCommentListMenu as ::unity::ClassIdentity>::NAME,
695 "CustomCall",
696 )
697 });
698 let __inner: extern "C" fn(ProfileCardCommentListMenu, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
699 ::core::mem::transmute(__vi.method_ptr);
700 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
701 __inner(__receiver, __mi)
702 }
703 }
704 }
705 #[doc = "`OnDispose()` overload"]
706 fn on_dispose(self) -> () {
707 unsafe {
708 let __receiver =
709 <ProfileCardCommentListMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
710 {
711 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
712 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
713 panic!(
714 "unity: virtual slot {}
715 out of range (vtable len {}
716) on the runtime class behind {}
717 (method `{}
718`)",
719 10usize,
720 __vt.len(),
721 <ProfileCardCommentListMenu as ::unity::ClassIdentity>::NAME,
722 "OnDispose",
723 )
724 });
725 let __inner: extern "C" fn(ProfileCardCommentListMenu, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
726 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
727 __inner(__receiver, __mi)
728 }
729 }
730 }
731}
732
733#[cfg(feature = "app-profilecardcommentlistmenu")]
734impl<__T: IProfileCardCommentListMenu> IProfileCardCommentListMenuMethods for __T {}
735
736#[cfg(feature = "app-profilecardcommentlistmenu")]
737impl ProfileCardCommentListMenu {
738 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
739 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
740 }
741
742 pub fn create_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
743 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
744 }
745
746 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
747 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
748 }
749
750 pub fn on_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
751 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
752 }
753
754 pub fn rebuild_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
755 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
756 }
757
758 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
759 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
760 }
761
762 pub fn get_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
763 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
764 }
765
766 pub fn update_decided_method_info() -> &'static ::unity::il2cpp::MethodInfo {
767 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
768 }
769
770 pub fn update_content_method_info() -> &'static ::unity::il2cpp::MethodInfo {
771 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
772 }
773
774 pub fn key_left_method_info() -> &'static ::unity::il2cpp::MethodInfo {
775 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
776 }
777
778 pub fn key_right_method_info() -> &'static ::unity::il2cpp::MethodInfo {
779 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
780 }
781
782 pub fn b_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
783 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
784 }
785
786 pub fn custom_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
787 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
788 }
789
790 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
791 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
792 }
793
794 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
795 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
796 }
797}
798
799#[cfg(feature = "app-profilecardcommentlistmenu")]
800impl ProfileCardCommentListMenu {
801 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu`'s own `OnBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
802 pub unsafe fn on_build(this: impl ::core::convert::Into<::unity::IlInstance>, is_first_build: bool) -> () {
803 let __mi = Self::on_build_method_info();
804 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
805 __inner(this.into(), is_first_build, ::core::option::Option::None)
806 }
807
808 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu`'s own `GetName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
809 pub unsafe fn get_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
810 let __mi = Self::get_name_method_info();
811 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
812 __inner(this.into(), ::core::option::Option::None)
813 }
814
815 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu`'s own `KeyLeft`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
816 pub unsafe fn key_left(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
817 let __mi = Self::key_left_method_info();
818 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
819 __inner(this.into(), is_trigger, ::core::option::Option::None)
820 }
821
822 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu`'s own `KeyRight`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
823 pub unsafe fn key_right(this: impl ::core::convert::Into<::unity::IlInstance>, is_trigger: bool) -> () {
824 let __mi = Self::key_right_method_info();
825 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
826 __inner(this.into(), is_trigger, ::core::option::Option::None)
827 }
828
829 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu`'s own `BCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
830 pub unsafe fn b_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
831 let __mi = Self::b_call_method_info();
832 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
833 ::core::mem::transmute(__mi.method_ptr);
834 __inner(this.into(), ::core::option::Option::None)
835 }
836
837 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu`'s own `CustomCall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
838 pub unsafe fn custom_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
839 let __mi = Self::custom_call_method_info();
840 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
841 ::core::mem::transmute(__mi.method_ptr);
842 __inner(this.into(), ::core::option::Option::None)
843 }
844
845 #[doc = "Direct (non-virtual) call to `ProfileCardCommentListMenu`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
846 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
847 let __mi = Self::on_dispose_method_info();
848 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
849 __inner(this.into(), ::core::option::Option::None)
850 }
851}
852
853#[cfg(feature = "app-profilecardcommentlistmenu")]
854impl ProfileCardCommentListMenu {
855 #[doc = "`.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, crate::app::profilecard::ProfileCard, crate::app::profilecardcommentdata::ProfileCardCommentData_Categories, i32, crate::app::profilecardcommentdata::ProfileCardCommentData, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler, crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler)` — overload selector"]
856 pub fn new(
857 menu_item_list: crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>,
858 menu_content: crate::app::basicmenucontent::BasicMenuContent,
859 my_profile_card_temp: crate::app::profilecard::ProfileCard,
860 initial_category: crate::app::profilecardcommentdata::ProfileCardCommentData_Categories,
861 initial_decided_index: i32,
862 initial_comment_data: crate::app::profilecardcommentdata::ProfileCardCommentData,
863 select_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_SelectEventHandler,
864 decide_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DecideEventHandler,
865 cancel_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_CancelEventHandler,
866 dispose_event_handler: crate::app::profilecardcommentlistmenu::ProfileCardCommentListMenu_DisposeEventHandler,
867 ) -> Self {
868 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
869 panic!(
870 "{}
871::{}
872 failed to instantiate",
873 ::core::stringify!(ProfileCardCommentListMenu),
874 ::core::stringify!(new),
875 )
876 });
877 <Self as IProfileCardCommentListMenuMethods>::ctor(
878 this,
879 menu_item_list,
880 menu_content,
881 my_profile_card_temp,
882 initial_category,
883 initial_decided_index,
884 initial_comment_data,
885 select_event_handler,
886 decide_event_handler,
887 cancel_event_handler,
888 dispose_event_handler,
889 );
890 this
891 }
892}
893
894#[cfg(feature = "app-profilecardcommentlistmenu")]
895#[doc(hidden)]
896pub mod prelude {
897 pub use super::{
898 IProfileCardCommentListMenu, IProfileCardCommentListMenuMethods, IProfileCardCommentListMenu_CancelEventHandler,
899 IProfileCardCommentListMenu_CancelEventHandlerMethods, IProfileCardCommentListMenu_DecideEventHandler,
900 IProfileCardCommentListMenu_DecideEventHandlerMethods, IProfileCardCommentListMenu_DisposeEventHandler,
901 IProfileCardCommentListMenu_DisposeEventHandlerMethods, IProfileCardCommentListMenu_SelectEventHandler,
902 IProfileCardCommentListMenu_SelectEventHandlerMethods, ProfileCardCommentListMenu, ProfileCardCommentListMenu_CancelEventHandler,
903 ProfileCardCommentListMenu_DecideEventHandler, ProfileCardCommentListMenu_DisposeEventHandler, ProfileCardCommentListMenu_SelectEventHandler,
904 };
905 #[cfg(feature = "app-basicmenu")]
906 pub use crate::app::basicmenu::IBasicMenuMethods;
907 #[cfg(feature = "app-procinst")]
908 pub use crate::app::procinst::IProcInstMethods;
909 #[cfg(feature = "system-delegate")]
910 pub use crate::system::delegate::IDelegateMethods;
911 #[cfg(feature = "system-multicastdelegate")]
912 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
913 #[cfg(feature = "system-object")]
914 pub use crate::system::object::IObjectMethods;
915 pub use crate::{
916 app::{basicmenu::IBasicMenu, procinst::IProcInst},
917 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
918 };
919}