1#[cfg(feature = "app-refineshopexchangemenutop-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 basicdialogitem::{BasicDialogItem, IBasicDialogItem},
11 basicdialogitemyes::{BasicDialogItemYes, IBasicDialogItemYes},
12 basicmenuitem::{BasicMenuItem, IBasicMenuItem},
13 procinst::{IProcInst, ProcInst},
14 },
15 system::{
16 delegate::{Delegate, IDelegate},
17 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
18 object::{IObject, Object},
19 r#enum::{Enum, IEnum},
20 valuetype::{IValueType, ValueType},
21 },
22 };
23
24 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineshopexchangemenutop/RefineShopExchangeMenuTop_CloseEventHandler.md"))]
25 #[::unity::class(namespace = "App", name = "RefineShopExchangeMenuTop.CloseEventHandler")]
26 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
27 pub struct RefineShopExchangeMenuTop_CloseEventHandler {}
28
29 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineshopexchangemenutop/RefineShopExchangeMenuTop_Label.md"))]
30 #[repr(C)]
31 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
32 pub struct RefineShopExchangeMenuTop_Label {
33 pub value: i32,
34 }
35 impl ::unity::ClassIdentity for RefineShopExchangeMenuTop_Label {
36 const NAME: &'static str = "RefineShopExchangeMenuTop.Label";
37 const NAMESPACE: &'static str = "App";
38
39 fn class() -> ::unity::Class {
40 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
41 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
42 }
43 }
44 impl ::unity::IlType for RefineShopExchangeMenuTop_Label {
45 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
46 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
47 }
48 }
49 impl RefineShopExchangeMenuTop_Label {
50 pub fn entry() -> Self {
51 Self { value: 0 }
52 }
53
54 pub fn target_menu() -> Self {
55 Self { value: 1 }
56 }
57
58 pub fn source_menu() -> Self {
59 Self { value: 2 }
60 }
61
62 pub fn count_menu() -> Self {
63 Self { value: 3 }
64 }
65
66 pub fn end() -> Self {
67 Self { value: 4 }
68 }
69 }
70
71 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineshopexchangemenutop/RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler.md"))]
72 #[::unity::class(namespace = "App", name = "RefineShopExchangeMenuTop.ConfirmDialog.YesEventHandler")]
73 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
74 pub struct RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler {}
75
76 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineshopexchangemenutop/RefineShopExchangeMenuTop.md"))]
77 #[::unity::class(namespace = "App", name = "RefineShopExchangeMenuTop")]
78 #[parent(crate::app::procinst::ProcInst)]
79 pub struct RefineShopExchangeMenuTop {
80 #[offset(112)]
81 #[rename(name = "m_RefineShopExchangeRoot")]
82 pub m_refine_shop_exchange_root: crate::app::refineshopexchangeroot::RefineShopExchangeRoot,
83 #[offset(120)]
84 #[rename(name = "m_RefineShopExchangeTargetMenu")]
85 pub m_refine_shop_exchange_target_menu: crate::app::refineshopexchangetargetmenu::RefineShopExchangeTargetMenu,
86 #[offset(128)]
87 #[rename(name = "m_RefineShopExchangeSourceMenu")]
88 pub m_refine_shop_exchange_source_menu: crate::app::refineshopexchangesourcemenu::RefineShopExchangeSourceMenu,
89 #[offset(136)]
90 #[rename(name = "m_RefineShopExchangeCountMenu")]
91 pub m_refine_shop_exchange_count_menu: crate::app::refineshopexchangecountmenu::RefineShopExchangeCountMenu,
92 #[offset(144)]
93 #[rename(name = "m_RefineShopExchangeResultPopup")]
94 pub m_refine_shop_exchange_result_popup: crate::app::refineshopexchangeresultpopup::RefineShopExchangeResultPopup,
95 #[offset(152)]
96 #[rename(name = "m_CloseEventHandler")]
97 pub m_close_event_handler: crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler,
98 #[offset(160)]
99 #[rename(name = "m_Result")]
100 pub m_result: crate::app::basicmenu::BasicMenu_Result,
101 #[offset(168)]
102 #[rename(name = "m_TargetMaterialId")]
103 pub m_target_material_id: ::unity::Il2CppString,
104 #[offset(176)]
105 #[rename(name = "m_SourceMaterialId")]
106 pub m_source_material_id: ::unity::Il2CppString,
107 #[offset(184)]
108 #[rename(name = "m_TargetMaterialCount")]
109 pub m_target_material_count: i32,
110 #[offset(188)]
111 #[rename(name = "m_SourceMaterialCount")]
112 pub m_source_material_count: i32,
113 }
114
115 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineshopexchangemenutop/RefineShopExchangeMenuTop_ConfirmDialog.md"))]
116 #[::unity::class(namespace = "App", name = "RefineShopExchangeMenuTop.ConfirmDialog")]
117 #[parent(crate::system::object::Object)]
118 pub struct RefineShopExchangeMenuTop_ConfirmDialog {
119 #[static_field]
120 #[rename(name = "m_StringBuilder")]
121 pub m_string_builder: ::unity::IlInstance,
122 }
123
124 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/refineshopexchangemenutop/RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem.md"))]
125 #[::unity::class(namespace = "App", name = "RefineShopExchangeMenuTop.ConfirmDialog.YesMenuItem")]
126 #[parent(crate::app::basicdialogitemyes::BasicDialogItemYes)]
127 pub struct RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem {
128 #[offset(112)]
129 #[rename(name = "m_YesEventHandler")]
130 pub m_yes_event_handler: crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler,
131 }
132}
133
134#[cfg(feature = "app-refineshopexchangemenutop-types")]
135pub use __types::*;
136
137#[cfg(feature = "app-refineshopexchangemenutop")]
138pub trait IRefineShopExchangeMenuTop_CloseEventHandlerMethods: IRefineShopExchangeMenuTop_CloseEventHandler {
139 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
140 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
141 unsafe {
142 let __receiver = <RefineShopExchangeMenuTop_CloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
143 <Self as ::unity::SystemObject>::as_instance(self),
144 );
145 ::unity::il2cpp_call!((::unity::module_base()+0x1afae60usize)as*mut u8,();
146(RefineShopExchangeMenuTop_CloseEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
147 }
148 }
149 #[doc = "`Invoke()` overload"]
150 fn invoke(self) -> () {
151 unsafe {
152 let __receiver = <RefineShopExchangeMenuTop_CloseEventHandler as ::unity::FromIlInstance>::from_il_instance(
153 <Self as ::unity::SystemObject>::as_instance(self),
154 );
155 {
156 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
157 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
158 panic!(
159 "unity: virtual slot {}
160 out of range (vtable len {}
161) on the runtime class behind {}
162 (method `{}
163`)",
164 13usize,
165 __vt.len(),
166 <RefineShopExchangeMenuTop_CloseEventHandler as ::unity::ClassIdentity>::NAME,
167 "Invoke",
168 )
169 });
170 let __inner: extern "C" fn(RefineShopExchangeMenuTop_CloseEventHandler, ::unity::OptionalMethod) -> () =
171 ::core::mem::transmute(__vi.method_ptr);
172 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
173 __inner(__receiver, __mi)
174 }
175 }
176 }
177}
178
179#[cfg(feature = "app-refineshopexchangemenutop")]
180impl<__T: IRefineShopExchangeMenuTop_CloseEventHandler> IRefineShopExchangeMenuTop_CloseEventHandlerMethods for __T {}
181
182#[cfg(feature = "app-refineshopexchangemenutop")]
183impl RefineShopExchangeMenuTop_CloseEventHandler {
184 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
186 }
187
188 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
190 }
191}
192
193#[cfg(feature = "app-refineshopexchangemenutop")]
194impl RefineShopExchangeMenuTop_CloseEventHandler {
195 #[doc = "Direct (non-virtual) call to `RefineShopExchangeMenuTop_CloseEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
196 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
197 let __mi = Self::invoke_method_info();
198 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
199 __inner(this.into(), ::core::option::Option::None)
200 }
201}
202
203#[cfg(feature = "app-refineshopexchangemenutop")]
204impl RefineShopExchangeMenuTop_CloseEventHandler {
205 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
206 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
207 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
208 panic!(
209 "{}
210::{}
211 failed to instantiate",
212 ::core::stringify!(RefineShopExchangeMenuTop_CloseEventHandler),
213 ::core::stringify!(new),
214 )
215 });
216 <Self as IRefineShopExchangeMenuTop_CloseEventHandlerMethods>::ctor(this, object, method);
217 this
218 }
219}
220
221#[cfg(feature = "app-refineshopexchangemenutop")]
222pub trait IRefineShopExchangeMenuTop_ConfirmDialog_YesEventHandlerMethods: IRefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler {
223 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
224 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
225 unsafe {
226 let __receiver = <RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler as ::unity::FromIlInstance>::from_il_instance(
227 <Self as ::unity::SystemObject>::as_instance(self),
228 );
229 ::unity::il2cpp_call!((::unity::module_base()+0x1b7b820usize)as*mut u8,();
230(RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
231 }
232 }
233 #[doc = "`Invoke()` overload"]
234 fn invoke(self) -> () {
235 unsafe {
236 let __receiver = <RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler as ::unity::FromIlInstance>::from_il_instance(
237 <Self as ::unity::SystemObject>::as_instance(self),
238 );
239 {
240 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
241 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
242 panic!(
243 "unity: virtual slot {}
244 out of range (vtable len {}
245) on the runtime class behind {}
246 (method `{}
247`)",
248 13usize,
249 __vt.len(),
250 <RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler as ::unity::ClassIdentity>::NAME,
251 "Invoke",
252 )
253 });
254 let __inner: extern "C" fn(RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler, ::unity::OptionalMethod) -> () =
255 ::core::mem::transmute(__vi.method_ptr);
256 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
257 __inner(__receiver, __mi)
258 }
259 }
260 }
261}
262
263#[cfg(feature = "app-refineshopexchangemenutop")]
264impl<__T: IRefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler> IRefineShopExchangeMenuTop_ConfirmDialog_YesEventHandlerMethods for __T {}
265
266#[cfg(feature = "app-refineshopexchangemenutop")]
267impl RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler {
268 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
270 }
271
272 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
274 }
275}
276
277#[cfg(feature = "app-refineshopexchangemenutop")]
278impl RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler {
279 #[doc = "Direct (non-virtual) call to `RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
280 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
281 let __mi = Self::invoke_method_info();
282 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
283 __inner(this.into(), ::core::option::Option::None)
284 }
285}
286
287#[cfg(feature = "app-refineshopexchangemenutop")]
288impl RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler {
289 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
290 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
291 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
292 panic!(
293 "{}
294::{}
295 failed to instantiate",
296 ::core::stringify!(RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler),
297 ::core::stringify!(new),
298 )
299 });
300 <Self as IRefineShopExchangeMenuTop_ConfirmDialog_YesEventHandlerMethods>::ctor(this, object, method);
301 this
302 }
303}
304
305#[cfg(feature = "app-refineshopexchangemenutop")]
306impl RefineShopExchangeMenuTop {
307 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler)` overload"]
308 pub fn create_bind(
309 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
310 close_event_handler: impl ::core::convert::Into<crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler>,
311 ) -> crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop {
312 unsafe {
313 ::unity::il2cpp_call!((::unity::module_base()+0x2961810usize)as*mut u8,crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop;
314(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler)::core::convert::Into::into(close_event_handler))
315 }
316 }
317}
318
319#[cfg(feature = "app-refineshopexchangemenutop")]
320pub trait IRefineShopExchangeMenuTopMethods: IRefineShopExchangeMenuTop {
321 #[doc = "`CreateDesc()` overload"]
322 fn create_desc(self) -> ::unity::Array<crate::app::procdesc::ProcDesc> {
323 unsafe {
324 let __receiver =
325 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326 ::unity::il2cpp_call!((::unity::module_base()+0x29619b0usize)as*mut u8, ::unity::Array<crate::app::procdesc::ProcDesc> ;
327(RefineShopExchangeMenuTop)__receiver)
328 }
329 }
330 #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler)` overload"]
331 fn ctor(
332 self,
333 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
334 close_event_handler: impl ::core::convert::Into<crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler>,
335 ) -> () {
336 unsafe {
337 let __receiver =
338 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
339 ::unity::il2cpp_call!((::unity::module_base()+0x2961910usize)as*mut u8,();
340(RefineShopExchangeMenuTop)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler)::core::convert::Into::into(close_event_handler))
341 }
342 }
343 #[doc = "`StartSequence()` overload"]
344 fn start_sequence(self) -> () {
345 unsafe {
346 let __receiver =
347 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
348 ::unity::il2cpp_call!((::unity::module_base()+0x2962170usize)as*mut u8,();
349(RefineShopExchangeMenuTop)__receiver)
350 }
351 }
352 #[doc = "`CreateSelectTargetMenu()` overload"]
353 fn create_select_target_menu(self) -> () {
354 unsafe {
355 let __receiver =
356 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
357 ::unity::il2cpp_call!((::unity::module_base()+0x2962390usize)as*mut u8,();
358(RefineShopExchangeMenuTop)__receiver)
359 }
360 }
361 #[doc = "`OnClose()` overload"]
362 fn on_close(self) -> () {
363 unsafe {
364 let __receiver =
365 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
366 ::unity::il2cpp_call!((::unity::module_base()+0x2962870usize)as*mut u8,();
367(RefineShopExchangeMenuTop)__receiver)
368 }
369 }
370 #[doc = "`OnDecideTarget(::unity::Il2CppString)` overload"]
371 fn on_decide_target(self, material_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
372 unsafe {
373 let __receiver =
374 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
375 ::unity::il2cpp_call!((::unity::module_base()+0x2962880usize)as*mut u8,();
376(RefineShopExchangeMenuTop)__receiver,(::unity::Il2CppString)::core::convert::Into::into(material_name))
377 }
378 }
379 #[doc = "`CreateSelectSourceMenu()` overload"]
380 fn create_select_source_menu(self) -> () {
381 unsafe {
382 let __receiver =
383 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
384 ::unity::il2cpp_call!((::unity::module_base()+0x2962900usize)as*mut u8,();
385(RefineShopExchangeMenuTop)__receiver)
386 }
387 }
388 #[doc = "`OnCloseSourceMenu()` overload"]
389 fn on_close_source_menu(self) -> () {
390 unsafe {
391 let __receiver =
392 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
393 ::unity::il2cpp_call!((::unity::module_base()+0x2962f20usize)as*mut u8,();
394(RefineShopExchangeMenuTop)__receiver)
395 }
396 }
397 #[doc = "`OnDecideSource(::unity::Il2CppString)` overload"]
398 fn on_decide_source(self, material_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
399 unsafe {
400 let __receiver =
401 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
402 ::unity::il2cpp_call!((::unity::module_base()+0x2962f30usize)as*mut u8,();
403(RefineShopExchangeMenuTop)__receiver,(::unity::Il2CppString)::core::convert::Into::into(material_name))
404 }
405 }
406 #[doc = "`CreateCountMenu()` overload"]
407 fn create_count_menu(self) -> () {
408 unsafe {
409 let __receiver =
410 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411 ::unity::il2cpp_call!((::unity::module_base()+0x2962f40usize)as*mut u8,();
412(RefineShopExchangeMenuTop)__receiver)
413 }
414 }
415 #[doc = "`OnDecideCount(i32, i32, i32)` overload"]
416 fn on_decide_count(
417 self,
418 source_count: impl ::core::convert::Into<i32>,
419 target_count: impl ::core::convert::Into<i32>,
420 target_overflow: impl ::core::convert::Into<i32>,
421 ) -> () {
422 unsafe {
423 let __receiver =
424 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
425 ::unity::il2cpp_call!((::unity::module_base()+0x29631e0usize)as*mut u8,();
426(RefineShopExchangeMenuTop)__receiver,(i32)::core::convert::Into::into(source_count),(i32)::core::convert::Into::into(target_count),(i32)::core::convert::Into::into(target_overflow))
427 }
428 }
429 #[doc = "`Exchange()` overload"]
430 fn exchange(self) -> () {
431 unsafe {
432 let __receiver =
433 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
434 ::unity::il2cpp_call!((::unity::module_base()+0x29632e0usize)as*mut u8,();
435(RefineShopExchangeMenuTop)__receiver)
436 }
437 }
438 #[doc = "`EndSequence()` overload"]
439 fn end_sequence(self) -> () {
440 unsafe {
441 let __receiver =
442 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
443 ::unity::il2cpp_call!((::unity::module_base()+0x2963b70usize)as*mut u8,();
444(RefineShopExchangeMenuTop)__receiver)
445 }
446 }
447 #[doc = "`Destroy()` overload"]
448 fn destroy(self) -> () {
449 unsafe {
450 let __receiver =
451 <RefineShopExchangeMenuTop as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
452 ::unity::il2cpp_call!((::unity::module_base()+0x2963b90usize)as*mut u8,();
453(RefineShopExchangeMenuTop)__receiver)
454 }
455 }
456}
457
458#[cfg(feature = "app-refineshopexchangemenutop")]
459impl<__T: IRefineShopExchangeMenuTop> IRefineShopExchangeMenuTopMethods for __T {}
460
461#[cfg(feature = "app-refineshopexchangemenutop")]
462impl RefineShopExchangeMenuTop {
463 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
464 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
465 }
466
467 pub fn create_desc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
469 }
470
471 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
473 }
474
475 pub fn start_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
477 }
478
479 pub fn create_select_target_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
481 }
482
483 pub fn on_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
485 }
486
487 pub fn on_decide_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
489 }
490
491 pub fn create_select_source_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
493 }
494
495 pub fn on_close_source_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
497 }
498
499 pub fn on_decide_source_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
501 }
502
503 pub fn create_count_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
505 }
506
507 pub fn on_decide_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
509 }
510
511 pub fn exchange_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
513 }
514
515 pub fn end_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
517 }
518
519 pub fn destroy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
520 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
521 }
522}
523
524#[cfg(feature = "app-refineshopexchangemenutop")]
525impl RefineShopExchangeMenuTop {
526 #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler)` — overload selector"]
527 pub fn new(
528 super_: crate::app::procinst::ProcInst,
529 close_event_handler: crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_CloseEventHandler,
530 ) -> Self {
531 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
532 panic!(
533 "{}
534::{}
535 failed to instantiate",
536 ::core::stringify!(RefineShopExchangeMenuTop),
537 ::core::stringify!(new),
538 )
539 });
540 <Self as IRefineShopExchangeMenuTopMethods>::ctor(this, super_, close_event_handler);
541 this
542 }
543}
544
545#[cfg(feature = "app-refineshopexchangemenutop")]
546impl RefineShopExchangeMenuTop_ConfirmDialog {
547 #[doc = "`CreateBind(crate::app::procinst::ProcInst, ::unity::Il2CppString, ::unity::Il2CppString, i32, i32, i32, crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler)` overload"]
548 pub fn create_bind(
549 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
550 source_material_id: impl ::core::convert::Into<::unity::Il2CppString>,
551 target_material_id: impl ::core::convert::Into<::unity::Il2CppString>,
552 source_num: impl ::core::convert::Into<i32>,
553 target_num: impl ::core::convert::Into<i32>,
554 target_overflow: impl ::core::convert::Into<i32>,
555 yes_event_handler: impl ::core::convert::Into<crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler>,
556 ) -> crate::app::exchangeyesnodialog::ExchangeYesNoDialog {
557 unsafe {
558 ::unity::il2cpp_call!((::unity::module_base()+0x1afb0d0usize)as*mut u8,crate::app::exchangeyesnodialog::ExchangeYesNoDialog;
559(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Il2CppString)::core::convert::Into::into(source_material_id),(::unity::Il2CppString)::core::convert::Into::into(target_material_id),(i32)::core::convert::Into::into(source_num),(i32)::core::convert::Into::into(target_num),(i32)::core::convert::Into::into(target_overflow),(crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler)::core::convert::Into::into(yes_event_handler))
560 }
561 }
562
563 #[doc = "`.cctor()` overload"]
564 pub fn cctor() -> () {
565 unsafe {
566 ::unity::il2cpp_call!((::unity::module_base()+0x1afb6c0usize)as*mut u8,();
567 )
568 }
569 }
570}
571
572#[cfg(feature = "app-refineshopexchangemenutop")]
573pub trait IRefineShopExchangeMenuTop_ConfirmDialogMethods: IRefineShopExchangeMenuTop_ConfirmDialog {
574 #[doc = "`.ctor()` overload"]
575 fn ctor(self) -> () {
576 unsafe {
577 let __receiver = <RefineShopExchangeMenuTop_ConfirmDialog as ::unity::FromIlInstance>::from_il_instance(
578 <Self as ::unity::SystemObject>::as_instance(self),
579 );
580 ::unity::il2cpp_call!((::unity::module_base()+0x1afb6b0usize)as*mut u8,();
581(RefineShopExchangeMenuTop_ConfirmDialog)__receiver)
582 }
583 }
584}
585
586#[cfg(feature = "app-refineshopexchangemenutop")]
587impl<__T: IRefineShopExchangeMenuTop_ConfirmDialog> IRefineShopExchangeMenuTop_ConfirmDialogMethods for __T {}
588
589#[cfg(feature = "app-refineshopexchangemenutop")]
590impl RefineShopExchangeMenuTop_ConfirmDialog {
591 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
592 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
593 }
594
595 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
596 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
597 }
598
599 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
600 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
601 }
602}
603
604#[cfg(feature = "app-refineshopexchangemenutop")]
605impl RefineShopExchangeMenuTop_ConfirmDialog {
606 #[doc = "`.ctor()` — no args"]
607 pub fn new() -> Self {
608 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
609 panic!(
610 "{}
611::{}
612 failed to instantiate",
613 ::core::stringify!(RefineShopExchangeMenuTop_ConfirmDialog),
614 ::core::stringify!(new),
615 )
616 });
617 <Self as IRefineShopExchangeMenuTop_ConfirmDialogMethods>::ctor(this);
618 this
619 }
620}
621
622#[cfg(feature = "app-refineshopexchangemenutop")]
623pub trait IRefineShopExchangeMenuTop_ConfirmDialog_YesMenuItemMethods: IRefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem {
624 #[doc = "`.ctor(::unity::Il2CppString, crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler)` overload"]
625 fn ctor(
626 self,
627 message: impl ::core::convert::Into<::unity::Il2CppString>,
628 yes_event_handler: impl ::core::convert::Into<crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler>,
629 ) -> () {
630 unsafe {
631 let __receiver = <RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem as ::unity::FromIlInstance>::from_il_instance(
632 <Self as ::unity::SystemObject>::as_instance(self),
633 );
634 ::unity::il2cpp_call!((::unity::module_base()+0x1b7ba90usize)as*mut u8,();
635(RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem)__receiver,(::unity::Il2CppString)::core::convert::Into::into(message),(crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler)::core::convert::Into::into(yes_event_handler))
636 }
637 }
638 #[doc = "`ACall()` overload"]
639 fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
640 unsafe {
641 let __receiver = <RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem as ::unity::FromIlInstance>::from_il_instance(
642 <Self as ::unity::SystemObject>::as_instance(self),
643 );
644 {
645 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
646 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
647 panic!(
648 "unity: virtual slot {}
649 out of range (vtable len {}
650) on the runtime class behind {}
651 (method `{}
652`)",
653 18usize,
654 __vt.len(),
655 <RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem as ::unity::ClassIdentity>::NAME,
656 "ACall",
657 )
658 });
659 let __inner: extern "C" fn(
660 RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem,
661 ::unity::OptionalMethod,
662 ) -> crate::app::basicmenu::BasicMenu_Result = ::core::mem::transmute(__vi.method_ptr);
663 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
664 __inner(__receiver, __mi)
665 }
666 }
667 }
668}
669
670#[cfg(feature = "app-refineshopexchangemenutop")]
671impl<__T: IRefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem> IRefineShopExchangeMenuTop_ConfirmDialog_YesMenuItemMethods for __T {}
672
673#[cfg(feature = "app-refineshopexchangemenutop")]
674impl RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem {
675 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
676 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
677 }
678
679 pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
680 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
681 }
682}
683
684#[cfg(feature = "app-refineshopexchangemenutop")]
685impl RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem {
686 #[doc = "Direct (non-virtual) call to `RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
687 pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
688 let __mi = Self::a_call_method_info();
689 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
690 ::core::mem::transmute(__mi.method_ptr);
691 __inner(this.into(), ::core::option::Option::None)
692 }
693}
694
695#[cfg(feature = "app-refineshopexchangemenutop")]
696impl RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem {
697 #[doc = "`.ctor(::unity::Il2CppString, crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler)` — overload selector"]
698 pub fn new(
699 message: ::unity::Il2CppString,
700 yes_event_handler: crate::app::refineshopexchangemenutop::RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler,
701 ) -> Self {
702 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
703 panic!(
704 "{}
705::{}
706 failed to instantiate",
707 ::core::stringify!(RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem),
708 ::core::stringify!(new),
709 )
710 });
711 <Self as IRefineShopExchangeMenuTop_ConfirmDialog_YesMenuItemMethods>::ctor(this, message, yes_event_handler);
712 this
713 }
714}
715
716#[cfg(feature = "app-refineshopexchangemenutop")]
717#[doc(hidden)]
718pub mod prelude {
719 pub use super::{
720 IRefineShopExchangeMenuTop, IRefineShopExchangeMenuTopMethods, IRefineShopExchangeMenuTop_CloseEventHandler,
721 IRefineShopExchangeMenuTop_CloseEventHandlerMethods, IRefineShopExchangeMenuTop_ConfirmDialog,
722 IRefineShopExchangeMenuTop_ConfirmDialogMethods, IRefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler,
723 IRefineShopExchangeMenuTop_ConfirmDialog_YesEventHandlerMethods, IRefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem,
724 IRefineShopExchangeMenuTop_ConfirmDialog_YesMenuItemMethods, RefineShopExchangeMenuTop, RefineShopExchangeMenuTop_CloseEventHandler,
725 RefineShopExchangeMenuTop_ConfirmDialog, RefineShopExchangeMenuTop_ConfirmDialog_YesEventHandler,
726 RefineShopExchangeMenuTop_ConfirmDialog_YesMenuItem, RefineShopExchangeMenuTop_Label,
727 };
728 #[cfg(feature = "app-basicdialogitem")]
729 pub use crate::app::basicdialogitem::IBasicDialogItemMethods;
730 #[cfg(feature = "app-basicdialogitemyes")]
731 pub use crate::app::basicdialogitemyes::IBasicDialogItemYesMethods;
732 #[cfg(feature = "app-basicmenuitem")]
733 pub use crate::app::basicmenuitem::IBasicMenuItemMethods;
734 #[cfg(feature = "app-procinst")]
735 pub use crate::app::procinst::IProcInstMethods;
736 #[cfg(feature = "system-delegate")]
737 pub use crate::system::delegate::IDelegateMethods;
738 #[cfg(feature = "system-multicastdelegate")]
739 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
740 #[cfg(feature = "system-object")]
741 pub use crate::system::object::IObjectMethods;
742 #[cfg(feature = "system-enum")]
743 pub use crate::system::r#enum::IEnumMethods;
744 #[cfg(feature = "system-valuetype")]
745 pub use crate::system::valuetype::IValueTypeMethods;
746 pub use crate::{
747 app::{basicdialogitem::IBasicDialogItem, basicdialogitemyes::IBasicDialogItemYes, basicmenuitem::IBasicMenuItem, procinst::IProcInst},
748 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
749 };
750}