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