1#[cfg(feature = "app-accessoryshopchangerootproc-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/accessoryshopchangerootproc/AccessoryShopChangeRootProc_StartWatchingEventHandler.md"))]
18 #[::unity::class(namespace = "App", name = "AccessoryShopChangeRootProc.StartWatchingEventHandler")]
19 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
20 pub struct AccessoryShopChangeRootProc_StartWatchingEventHandler {}
21
22 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopchangerootproc/AccessoryShopChangeRootProc_ShowUIEventHandler.md"))]
23 #[::unity::class(namespace = "App", name = "AccessoryShopChangeRootProc.ShowUIEventHandler")]
24 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
25 pub struct AccessoryShopChangeRootProc_ShowUIEventHandler {}
26
27 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopchangerootproc/AccessoryShopChangeRootProc.md"))]
28 #[::unity::class(namespace = "App", name = "AccessoryShopChangeRootProc")]
29 #[parent(crate::app::procinst::ProcInst)]
30 pub struct AccessoryShopChangeRootProc {
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::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler,
40 #[offset(136)]
41 #[rename(name = "m_ChangeUnitToNextEventHandler")]
42 pub m_change_unit_to_next_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler,
43 #[offset(144)]
44 #[rename(name = "m_StartWatchingEventHandler")]
45 pub m_start_watching_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_StartWatchingEventHandler,
46 #[offset(152)]
47 #[rename(name = "m_EndWatchingEventHandler")]
48 pub m_end_watching_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_EndWatchingEventHandler,
49 #[offset(160)]
50 #[rename(name = "m_ShowUIEventHandler")]
51 pub m_show_ui_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ShowUIEventHandler,
52 #[offset(168)]
53 #[rename(name = "m_HideUIEventHandler")]
54 pub m_hide_ui_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_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/accessoryshopchangerootproc/AccessoryShopChangeRootProc_HideUIEventHandler.md"))]
64 #[::unity::class(namespace = "App", name = "AccessoryShopChangeRootProc.HideUIEventHandler")]
65 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
66 pub struct AccessoryShopChangeRootProc_HideUIEventHandler {}
67
68 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopchangerootproc/AccessoryShopChangeRootProc_EndWatchingEventHandler.md"))]
69 #[::unity::class(namespace = "App", name = "AccessoryShopChangeRootProc.EndWatchingEventHandler")]
70 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
71 pub struct AccessoryShopChangeRootProc_EndWatchingEventHandler {}
72
73 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopchangerootproc/AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler.md"))]
74 #[::unity::class(namespace = "App", name = "AccessoryShopChangeRootProc.ChangeUnitToPrevEventHandler")]
75 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
76 pub struct AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler {}
77
78 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/accessoryshopchangerootproc/AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler.md"))]
79 #[::unity::class(namespace = "App", name = "AccessoryShopChangeRootProc.ChangeUnitToNextEventHandler")]
80 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
81 pub struct AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler {}
82}
83
84#[cfg(feature = "app-accessoryshopchangerootproc-types")]
85pub use __types::*;
86
87#[cfg(feature = "app-accessoryshopchangerootproc")]
88pub trait IAccessoryShopChangeRootProc_StartWatchingEventHandlerMethods: IAccessoryShopChangeRootProc_StartWatchingEventHandler {
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 = <AccessoryShopChangeRootProc_StartWatchingEventHandler as ::unity::FromIlInstance>::from_il_instance(
93 <Self as ::unity::SystemObject>::as_instance(self),
94 );
95 ::unity::il2cpp_call!((::unity::module_base()+0x2905ce0usize)as*mut u8,();
96(AccessoryShopChangeRootProc_StartWatchingEventHandler)__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) -> bool {
101 unsafe {
102 let __receiver = <AccessoryShopChangeRootProc_StartWatchingEventHandler 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 <AccessoryShopChangeRootProc_StartWatchingEventHandler as ::unity::ClassIdentity>::NAME,
117 "Invoke",
118 )
119 });
120 let __inner: extern "C" fn(AccessoryShopChangeRootProc_StartWatchingEventHandler, ::unity::OptionalMethod) -> bool =
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-accessoryshopchangerootproc")]
130impl<__T: IAccessoryShopChangeRootProc_StartWatchingEventHandler> IAccessoryShopChangeRootProc_StartWatchingEventHandlerMethods for __T {}
131
132#[cfg(feature = "app-accessoryshopchangerootproc")]
133impl AccessoryShopChangeRootProc_StartWatchingEventHandler {
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-accessoryshopchangerootproc")]
144impl AccessoryShopChangeRootProc_StartWatchingEventHandler {
145 #[doc = "Direct (non-virtual) call to `AccessoryShopChangeRootProc_StartWatchingEventHandler`'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>) -> bool {
147 let __mi = Self::invoke_method_info();
148 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
149 __inner(this.into(), ::core::option::Option::None)
150 }
151}
152
153#[cfg(feature = "app-accessoryshopchangerootproc")]
154impl AccessoryShopChangeRootProc_StartWatchingEventHandler {
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!(AccessoryShopChangeRootProc_StartWatchingEventHandler),
163 ::core::stringify!(new),
164 )
165 });
166 <Self as IAccessoryShopChangeRootProc_StartWatchingEventHandlerMethods>::ctor(this, object, method);
167 this
168 }
169}
170
171#[cfg(feature = "app-accessoryshopchangerootproc")]
172pub trait IAccessoryShopChangeRootProc_ShowUIEventHandlerMethods: IAccessoryShopChangeRootProc_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 = <AccessoryShopChangeRootProc_ShowUIEventHandler as ::unity::FromIlInstance>::from_il_instance(
177 <Self as ::unity::SystemObject>::as_instance(self),
178 );
179 ::unity::il2cpp_call!((::unity::module_base()+0x2905a70usize)as*mut u8,();
180(AccessoryShopChangeRootProc_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 = <AccessoryShopChangeRootProc_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 <AccessoryShopChangeRootProc_ShowUIEventHandler as ::unity::ClassIdentity>::NAME,
201 "Invoke",
202 )
203 });
204 let __inner: extern "C" fn(AccessoryShopChangeRootProc_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-accessoryshopchangerootproc")]
214impl<__T: IAccessoryShopChangeRootProc_ShowUIEventHandler> IAccessoryShopChangeRootProc_ShowUIEventHandlerMethods for __T {}
215
216#[cfg(feature = "app-accessoryshopchangerootproc")]
217impl AccessoryShopChangeRootProc_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-accessoryshopchangerootproc")]
228impl AccessoryShopChangeRootProc_ShowUIEventHandler {
229 #[doc = "Direct (non-virtual) call to `AccessoryShopChangeRootProc_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-accessoryshopchangerootproc")]
238impl AccessoryShopChangeRootProc_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!(AccessoryShopChangeRootProc_ShowUIEventHandler),
247 ::core::stringify!(new),
248 )
249 });
250 <Self as IAccessoryShopChangeRootProc_ShowUIEventHandlerMethods>::ctor(this, object, method);
251 this
252 }
253}
254
255#[cfg(feature = "app-accessoryshopchangerootproc")]
256pub trait IAccessoryShopChangeRootProcMethods: IAccessoryShopChangeRootProc {
257 #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::unity_engine::gameobject::GameObject, crate::unity_engine::animator::Animator, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_StartWatchingEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_EndWatchingEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ShowUIEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_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::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler,
265 >,
266 change_unit_to_next_event_handler: impl ::core::convert::Into<
267 crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler,
268 >,
269 start_watching_event_handler: impl ::core::convert::Into<
270 crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_StartWatchingEventHandler,
271 >,
272 end_watching_event_handler: impl ::core::convert::Into<
273 crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_EndWatchingEventHandler,
274 >,
275 show_ui_event_handler: impl ::core::convert::Into<crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ShowUIEventHandler>,
276 hide_ui_event_handler: impl ::core::convert::Into<crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_HideUIEventHandler>,
277 ) -> () {
278 unsafe {
279 let __receiver =
280 <AccessoryShopChangeRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
281 ::unity::il2cpp_call!((::unity::module_base()+0x27c20a0usize)as*mut u8,();
282(AccessoryShopChangeRootProc)__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::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler)::core::convert::Into::into(change_unit_to_prev_event_handler),(crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler)::core::convert::Into::into(change_unit_to_next_event_handler),(crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_StartWatchingEventHandler)::core::convert::Into::into(start_watching_event_handler),(crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_EndWatchingEventHandler)::core::convert::Into::into(end_watching_event_handler),(crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ShowUIEventHandler)::core::convert::Into::into(show_ui_event_handler),(crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_HideUIEventHandler)::core::convert::Into::into(hide_ui_event_handler))
283 }
284 }
285 #[doc = "`OnTick()` overload"]
286 fn on_tick(self) -> () {
287 unsafe {
288 let __receiver =
289 <AccessoryShopChangeRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
290 {
291 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
292 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
293 panic!(
294 "unity: virtual slot {}
295 out of range (vtable len {}
296) on the runtime class behind {}
297 (method `{}
298`)",
299 6usize,
300 __vt.len(),
301 <AccessoryShopChangeRootProc as ::unity::ClassIdentity>::NAME,
302 "OnTick",
303 )
304 });
305 let __inner: extern "C" fn(AccessoryShopChangeRootProc, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
306 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
307 __inner(__receiver, __mi)
308 }
309 }
310 }
311 #[doc = "`KeyHelpAllOpen()` overload"]
312 fn key_help_all_open(self) -> () {
313 unsafe {
314 let __receiver =
315 <AccessoryShopChangeRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
316 ::unity::il2cpp_call!((::unity::module_base()+0x27c4650usize)as*mut u8,();
317(AccessoryShopChangeRootProc)__receiver)
318 }
319 }
320 #[doc = "`KeyHelpAllClose()` overload"]
321 fn key_help_all_close(self) -> () {
322 unsafe {
323 let __receiver =
324 <AccessoryShopChangeRootProc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
325 ::unity::il2cpp_call!((::unity::module_base()+0x27c4780usize)as*mut u8,();
326(AccessoryShopChangeRootProc)__receiver)
327 }
328 }
329}
330
331#[cfg(feature = "app-accessoryshopchangerootproc")]
332impl<__T: IAccessoryShopChangeRootProc> IAccessoryShopChangeRootProcMethods for __T {}
333
334#[cfg(feature = "app-accessoryshopchangerootproc")]
335impl AccessoryShopChangeRootProc {
336 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
338 }
339
340 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
342 }
343
344 pub fn key_help_all_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
346 }
347
348 pub fn key_help_all_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
350 }
351}
352
353#[cfg(feature = "app-accessoryshopchangerootproc")]
354impl AccessoryShopChangeRootProc {
355 #[doc = "Direct (non-virtual) call to `AccessoryShopChangeRootProc`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
356 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
357 let __mi = Self::on_tick_method_info();
358 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
359 __inner(this.into(), ::core::option::Option::None)
360 }
361}
362
363#[cfg(feature = "app-accessoryshopchangerootproc")]
364impl AccessoryShopChangeRootProc {
365 #[doc = "`.ctor(crate::app::procinst::ProcInst, crate::unity_engine::gameobject::GameObject, crate::unity_engine::animator::Animator, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_StartWatchingEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_EndWatchingEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ShowUIEventHandler, crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_HideUIEventHandler)` — overload selector"]
366 pub fn new(
367 super_: crate::app::procinst::ProcInst,
368 key_help_all_object: crate::unity_engine::gameobject::GameObject,
369 key_help_all_animator: crate::unity_engine::animator::Animator,
370 change_unit_to_prev_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler,
371 change_unit_to_next_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler,
372 start_watching_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_StartWatchingEventHandler,
373 end_watching_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_EndWatchingEventHandler,
374 show_ui_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_ShowUIEventHandler,
375 hide_ui_event_handler: crate::app::accessoryshopchangerootproc::AccessoryShopChangeRootProc_HideUIEventHandler,
376 ) -> Self {
377 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
378 panic!(
379 "{}
380::{}
381 failed to instantiate",
382 ::core::stringify!(AccessoryShopChangeRootProc),
383 ::core::stringify!(new),
384 )
385 });
386 <Self as IAccessoryShopChangeRootProcMethods>::ctor(
387 this,
388 super_,
389 key_help_all_object,
390 key_help_all_animator,
391 change_unit_to_prev_event_handler,
392 change_unit_to_next_event_handler,
393 start_watching_event_handler,
394 end_watching_event_handler,
395 show_ui_event_handler,
396 hide_ui_event_handler,
397 );
398 this
399 }
400}
401
402#[cfg(feature = "app-accessoryshopchangerootproc")]
403pub trait IAccessoryShopChangeRootProc_HideUIEventHandlerMethods: IAccessoryShopChangeRootProc_HideUIEventHandler {
404 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
405 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
406 unsafe {
407 let __receiver = <AccessoryShopChangeRootProc_HideUIEventHandler as ::unity::FromIlInstance>::from_il_instance(
408 <Self as ::unity::SystemObject>::as_instance(self),
409 );
410 ::unity::il2cpp_call!((::unity::module_base()+0x2905800usize)as*mut u8,();
411(AccessoryShopChangeRootProc_HideUIEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
412 }
413 }
414 #[doc = "`Invoke()` overload"]
415 fn invoke(self) -> () {
416 unsafe {
417 let __receiver = <AccessoryShopChangeRootProc_HideUIEventHandler as ::unity::FromIlInstance>::from_il_instance(
418 <Self as ::unity::SystemObject>::as_instance(self),
419 );
420 {
421 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
422 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
423 panic!(
424 "unity: virtual slot {}
425 out of range (vtable len {}
426) on the runtime class behind {}
427 (method `{}
428`)",
429 13usize,
430 __vt.len(),
431 <AccessoryShopChangeRootProc_HideUIEventHandler as ::unity::ClassIdentity>::NAME,
432 "Invoke",
433 )
434 });
435 let __inner: extern "C" fn(AccessoryShopChangeRootProc_HideUIEventHandler, ::unity::OptionalMethod) -> () =
436 ::core::mem::transmute(__vi.method_ptr);
437 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
438 __inner(__receiver, __mi)
439 }
440 }
441 }
442}
443
444#[cfg(feature = "app-accessoryshopchangerootproc")]
445impl<__T: IAccessoryShopChangeRootProc_HideUIEventHandler> IAccessoryShopChangeRootProc_HideUIEventHandlerMethods for __T {}
446
447#[cfg(feature = "app-accessoryshopchangerootproc")]
448impl AccessoryShopChangeRootProc_HideUIEventHandler {
449 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
451 }
452
453 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
455 }
456}
457
458#[cfg(feature = "app-accessoryshopchangerootproc")]
459impl AccessoryShopChangeRootProc_HideUIEventHandler {
460 #[doc = "Direct (non-virtual) call to `AccessoryShopChangeRootProc_HideUIEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
461 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
462 let __mi = Self::invoke_method_info();
463 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
464 __inner(this.into(), ::core::option::Option::None)
465 }
466}
467
468#[cfg(feature = "app-accessoryshopchangerootproc")]
469impl AccessoryShopChangeRootProc_HideUIEventHandler {
470 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
471 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
472 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
473 panic!(
474 "{}
475::{}
476 failed to instantiate",
477 ::core::stringify!(AccessoryShopChangeRootProc_HideUIEventHandler),
478 ::core::stringify!(new),
479 )
480 });
481 <Self as IAccessoryShopChangeRootProc_HideUIEventHandlerMethods>::ctor(this, object, method);
482 this
483 }
484}
485
486#[cfg(feature = "app-accessoryshopchangerootproc")]
487pub trait IAccessoryShopChangeRootProc_EndWatchingEventHandlerMethods: IAccessoryShopChangeRootProc_EndWatchingEventHandler {
488 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
489 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
490 unsafe {
491 let __receiver = <AccessoryShopChangeRootProc_EndWatchingEventHandler as ::unity::FromIlInstance>::from_il_instance(
492 <Self as ::unity::SystemObject>::as_instance(self),
493 );
494 ::unity::il2cpp_call!((::unity::module_base()+0x2905590usize)as*mut u8,();
495(AccessoryShopChangeRootProc_EndWatchingEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
496 }
497 }
498 #[doc = "`Invoke()` overload"]
499 fn invoke(self) -> () {
500 unsafe {
501 let __receiver = <AccessoryShopChangeRootProc_EndWatchingEventHandler as ::unity::FromIlInstance>::from_il_instance(
502 <Self as ::unity::SystemObject>::as_instance(self),
503 );
504 {
505 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
506 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
507 panic!(
508 "unity: virtual slot {}
509 out of range (vtable len {}
510) on the runtime class behind {}
511 (method `{}
512`)",
513 13usize,
514 __vt.len(),
515 <AccessoryShopChangeRootProc_EndWatchingEventHandler as ::unity::ClassIdentity>::NAME,
516 "Invoke",
517 )
518 });
519 let __inner: extern "C" fn(AccessoryShopChangeRootProc_EndWatchingEventHandler, ::unity::OptionalMethod) -> () =
520 ::core::mem::transmute(__vi.method_ptr);
521 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
522 __inner(__receiver, __mi)
523 }
524 }
525 }
526}
527
528#[cfg(feature = "app-accessoryshopchangerootproc")]
529impl<__T: IAccessoryShopChangeRootProc_EndWatchingEventHandler> IAccessoryShopChangeRootProc_EndWatchingEventHandlerMethods for __T {}
530
531#[cfg(feature = "app-accessoryshopchangerootproc")]
532impl AccessoryShopChangeRootProc_EndWatchingEventHandler {
533 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
535 }
536
537 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
539 }
540}
541
542#[cfg(feature = "app-accessoryshopchangerootproc")]
543impl AccessoryShopChangeRootProc_EndWatchingEventHandler {
544 #[doc = "Direct (non-virtual) call to `AccessoryShopChangeRootProc_EndWatchingEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
545 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
546 let __mi = Self::invoke_method_info();
547 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
548 __inner(this.into(), ::core::option::Option::None)
549 }
550}
551
552#[cfg(feature = "app-accessoryshopchangerootproc")]
553impl AccessoryShopChangeRootProc_EndWatchingEventHandler {
554 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
555 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
556 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
557 panic!(
558 "{}
559::{}
560 failed to instantiate",
561 ::core::stringify!(AccessoryShopChangeRootProc_EndWatchingEventHandler),
562 ::core::stringify!(new),
563 )
564 });
565 <Self as IAccessoryShopChangeRootProc_EndWatchingEventHandlerMethods>::ctor(this, object, method);
566 this
567 }
568}
569
570#[cfg(feature = "app-accessoryshopchangerootproc")]
571pub trait IAccessoryShopChangeRootProc_ChangeUnitToPrevEventHandlerMethods: IAccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler {
572 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
573 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
574 unsafe {
575 let __receiver = <AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler as ::unity::FromIlInstance>::from_il_instance(
576 <Self as ::unity::SystemObject>::as_instance(self),
577 );
578 ::unity::il2cpp_call!((::unity::module_base()+0x2905290usize)as*mut u8,();
579(AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
580 }
581 }
582 #[doc = "`Invoke(bool)` overload"]
583 fn invoke(self, watching: impl ::core::convert::Into<bool>) -> () {
584 unsafe {
585 let __receiver = <AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler as ::unity::FromIlInstance>::from_il_instance(
586 <Self as ::unity::SystemObject>::as_instance(self),
587 );
588 {
589 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
590 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
591 panic!(
592 "unity: virtual slot {}
593 out of range (vtable len {}
594) on the runtime class behind {}
595 (method `{}
596`)",
597 13usize,
598 __vt.len(),
599 <AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler as ::unity::ClassIdentity>::NAME,
600 "Invoke",
601 )
602 });
603 let __inner: extern "C" fn(AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler, bool, ::unity::OptionalMethod) -> () =
604 ::core::mem::transmute(__vi.method_ptr);
605 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
606 __inner(__receiver, ::core::convert::Into::into(watching), __mi)
607 }
608 }
609 }
610}
611
612#[cfg(feature = "app-accessoryshopchangerootproc")]
613impl<__T: IAccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler> IAccessoryShopChangeRootProc_ChangeUnitToPrevEventHandlerMethods for __T {}
614
615#[cfg(feature = "app-accessoryshopchangerootproc")]
616impl AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler {
617 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
618 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
619 }
620
621 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
622 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
623 }
624}
625
626#[cfg(feature = "app-accessoryshopchangerootproc")]
627impl AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler {
628 #[doc = "Direct (non-virtual) call to `AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
629 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, watching: bool) -> () {
630 let __mi = Self::invoke_method_info();
631 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
632 __inner(this.into(), watching, ::core::option::Option::None)
633 }
634}
635
636#[cfg(feature = "app-accessoryshopchangerootproc")]
637impl AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler {
638 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
639 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
640 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
641 panic!(
642 "{}
643::{}
644 failed to instantiate",
645 ::core::stringify!(AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler),
646 ::core::stringify!(new),
647 )
648 });
649 <Self as IAccessoryShopChangeRootProc_ChangeUnitToPrevEventHandlerMethods>::ctor(this, object, method);
650 this
651 }
652}
653
654#[cfg(feature = "app-accessoryshopchangerootproc")]
655pub trait IAccessoryShopChangeRootProc_ChangeUnitToNextEventHandlerMethods: IAccessoryShopChangeRootProc_ChangeUnitToNextEventHandler {
656 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
657 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
658 unsafe {
659 let __receiver = <AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler as ::unity::FromIlInstance>::from_il_instance(
660 <Self as ::unity::SystemObject>::as_instance(self),
661 );
662 ::unity::il2cpp_call!((::unity::module_base()+0x2904f90usize)as*mut u8,();
663(AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
664 }
665 }
666 #[doc = "`Invoke(bool)` overload"]
667 fn invoke(self, watching: impl ::core::convert::Into<bool>) -> () {
668 unsafe {
669 let __receiver = <AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler as ::unity::FromIlInstance>::from_il_instance(
670 <Self as ::unity::SystemObject>::as_instance(self),
671 );
672 {
673 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
674 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
675 panic!(
676 "unity: virtual slot {}
677 out of range (vtable len {}
678) on the runtime class behind {}
679 (method `{}
680`)",
681 13usize,
682 __vt.len(),
683 <AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler as ::unity::ClassIdentity>::NAME,
684 "Invoke",
685 )
686 });
687 let __inner: extern "C" fn(AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler, bool, ::unity::OptionalMethod) -> () =
688 ::core::mem::transmute(__vi.method_ptr);
689 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
690 __inner(__receiver, ::core::convert::Into::into(watching), __mi)
691 }
692 }
693 }
694}
695
696#[cfg(feature = "app-accessoryshopchangerootproc")]
697impl<__T: IAccessoryShopChangeRootProc_ChangeUnitToNextEventHandler> IAccessoryShopChangeRootProc_ChangeUnitToNextEventHandlerMethods for __T {}
698
699#[cfg(feature = "app-accessoryshopchangerootproc")]
700impl AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler {
701 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
702 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
703 }
704
705 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
706 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
707 }
708}
709
710#[cfg(feature = "app-accessoryshopchangerootproc")]
711impl AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler {
712 #[doc = "Direct (non-virtual) call to `AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
713 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, watching: bool) -> () {
714 let __mi = Self::invoke_method_info();
715 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
716 __inner(this.into(), watching, ::core::option::Option::None)
717 }
718}
719
720#[cfg(feature = "app-accessoryshopchangerootproc")]
721impl AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler {
722 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
723 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
724 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
725 panic!(
726 "{}
727::{}
728 failed to instantiate",
729 ::core::stringify!(AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler),
730 ::core::stringify!(new),
731 )
732 });
733 <Self as IAccessoryShopChangeRootProc_ChangeUnitToNextEventHandlerMethods>::ctor(this, object, method);
734 this
735 }
736}
737
738#[cfg(feature = "app-accessoryshopchangerootproc")]
739#[doc(hidden)]
740pub mod prelude {
741 pub use super::{
742 AccessoryShopChangeRootProc, AccessoryShopChangeRootProc_ChangeUnitToNextEventHandler,
743 AccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler, AccessoryShopChangeRootProc_EndWatchingEventHandler,
744 AccessoryShopChangeRootProc_HideUIEventHandler, AccessoryShopChangeRootProc_ShowUIEventHandler,
745 AccessoryShopChangeRootProc_StartWatchingEventHandler, IAccessoryShopChangeRootProc, IAccessoryShopChangeRootProcMethods,
746 IAccessoryShopChangeRootProc_ChangeUnitToNextEventHandler, IAccessoryShopChangeRootProc_ChangeUnitToNextEventHandlerMethods,
747 IAccessoryShopChangeRootProc_ChangeUnitToPrevEventHandler, IAccessoryShopChangeRootProc_ChangeUnitToPrevEventHandlerMethods,
748 IAccessoryShopChangeRootProc_EndWatchingEventHandler, IAccessoryShopChangeRootProc_EndWatchingEventHandlerMethods,
749 IAccessoryShopChangeRootProc_HideUIEventHandler, IAccessoryShopChangeRootProc_HideUIEventHandlerMethods,
750 IAccessoryShopChangeRootProc_ShowUIEventHandler, IAccessoryShopChangeRootProc_ShowUIEventHandlerMethods,
751 IAccessoryShopChangeRootProc_StartWatchingEventHandler, IAccessoryShopChangeRootProc_StartWatchingEventHandlerMethods,
752 };
753 #[cfg(feature = "app-procinst")]
754 pub use crate::app::procinst::IProcInstMethods;
755 #[cfg(feature = "system-delegate")]
756 pub use crate::system::delegate::IDelegateMethods;
757 #[cfg(feature = "system-multicastdelegate")]
758 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
759 #[cfg(feature = "system-object")]
760 pub use crate::system::object::IObjectMethods;
761 pub use crate::{
762 app::procinst::IProcInst,
763 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
764 };
765}