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