Skip to main content

engage/generated/app/
arenabondgodselectroot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-arenabondgodselectroot-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::{
10            delegate::{Delegate, IDelegate},
11            multicastdelegate::{IMulticastDelegate, MulticastDelegate},
12            object::{IObject, Object},
13        },
14        unity_engine::{
15            behaviour::{Behaviour, IBehaviour},
16            component::{Component, IComponent},
17            monobehaviour::{IMonoBehaviour, MonoBehaviour},
18            object_2::{IObject_2, Object_2},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/arenabondgodselectroot/ArenaBondGodSelectRoot_DecideEventHandler.md"))]
23    #[::unity::class(namespace = "App", name = "ArenaBondGodSelectRoot.DecideEventHandler")]
24    #[parent(crate::system::multicastdelegate::MulticastDelegate)]
25    pub struct ArenaBondGodSelectRoot_DecideEventHandler {}
26
27    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/arenabondgodselectroot/ArenaBondGodSelectRoot.md"))]
28    #[::unity::class(namespace = "App", name = "ArenaBondGodSelectRoot")]
29    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
30    pub struct ArenaBondGodSelectRoot {
31        #[static_field]
32        #[rename(name = "PrefabPath")]
33        pub prefab_path: ::unity::Il2CppString,
34        #[static_field]
35        #[rename(name = "HelpPrefabPath")]
36        pub help_prefab_path: ::unity::Il2CppString,
37        #[offset(24)]
38        #[rename(name = "m_MenuContent")]
39        pub m_menu_content: crate::app::arenabondgodselectmenucontent::ArenaBondGodSelectMenuContent,
40        #[offset(32)]
41        #[rename(name = "m_SkillListSetter")]
42        pub m_skill_list_setter: crate::app::arenabondgodselectskilllistsetter::ArenaBondGodSelectSkillListSetter,
43        #[offset(40)]
44        #[rename(name = "m_BondSetter")]
45        pub m_bond_setter: crate::app::menubondsetter::MenuBondSetter,
46        #[offset(48)]
47        #[rename(name = "m_DecideEventHandler")]
48        pub m_decide_event_handler: crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot_DecideEventHandler,
49        #[offset(56)]
50        #[rename(name = "m_Menu")]
51        pub m_menu: crate::app::arenabondgodselectmenu::ArenaBondGodSelectMenu,
52        #[offset(64)]
53        #[rename(name = "m_SelectUnit")]
54        pub m_select_unit: crate::app::unit::Unit,
55        #[offset(72)]
56        #[rename(name = "m_SelectGod")]
57        pub m_select_god: crate::app::godunit::GodUnit,
58        #[offset(80)]
59        #[rename(name = "m_SelectType")]
60        pub m_select_type: crate::app::ringcleaningsequence::RingCleaningSequence_GodType,
61    }
62}
63
64#[cfg(feature = "app-arenabondgodselectroot-types")]
65pub use __types::*;
66
67#[cfg(feature = "app-arenabondgodselectroot")]
68pub trait IArenaBondGodSelectRoot_DecideEventHandlerMethods: IArenaBondGodSelectRoot_DecideEventHandler {
69    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
70    fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
71        unsafe {
72            let __receiver = <ArenaBondGodSelectRoot_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
73                <Self as ::unity::SystemObject>::as_instance(self),
74            );
75            ::unity::il2cpp_call!((::unity::module_base()+0x1ba8b60usize)as*mut u8,();
76(ArenaBondGodSelectRoot_DecideEventHandler)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
77        }
78    }
79    #[doc = "`Invoke(crate::app::unit::Unit, crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType)` overload"]
80    fn invoke(
81        self,
82        unit: impl ::core::convert::Into<crate::app::unit::Unit>,
83        god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
84        select_type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
85    ) -> () {
86        unsafe {
87            let __receiver = <ArenaBondGodSelectRoot_DecideEventHandler as ::unity::FromIlInstance>::from_il_instance(
88                <Self as ::unity::SystemObject>::as_instance(self),
89            );
90            {
91                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
92                let __vi = *__vt.get(13usize).unwrap_or_else(|| {
93                    panic!(
94                        "unity: virtual slot {}
95 out of range (vtable len {}
96) on the runtime class behind {}
97 (method `{}
98`)",
99                        13usize,
100                        __vt.len(),
101                        <ArenaBondGodSelectRoot_DecideEventHandler as ::unity::ClassIdentity>::NAME,
102                        "Invoke",
103                    )
104                });
105                let __inner: extern "C" fn(
106                    ArenaBondGodSelectRoot_DecideEventHandler,
107                    crate::app::unit::Unit,
108                    crate::app::godunit::GodUnit,
109                    crate::app::ringcleaningsequence::RingCleaningSequence_GodType,
110                    ::unity::OptionalMethod,
111                ) -> () = ::core::mem::transmute(__vi.method_ptr);
112                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
113                __inner(
114                    __receiver,
115                    ::core::convert::Into::into(unit),
116                    ::core::convert::Into::into(god),
117                    ::core::convert::Into::into(select_type),
118                    __mi,
119                )
120            }
121        }
122    }
123}
124
125#[cfg(feature = "app-arenabondgodselectroot")]
126impl<__T: IArenaBondGodSelectRoot_DecideEventHandler> IArenaBondGodSelectRoot_DecideEventHandlerMethods for __T {}
127
128#[cfg(feature = "app-arenabondgodselectroot")]
129impl ArenaBondGodSelectRoot_DecideEventHandler {
130    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
131        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
132    }
133
134    pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
136    }
137}
138
139#[cfg(feature = "app-arenabondgodselectroot")]
140impl ArenaBondGodSelectRoot_DecideEventHandler {
141    #[doc = "Direct (non-virtual) call to `ArenaBondGodSelectRoot_DecideEventHandler`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
142    pub unsafe fn invoke(
143        this: impl ::core::convert::Into<::unity::IlInstance>,
144        unit: crate::app::unit::Unit,
145        god: crate::app::godunit::GodUnit,
146        select_type: crate::app::ringcleaningsequence::RingCleaningSequence_GodType,
147    ) -> () {
148        let __mi = Self::invoke_method_info();
149        let __inner: extern "C" fn(
150            ::unity::IlInstance,
151            crate::app::unit::Unit,
152            crate::app::godunit::GodUnit,
153            crate::app::ringcleaningsequence::RingCleaningSequence_GodType,
154            ::unity::OptionalMethod,
155        ) -> () = ::core::mem::transmute(__mi.method_ptr);
156        __inner(this.into(), unit, god, select_type, ::core::option::Option::None)
157    }
158}
159
160#[cfg(feature = "app-arenabondgodselectroot")]
161impl ArenaBondGodSelectRoot_DecideEventHandler {
162    #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
163    pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
164        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
165            panic!(
166                "{}
167::{}
168 failed to instantiate",
169                ::core::stringify!(ArenaBondGodSelectRoot_DecideEventHandler),
170                ::core::stringify!(new),
171            )
172        });
173        <Self as IArenaBondGodSelectRoot_DecideEventHandlerMethods>::ctor(this, object, method);
174        this
175    }
176}
177
178#[cfg(feature = "app-arenabondgodselectroot")]
179impl ArenaBondGodSelectRoot {
180    #[doc = "`LoadPrefabAsync()` overload"]
181    pub fn load_prefab_async() -> () {
182        unsafe {
183            ::unity::il2cpp_call!((::unity::module_base()+0x1c9eb50usize)as*mut u8,();
184            )
185        }
186    }
187
188    #[doc = "`IsLoadingPrefab()` overload"]
189    pub fn is_loading_prefab() -> bool {
190        unsafe {
191            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ebf0usize)as*mut u8,bool;
192            )
193        }
194    }
195
196    #[doc = "`UnloadPrefab()` overload"]
197    pub fn unload_prefab() -> () {
198        unsafe {
199            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ecc0usize)as*mut u8,();
200            )
201        }
202    }
203
204    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType, crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot_DecideEventHandler)` overload"]
205    pub fn create_bind(
206        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
207        select_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
208        default_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
209        change_type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
210        decide_event_handler: impl ::core::convert::Into<crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot_DecideEventHandler>,
211    ) -> crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot {
212        unsafe {
213            ::unity::il2cpp_call!((::unity::module_base()+0x1c9ed60usize)as*mut u8,crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot;
214(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(select_unit),(crate::app::godunit::GodUnit)::core::convert::Into::into(default_god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(change_type),(crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
215        }
216    }
217}
218
219#[cfg(feature = "app-arenabondgodselectroot")]
220pub trait IArenaBondGodSelectRootMethods: IArenaBondGodSelectRoot {
221    #[doc = "`Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType, crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot_DecideEventHandler)` overload"]
222    fn create(
223        self,
224        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
225        select_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
226        default_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
227        change_type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
228        decide_event_handler: impl ::core::convert::Into<crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot_DecideEventHandler>,
229    ) -> () {
230        unsafe {
231            let __receiver =
232                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
233            ::unity::il2cpp_call!((::unity::module_base()+0x1c9eef0usize)as*mut u8,();
234(ArenaBondGodSelectRoot)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::unit::Unit)::core::convert::Into::into(select_unit),(crate::app::godunit::GodUnit)::core::convert::Into::into(default_god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(change_type),(crate::app::arenabondgodselectroot::ArenaBondGodSelectRoot_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
235        }
236    }
237    #[doc = "`CharaInfoPlayAnim(::unity::Il2CppString)` overload"]
238    fn chara_info_play_anim(self, anim_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
239        unsafe {
240            let __receiver =
241                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
242            ::unity::il2cpp_call!((::unity::module_base()+0x1c9f260usize)as*mut u8,();
243(ArenaBondGodSelectRoot)__receiver,(::unity::Il2CppString)::core::convert::Into::into(anim_name))
244        }
245    }
246    #[doc = "`OnSelectMenuItem(crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType)` overload"]
247    fn on_select_menu_item(
248        self,
249        god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
250        change_type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
251    ) -> () {
252        unsafe {
253            let __receiver =
254                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255            ::unity::il2cpp_call!((::unity::module_base()+0x1c9f350usize)as*mut u8,();
256(ArenaBondGodSelectRoot)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(change_type))
257        }
258    }
259    #[doc = "`OnDecideMenuItem(crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType)` overload"]
260    fn on_decide_menu_item(
261        self,
262        god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
263        change_type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
264    ) -> () {
265        unsafe {
266            let __receiver =
267                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
268            ::unity::il2cpp_call!((::unity::module_base()+0x1c9f960usize)as*mut u8,();
269(ArenaBondGodSelectRoot)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(change_type))
270        }
271    }
272    #[doc = "`OnChangeUnitToPrev()` overload"]
273    fn on_change_unit_to_prev(self) -> () {
274        unsafe {
275            let __receiver =
276                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
277            ::unity::il2cpp_call!((::unity::module_base()+0x1c9fa90usize)as*mut u8,();
278(ArenaBondGodSelectRoot)__receiver)
279        }
280    }
281    #[doc = "`OnChangeUnitToNext()` overload"]
282    fn on_change_unit_to_next(self) -> () {
283        unsafe {
284            let __receiver =
285                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286            ::unity::il2cpp_call!((::unity::module_base()+0x1c9fc80usize)as*mut u8,();
287(ArenaBondGodSelectRoot)__receiver)
288        }
289    }
290    #[doc = "`OnStartHelp(crate::app::procinst::ProcInst, crate::app::goddata::GodData, i32)` overload"]
291    fn on_start_help(
292        self,
293        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
294        god: impl ::core::convert::Into<crate::app::goddata::GodData>,
295        bond_lv: impl ::core::convert::Into<i32>,
296    ) -> () {
297        unsafe {
298            let __receiver =
299                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
300            ::unity::il2cpp_call!((::unity::module_base()+0x1c9fe90usize)as*mut u8,();
301(ArenaBondGodSelectRoot)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::goddata::GodData)::core::convert::Into::into(god),(i32)::core::convert::Into::into(bond_lv))
302        }
303    }
304    #[doc = "`.ctor()` overload"]
305    fn ctor(self) -> () {
306        unsafe {
307            let __receiver =
308                <ArenaBondGodSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
309            ::unity::il2cpp_call!((::unity::module_base()+0x1ca01d0usize)as*mut u8,();
310(ArenaBondGodSelectRoot)__receiver)
311        }
312    }
313}
314
315#[cfg(feature = "app-arenabondgodselectroot")]
316impl<__T: IArenaBondGodSelectRoot> IArenaBondGodSelectRootMethods for __T {}
317
318#[cfg(feature = "app-arenabondgodselectroot")]
319impl ArenaBondGodSelectRoot {
320    pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
322    }
323
324    pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
326    }
327
328    pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
330    }
331
332    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
334    }
335
336    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
338    }
339
340    pub fn chara_info_play_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
342    }
343
344    pub fn on_select_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
346    }
347
348    pub fn on_decide_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
350    }
351
352    pub fn on_change_unit_to_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
354    }
355
356    pub fn on_change_unit_to_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
358    }
359
360    pub fn on_start_help_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
362    }
363
364    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
366    }
367}
368
369#[cfg(feature = "app-arenabondgodselectroot")]
370impl ArenaBondGodSelectRoot {
371    #[doc = "`.ctor()` — no args"]
372    pub fn new() -> Self {
373        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
374            panic!(
375                "{}
376::{}
377 failed to instantiate",
378                ::core::stringify!(ArenaBondGodSelectRoot),
379                ::core::stringify!(new),
380            )
381        });
382        <Self as IArenaBondGodSelectRootMethods>::ctor(this);
383        this
384    }
385}
386
387#[cfg(feature = "app-arenabondgodselectroot")]
388#[doc(hidden)]
389pub mod prelude {
390    pub use super::{
391        ArenaBondGodSelectRoot, ArenaBondGodSelectRoot_DecideEventHandler, IArenaBondGodSelectRoot, IArenaBondGodSelectRootMethods,
392        IArenaBondGodSelectRoot_DecideEventHandler, IArenaBondGodSelectRoot_DecideEventHandlerMethods,
393    };
394    #[cfg(feature = "system-delegate")]
395    pub use crate::system::delegate::IDelegateMethods;
396    #[cfg(feature = "system-multicastdelegate")]
397    pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
398    #[cfg(feature = "system-object")]
399    pub use crate::system::object::IObjectMethods;
400    #[cfg(feature = "unity_engine-behaviour")]
401    pub use crate::unity_engine::behaviour::IBehaviourMethods;
402    #[cfg(feature = "unity_engine-component")]
403    pub use crate::unity_engine::component::IComponentMethods;
404    #[cfg(feature = "unity_engine-monobehaviour")]
405    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
406    #[cfg(feature = "unity_engine-object_2")]
407    pub use crate::unity_engine::object_2::IObject_2Methods;
408    pub use crate::{
409        system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject},
410        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
411    };
412}