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