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