1#[cfg(feature = "app-accessoryshopbuyrootproc-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::{
11 delegate::{Delegate, IDelegate},
12 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
13 object::{IObject, Object},
14 },
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopbuyrootproc/AccessoryShopBuyRootProc_HideUIEventHandler.md"))]
18 #[::unity::class(namespace = "App", name = "AccessoryShopBuyRootProc.HideUIEventHandler")]
19 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
20 pub struct AccessoryShopBuyRootProc_HideUIEventHandler {}
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopbuyrootproc/AccessoryShopBuyRootProc_ShowUIEventHandler.md"))]
23 #[::unity::class(namespace = "App", name = "AccessoryShopBuyRootProc.ShowUIEventHandler")]
24 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
25 pub struct AccessoryShopBuyRootProc_ShowUIEventHandler {}
26
27 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopbuyrootproc/AccessoryShopBuyRootProc.md"))]
28 #[::unity::class(namespace = "App", name = "AccessoryShopBuyRootProc")]
29 #[parent(crate::app::procinst::ProcInst)]
30 pub struct AccessoryShopBuyRootProc {
31 #[offset(112)]
32 #[rename(name = "m_KeyHelpAllObject")]
33 pub m_key_help_all_object: crate::unity_engine::gameobject::GameObject,
34 #[offset(120)]
35 #[rename(name = "m_KeyHelpAllAnimator")]
36 pub m_key_help_all_animator: crate::unity_engine::animator::Animator,
37 #[offset(128)]
38 #[rename(name = "m_ChangeUnitToPrevEventHandler")]
39 pub m_change_unit_to_prev_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler,
40 #[offset(136)]
41 #[rename(name = "m_ChangeUnitToNextEventHandler")]
42 pub m_change_unit_to_next_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler,
43 #[offset(144)]
44 #[rename(name = "m_StartWatchingEventHandler")]
45 pub m_start_watching_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_StartWatchingEventHandler,
46 #[offset(152)]
47 #[rename(name = "m_EndWatchingEventHandler")]
48 pub m_end_watching_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_EndWatchingEventHandler,
49 #[offset(160)]
50 #[rename(name = "m_ShowUIEventHandler")]
51 pub m_show_ui_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ShowUIEventHandler,
52 #[offset(168)]
53 #[rename(name = "m_HideUIEventHandler")]
54 pub m_hide_ui_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_HideUIEventHandler,
55 #[offset(176)]
56 #[rename(name = "watching")]
57 pub watching: bool,
58 #[offset(177)]
59 #[rename(name = "visibleUI")]
60 pub visible_ui: bool,
61 }
62
63 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopbuyrootproc/AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler.md"))]
64 #[::unity::class(namespace = "App", name = "AccessoryShopBuyRootProc.ChangeUnitToPrevEventHandler")]
65 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
66 pub struct AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler {}
67
68 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopbuyrootproc/AccessoryShopBuyRootProc_StartWatchingEventHandler.md"))]
69 #[::unity::class(namespace = "App", name = "AccessoryShopBuyRootProc.StartWatchingEventHandler")]
70 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
71 pub struct AccessoryShopBuyRootProc_StartWatchingEventHandler {}
72
73 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopbuyrootproc/AccessoryShopBuyRootProc_EndWatchingEventHandler.md"))]
74 #[::unity::class(namespace = "App", name = "AccessoryShopBuyRootProc.EndWatchingEventHandler")]
75 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
76 pub struct AccessoryShopBuyRootProc_EndWatchingEventHandler {}
77
78 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopbuyrootproc/AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler.md"))]
79 #[::unity::class(namespace = "App", name = "AccessoryShopBuyRootProc.ChangeUnitToNextEventHandler")]
80 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
81 pub struct AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler {}
82}
83
84#[cfg(feature = "app-accessoryshopbuyrootproc-types")]
85pub use __types::*;
86
87#[cfg(feature = "app-accessoryshopbuyrootproc")]
88pub trait IAccessoryShopBuyRootProc_HideUIEventHandlerMethods: IAccessoryShopBuyRootProc_HideUIEventHandler {
89 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
90 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
91 unsafe {
92 let __receiver = <AccessoryShopBuyRootProc_HideUIEventHandler as ::unity::FromIlInstance>::from_il_instance(
93 <Self as ::unity::SystemObject>::as_instance(self),
94 );
95 ::unity::il2cpp_call!((::unity::module_base()+0x2903d90usize)as*mut u8,();
96(AccessoryShopBuyRootProc_HideUIEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
97 }
98 }
99 #[doc = "`Invoke()` overload"]
100 fn invoke(self) -> () {
101 unsafe {
102 let __receiver = <AccessoryShopBuyRootProc_HideUIEventHandler as ::unity::FromIlInstance>::from_il_instance(
103 <Self as ::unity::SystemObject>::as_instance(self),
104 );
105 {
106 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
107 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
108 panic!(
109 "unity: virtual slot {}
110 out of range (vtable len {}
111) on the runtime class behind {}
112 (method `{}
113`)",
114 13usize,
115 __vt.len(),
116 <AccessoryShopBuyRootProc_HideUIEventHandler as ::unity::ClassIdentity>::NAME,
117 "Invoke",
118 )
119 });
120 let __inner: extern "C" fn(AccessoryShopBuyRootProc_HideUIEventHandler, ::unity::OptionalMethod) -> () =
121 ::core::mem::transmute(__vi.method_ptr);
122 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
123 __inner(__receiver, __mi)
124 }
125 }
126 }
127}
128
129#[cfg(feature = "app-accessoryshopbuyrootproc")]
130impl<__T: IAccessoryShopBuyRootProc_HideUIEventHandler> IAccessoryShopBuyRootProc_HideUIEventHandlerMethods for __T {}
131
132#[cfg(feature = "app-accessoryshopbuyrootproc")]
133impl AccessoryShopBuyRootProc_HideUIEventHandler {
134 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
136 }
137
138 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
139 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
140 }
141}
142
143#[cfg(feature = "app-accessoryshopbuyrootproc")]
144impl AccessoryShopBuyRootProc_HideUIEventHandler {
145 #[doc = "Direct (non-virtual) call to `AccessoryShopBuyRootProc_HideUIEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
146 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
147 let __mi = Self::invoke_method_info();
148 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
149 __inner(this.into(), ::core::option::Option::None)
150 }
151}
152
153#[cfg(feature = "app-accessoryshopbuyrootproc")]
154impl AccessoryShopBuyRootProc_HideUIEventHandler {
155 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
156 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
157 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
158 panic!(
159 "{}
160::{}
161 failed to instantiate",
162 ::core::stringify!(AccessoryShopBuyRootProc_HideUIEventHandler),
163 ::core::stringify!(new),
164 )
165 });
166 <Self as IAccessoryShopBuyRootProc_HideUIEventHandlerMethods>::ctor(this, object, method);
167 this
168 }
169}
170
171#[cfg(feature = "app-accessoryshopbuyrootproc")]
172pub trait IAccessoryShopBuyRootProc_ShowUIEventHandlerMethods: IAccessoryShopBuyRootProc_ShowUIEventHandler {
173 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
174 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
175 unsafe {
176 let __receiver = <AccessoryShopBuyRootProc_ShowUIEventHandler as ::unity::FromIlInstance>::from_il_instance(
177 <Self as ::unity::SystemObject>::as_instance(self),
178 );
179 ::unity::il2cpp_call!((::unity::module_base()+0x2904000usize)as*mut u8,();
180(AccessoryShopBuyRootProc_ShowUIEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
181 }
182 }
183 #[doc = "`Invoke()` overload"]
184 fn invoke(self) -> () {
185 unsafe {
186 let __receiver = <AccessoryShopBuyRootProc_ShowUIEventHandler as ::unity::FromIlInstance>::from_il_instance(
187 <Self as ::unity::SystemObject>::as_instance(self),
188 );
189 {
190 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
191 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
192 panic!(
193 "unity: virtual slot {}
194 out of range (vtable len {}
195) on the runtime class behind {}
196 (method `{}
197`)",
198 13usize,
199 __vt.len(),
200 <AccessoryShopBuyRootProc_ShowUIEventHandler as ::unity::ClassIdentity>::NAME,
201 "Invoke",
202 )
203 });
204 let __inner: extern "C" fn(AccessoryShopBuyRootProc_ShowUIEventHandler, ::unity::OptionalMethod) -> () =
205 ::core::mem::transmute(__vi.method_ptr);
206 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
207 __inner(__receiver, __mi)
208 }
209 }
210 }
211}
212
213#[cfg(feature = "app-accessoryshopbuyrootproc")]
214impl<__T: IAccessoryShopBuyRootProc_ShowUIEventHandler> IAccessoryShopBuyRootProc_ShowUIEventHandlerMethods for __T {}
215
216#[cfg(feature = "app-accessoryshopbuyrootproc")]
217impl AccessoryShopBuyRootProc_ShowUIEventHandler {
218 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
220 }
221
222 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
223 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
224 }
225}
226
227#[cfg(feature = "app-accessoryshopbuyrootproc")]
228impl AccessoryShopBuyRootProc_ShowUIEventHandler {
229 #[doc = "Direct (non-virtual) call to `AccessoryShopBuyRootProc_ShowUIEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
230 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
231 let __mi = Self::invoke_method_info();
232 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
233 __inner(this.into(), ::core::option::Option::None)
234 }
235}
236
237#[cfg(feature = "app-accessoryshopbuyrootproc")]
238impl AccessoryShopBuyRootProc_ShowUIEventHandler {
239 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
240 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
241 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
242 panic!(
243 "{}
244::{}
245 failed to instantiate",
246 ::core::stringify!(AccessoryShopBuyRootProc_ShowUIEventHandler),
247 ::core::stringify!(new),
248 )
249 });
250 <Self as IAccessoryShopBuyRootProc_ShowUIEventHandlerMethods>::ctor(this, object, method);
251 this
252 }
253}
254
255#[cfg(feature = "app-accessoryshopbuyrootproc")]
256pub trait IAccessoryShopBuyRootProcMethods: IAccessoryShopBuyRootProc {
257 #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::unity_engine::gameobject::GameObject, crate::unity_engine::animator::Animator, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_StartWatchingEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_EndWatchingEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ShowUIEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_HideUIEventHandler)` overload"]
258 fn ctor(
259 self,
260 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
261 key_help_all_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
262 key_help_all_animator: impl ::core::convert::Into<crate::unity_engine::animator::Animator>,
263 change_unit_to_prev_event_handler: impl ::core::convert::Into<
264 crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler,
265 >,
266 change_unit_to_next_event_handler: impl ::core::convert::Into<
267 crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler,
268 >,
269 start_watching_event_handler: impl ::core::convert::Into<crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_StartWatchingEventHandler>,
270 end_watching_event_handler: impl ::core::convert::Into<crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_EndWatchingEventHandler>,
271 show_ui_event_handler: impl ::core::convert::Into<crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ShowUIEventHandler>,
272 hide_ui_event_handler: impl ::core::convert::Into<crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_HideUIEventHandler>,
273 ) -> () {
274 unsafe {
275 let __receiver =
276 <AccessoryShopBuyRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
277 ::unity::il2cpp_call!((::unity::module_base()+0x27bd700usize)as*mut u8,();
278(AccessoryShopBuyRootProc)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(key_help_all_object),(crate::unity_engine::animator::Animator)::core::convert::Into::into(key_help_all_animator),(crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler)::core::convert::Into::into(change_unit_to_prev_event_handler),(crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler)::core::convert::Into::into(change_unit_to_next_event_handler),(crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_StartWatchingEventHandler)::core::convert::Into::into(start_watching_event_handler),(crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_EndWatchingEventHandler)::core::convert::Into::into(end_watching_event_handler),(crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ShowUIEventHandler)::core::convert::Into::into(show_ui_event_handler),(crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_HideUIEventHandler)::core::convert::Into::into(hide_ui_event_handler))
279 }
280 }
281 #[doc = "`OnTick()` overload"]
282 fn on_tick(self) -> () {
283 unsafe {
284 let __receiver =
285 <AccessoryShopBuyRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 {
287 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
288 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
289 panic!(
290 "unity: virtual slot {}
291 out of range (vtable len {}
292) on the runtime class behind {}
293 (method `{}
294`)",
295 6usize,
296 __vt.len(),
297 <AccessoryShopBuyRootProc as ::unity::ClassIdentity>::NAME,
298 "OnTick",
299 )
300 });
301 let __inner: extern "C" fn(AccessoryShopBuyRootProc, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
302 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
303 __inner(__receiver, __mi)
304 }
305 }
306 }
307 #[doc = "`KeyHelpAllOpen()` overload"]
308 fn key_help_all_open(self) -> () {
309 unsafe {
310 let __receiver =
311 <AccessoryShopBuyRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312 ::unity::il2cpp_call!((::unity::module_base()+0x27bf400usize)as*mut u8,();
313(AccessoryShopBuyRootProc)__receiver)
314 }
315 }
316 #[doc = "`KeyHelpAllClose()` overload"]
317 fn key_help_all_close(self) -> () {
318 unsafe {
319 let __receiver =
320 <AccessoryShopBuyRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
321 ::unity::il2cpp_call!((::unity::module_base()+0x27bf530usize)as*mut u8,();
322(AccessoryShopBuyRootProc)__receiver)
323 }
324 }
325}
326
327#[cfg(feature = "app-accessoryshopbuyrootproc")]
328impl<__T: IAccessoryShopBuyRootProc> IAccessoryShopBuyRootProcMethods for __T {}
329
330#[cfg(feature = "app-accessoryshopbuyrootproc")]
331impl AccessoryShopBuyRootProc {
332 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
334 }
335
336 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
338 }
339
340 pub fn key_help_all_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
342 }
343
344 pub fn key_help_all_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
346 }
347}
348
349#[cfg(feature = "app-accessoryshopbuyrootproc")]
350impl AccessoryShopBuyRootProc {
351 #[doc = "Direct (non-virtual) call to `AccessoryShopBuyRootProc`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
352 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
353 let __mi = Self::on_tick_method_info();
354 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
355 __inner(this.into(), ::core::option::Option::None)
356 }
357}
358
359#[cfg(feature = "app-accessoryshopbuyrootproc")]
360impl AccessoryShopBuyRootProc {
361 #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::unity_engine::gameobject::GameObject, crate::unity_engine::animator::Animator, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_StartWatchingEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_EndWatchingEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ShowUIEventHandler, crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_HideUIEventHandler)` — overload selector"]
362 pub fn new(
363 super_: crate::app::procinst::ProcInst,
364 key_help_all_object: crate::unity_engine::gameobject::GameObject,
365 key_help_all_animator: crate::unity_engine::animator::Animator,
366 change_unit_to_prev_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler,
367 change_unit_to_next_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler,
368 start_watching_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_StartWatchingEventHandler,
369 end_watching_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_EndWatchingEventHandler,
370 show_ui_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_ShowUIEventHandler,
371 hide_ui_event_handler: crate::app::accessoryshopbuyrootproc::AccessoryShopBuyRootProc_HideUIEventHandler,
372 ) -> Self {
373 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
374 panic!(
375 "{}
376::{}
377 failed to instantiate",
378 ::core::stringify!(AccessoryShopBuyRootProc),
379 ::core::stringify!(new),
380 )
381 });
382 <Self as IAccessoryShopBuyRootProcMethods>::ctor(
383 this,
384 super_,
385 key_help_all_object,
386 key_help_all_animator,
387 change_unit_to_prev_event_handler,
388 change_unit_to_next_event_handler,
389 start_watching_event_handler,
390 end_watching_event_handler,
391 show_ui_event_handler,
392 hide_ui_event_handler,
393 );
394 this
395 }
396}
397
398#[cfg(feature = "app-accessoryshopbuyrootproc")]
399pub trait IAccessoryShopBuyRootProc_ChangeUnitToPrevEventHandlerMethods: IAccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler {
400 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
401 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
402 unsafe {
403 let __receiver = <AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler as ::unity::FromIlInstance>::from_il_instance(
404 <Self as ::unity::SystemObject>::as_instance(self),
405 );
406 ::unity::il2cpp_call!((::unity::module_base()+0x29038b0usize)as*mut u8,();
407(AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
408 }
409 }
410 #[doc = "`Invoke()` overload"]
411 fn invoke(self) -> () {
412 unsafe {
413 let __receiver = <AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler 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(13usize).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 13usize,
426 __vt.len(),
427 <AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler as ::unity::ClassIdentity>::NAME,
428 "Invoke",
429 )
430 });
431 let __inner: extern "C" fn(AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler, ::unity::OptionalMethod) -> () =
432 ::core::mem::transmute(__vi.method_ptr);
433 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
434 __inner(__receiver, __mi)
435 }
436 }
437 }
438}
439
440#[cfg(feature = "app-accessoryshopbuyrootproc")]
441impl<__T: IAccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler> IAccessoryShopBuyRootProc_ChangeUnitToPrevEventHandlerMethods for __T {}
442
443#[cfg(feature = "app-accessoryshopbuyrootproc")]
444impl AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler {
445 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
447 }
448
449 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
451 }
452}
453
454#[cfg(feature = "app-accessoryshopbuyrootproc")]
455impl AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler {
456 #[doc = "Direct (non-virtual) call to `AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
457 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
458 let __mi = Self::invoke_method_info();
459 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
460 __inner(this.into(), ::core::option::Option::None)
461 }
462}
463
464#[cfg(feature = "app-accessoryshopbuyrootproc")]
465impl AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler {
466 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
467 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
468 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
469 panic!(
470 "{}
471::{}
472 failed to instantiate",
473 ::core::stringify!(AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler),
474 ::core::stringify!(new),
475 )
476 });
477 <Self as IAccessoryShopBuyRootProc_ChangeUnitToPrevEventHandlerMethods>::ctor(this, object, method);
478 this
479 }
480}
481
482#[cfg(feature = "app-accessoryshopbuyrootproc")]
483pub trait IAccessoryShopBuyRootProc_StartWatchingEventHandlerMethods: IAccessoryShopBuyRootProc_StartWatchingEventHandler {
484 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
485 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
486 unsafe {
487 let __receiver = <AccessoryShopBuyRootProc_StartWatchingEventHandler as ::unity::FromIlInstance>::from_il_instance(
488 <Self as ::unity::SystemObject>::as_instance(self),
489 );
490 ::unity::il2cpp_call!((::unity::module_base()+0x2904270usize)as*mut u8,();
491(AccessoryShopBuyRootProc_StartWatchingEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
492 }
493 }
494 #[doc = "`Invoke()` overload"]
495 fn invoke(self) -> bool {
496 unsafe {
497 let __receiver = <AccessoryShopBuyRootProc_StartWatchingEventHandler as ::unity::FromIlInstance>::from_il_instance(
498 <Self as ::unity::SystemObject>::as_instance(self),
499 );
500 {
501 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
502 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
503 panic!(
504 "unity: virtual slot {}
505 out of range (vtable len {}
506) on the runtime class behind {}
507 (method `{}
508`)",
509 13usize,
510 __vt.len(),
511 <AccessoryShopBuyRootProc_StartWatchingEventHandler as ::unity::ClassIdentity>::NAME,
512 "Invoke",
513 )
514 });
515 let __inner: extern "C" fn(AccessoryShopBuyRootProc_StartWatchingEventHandler, ::unity::OptionalMethod) -> bool =
516 ::core::mem::transmute(__vi.method_ptr);
517 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
518 __inner(__receiver, __mi)
519 }
520 }
521 }
522}
523
524#[cfg(feature = "app-accessoryshopbuyrootproc")]
525impl<__T: IAccessoryShopBuyRootProc_StartWatchingEventHandler> IAccessoryShopBuyRootProc_StartWatchingEventHandlerMethods for __T {}
526
527#[cfg(feature = "app-accessoryshopbuyrootproc")]
528impl AccessoryShopBuyRootProc_StartWatchingEventHandler {
529 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
531 }
532
533 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
535 }
536}
537
538#[cfg(feature = "app-accessoryshopbuyrootproc")]
539impl AccessoryShopBuyRootProc_StartWatchingEventHandler {
540 #[doc = "Direct (non-virtual) call to `AccessoryShopBuyRootProc_StartWatchingEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
541 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
542 let __mi = Self::invoke_method_info();
543 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
544 __inner(this.into(), ::core::option::Option::None)
545 }
546}
547
548#[cfg(feature = "app-accessoryshopbuyrootproc")]
549impl AccessoryShopBuyRootProc_StartWatchingEventHandler {
550 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
551 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
552 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
553 panic!(
554 "{}
555::{}
556 failed to instantiate",
557 ::core::stringify!(AccessoryShopBuyRootProc_StartWatchingEventHandler),
558 ::core::stringify!(new),
559 )
560 });
561 <Self as IAccessoryShopBuyRootProc_StartWatchingEventHandlerMethods>::ctor(this, object, method);
562 this
563 }
564}
565
566#[cfg(feature = "app-accessoryshopbuyrootproc")]
567pub trait IAccessoryShopBuyRootProc_EndWatchingEventHandlerMethods: IAccessoryShopBuyRootProc_EndWatchingEventHandler {
568 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
569 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
570 unsafe {
571 let __receiver = <AccessoryShopBuyRootProc_EndWatchingEventHandler as ::unity::FromIlInstance>::from_il_instance(
572 <Self as ::unity::SystemObject>::as_instance(self),
573 );
574 ::unity::il2cpp_call!((::unity::module_base()+0x2903b20usize)as*mut u8,();
575(AccessoryShopBuyRootProc_EndWatchingEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
576 }
577 }
578 #[doc = "`Invoke()` overload"]
579 fn invoke(self) -> () {
580 unsafe {
581 let __receiver = <AccessoryShopBuyRootProc_EndWatchingEventHandler as ::unity::FromIlInstance>::from_il_instance(
582 <Self as ::unity::SystemObject>::as_instance(self),
583 );
584 {
585 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
586 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
587 panic!(
588 "unity: virtual slot {}
589 out of range (vtable len {}
590) on the runtime class behind {}
591 (method `{}
592`)",
593 13usize,
594 __vt.len(),
595 <AccessoryShopBuyRootProc_EndWatchingEventHandler as ::unity::ClassIdentity>::NAME,
596 "Invoke",
597 )
598 });
599 let __inner: extern "C" fn(AccessoryShopBuyRootProc_EndWatchingEventHandler, ::unity::OptionalMethod) -> () =
600 ::core::mem::transmute(__vi.method_ptr);
601 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
602 __inner(__receiver, __mi)
603 }
604 }
605 }
606}
607
608#[cfg(feature = "app-accessoryshopbuyrootproc")]
609impl<__T: IAccessoryShopBuyRootProc_EndWatchingEventHandler> IAccessoryShopBuyRootProc_EndWatchingEventHandlerMethods for __T {}
610
611#[cfg(feature = "app-accessoryshopbuyrootproc")]
612impl AccessoryShopBuyRootProc_EndWatchingEventHandler {
613 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
614 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
615 }
616
617 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
618 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
619 }
620}
621
622#[cfg(feature = "app-accessoryshopbuyrootproc")]
623impl AccessoryShopBuyRootProc_EndWatchingEventHandler {
624 #[doc = "Direct (non-virtual) call to `AccessoryShopBuyRootProc_EndWatchingEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
625 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
626 let __mi = Self::invoke_method_info();
627 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
628 __inner(this.into(), ::core::option::Option::None)
629 }
630}
631
632#[cfg(feature = "app-accessoryshopbuyrootproc")]
633impl AccessoryShopBuyRootProc_EndWatchingEventHandler {
634 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
635 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
636 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
637 panic!(
638 "{}
639::{}
640 failed to instantiate",
641 ::core::stringify!(AccessoryShopBuyRootProc_EndWatchingEventHandler),
642 ::core::stringify!(new),
643 )
644 });
645 <Self as IAccessoryShopBuyRootProc_EndWatchingEventHandlerMethods>::ctor(this, object, method);
646 this
647 }
648}
649
650#[cfg(feature = "app-accessoryshopbuyrootproc")]
651pub trait IAccessoryShopBuyRootProc_ChangeUnitToNextEventHandlerMethods: IAccessoryShopBuyRootProc_ChangeUnitToNextEventHandler {
652 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
653 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
654 unsafe {
655 let __receiver = <AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler as ::unity::FromIlInstance>::from_il_instance(
656 <Self as ::unity::SystemObject>::as_instance(self),
657 );
658 ::unity::il2cpp_call!((::unity::module_base()+0x2903640usize)as*mut u8,();
659(AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
660 }
661 }
662 #[doc = "`Invoke()` overload"]
663 fn invoke(self) -> () {
664 unsafe {
665 let __receiver = <AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler as ::unity::FromIlInstance>::from_il_instance(
666 <Self as ::unity::SystemObject>::as_instance(self),
667 );
668 {
669 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
670 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
671 panic!(
672 "unity: virtual slot {}
673 out of range (vtable len {}
674) on the runtime class behind {}
675 (method `{}
676`)",
677 13usize,
678 __vt.len(),
679 <AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler as ::unity::ClassIdentity>::NAME,
680 "Invoke",
681 )
682 });
683 let __inner: extern "C" fn(AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler, ::unity::OptionalMethod) -> () =
684 ::core::mem::transmute(__vi.method_ptr);
685 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
686 __inner(__receiver, __mi)
687 }
688 }
689 }
690}
691
692#[cfg(feature = "app-accessoryshopbuyrootproc")]
693impl<__T: IAccessoryShopBuyRootProc_ChangeUnitToNextEventHandler> IAccessoryShopBuyRootProc_ChangeUnitToNextEventHandlerMethods for __T {}
694
695#[cfg(feature = "app-accessoryshopbuyrootproc")]
696impl AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler {
697 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
698 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
699 }
700
701 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
703 }
704}
705
706#[cfg(feature = "app-accessoryshopbuyrootproc")]
707impl AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler {
708 #[doc = "Direct (non-virtual) call to `AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
709 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
710 let __mi = Self::invoke_method_info();
711 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
712 __inner(this.into(), ::core::option::Option::None)
713 }
714}
715
716#[cfg(feature = "app-accessoryshopbuyrootproc")]
717impl AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler {
718 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
719 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
720 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
721 panic!(
722 "{}
723::{}
724 failed to instantiate",
725 ::core::stringify!(AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler),
726 ::core::stringify!(new),
727 )
728 });
729 <Self as IAccessoryShopBuyRootProc_ChangeUnitToNextEventHandlerMethods>::ctor(this, object, method);
730 this
731 }
732}
733
734#[cfg(feature = "app-accessoryshopbuyrootproc")]
735#[doc(hidden)]
736pub mod prelude {
737 pub use super::{
738 AccessoryShopBuyRootProc, AccessoryShopBuyRootProc_ChangeUnitToNextEventHandler, AccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler,
739 AccessoryShopBuyRootProc_EndWatchingEventHandler, AccessoryShopBuyRootProc_HideUIEventHandler, AccessoryShopBuyRootProc_ShowUIEventHandler,
740 AccessoryShopBuyRootProc_StartWatchingEventHandler, IAccessoryShopBuyRootProc, IAccessoryShopBuyRootProcMethods,
741 IAccessoryShopBuyRootProc_ChangeUnitToNextEventHandler, IAccessoryShopBuyRootProc_ChangeUnitToNextEventHandlerMethods,
742 IAccessoryShopBuyRootProc_ChangeUnitToPrevEventHandler, IAccessoryShopBuyRootProc_ChangeUnitToPrevEventHandlerMethods,
743 IAccessoryShopBuyRootProc_EndWatchingEventHandler, IAccessoryShopBuyRootProc_EndWatchingEventHandlerMethods,
744 IAccessoryShopBuyRootProc_HideUIEventHandler, IAccessoryShopBuyRootProc_HideUIEventHandlerMethods,
745 IAccessoryShopBuyRootProc_ShowUIEventHandler, IAccessoryShopBuyRootProc_ShowUIEventHandlerMethods,
746 IAccessoryShopBuyRootProc_StartWatchingEventHandler, IAccessoryShopBuyRootProc_StartWatchingEventHandlerMethods,
747 };
748 #[cfg(feature = "app-procinst")]
749 pub use crate::app::procinst::IProcInstMethods;
750 #[cfg(feature = "system-delegate")]
751 pub use crate::system::delegate::IDelegateMethods;
752 #[cfg(feature = "system-multicastdelegate")]
753 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
754 #[cfg(feature = "system-object")]
755 pub use crate::system::object::IObjectMethods;
756 pub use crate::{
757 app::procinst::IProcInst,
758 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
759 };
760}