Skip to main content

engage/generated/app/
arenabondlevelselectroot.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-arenabondlevelselectroot-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/arenabondlevelselectroot/ArenaBondLevelSelectRoot.md"))]
19    #[::unity::class(namespace = "App", name = "ArenaBondLevelSelectRoot")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct ArenaBondLevelSelectRoot {
22        #[static_field]
23        #[rename(name = "PrefabPath")]
24        pub prefab_path: ::unity::Il2CppString,
25        #[offset(24)]
26        #[rename(name = "m_MenuContent")]
27        pub m_menu_content: crate::app::arenabondlevelselectmenucontent::ArenaBondLevelSelectMenuContent,
28        #[offset(32)]
29        #[rename(name = "m_LevelSetter")]
30        pub m_level_setter: crate::app::arenabondlevelselectsetter::ArenaBondLevelSelectSetter,
31        #[offset(40)]
32        #[rename(name = "m_BondSetter")]
33        pub m_bond_setter: crate::app::menubondsetter::MenuBondSetter,
34        #[offset(48)]
35        #[rename(name = "m_DecideEventHandler")]
36        pub m_decide_event_handler: crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu_DecideEventHandler,
37        #[offset(56)]
38        #[rename(name = "m_Menu")]
39        pub m_menu: crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu,
40        #[offset(64)]
41        #[rename(name = "m_SelectUnit")]
42        pub m_select_unit: crate::app::unit::Unit,
43        #[offset(72)]
44        #[rename(name = "m_SelectGodIndex")]
45        pub m_select_god_index: i32,
46    }
47}
48
49#[cfg(feature = "app-arenabondlevelselectroot-types")]
50pub use __types::*;
51
52#[cfg(feature = "app-arenabondlevelselectroot")]
53impl ArenaBondLevelSelectRoot {
54    #[doc = "`LoadPrefabAsync()` overload"]
55    pub fn load_prefab_async() -> () {
56        unsafe {
57            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1040usize)as*mut u8,();
58            )
59        }
60    }
61
62    #[doc = "`IsLoadingPrefab()` overload"]
63    pub fn is_loading_prefab() -> bool {
64        unsafe {
65            ::unity::il2cpp_call!((::unity::module_base()+0x1ca10c0usize)as*mut u8,bool;
66            )
67        }
68    }
69
70    #[doc = "`UnloadPrefab()` overload"]
71    pub fn unload_prefab() -> () {
72        unsafe {
73            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1140usize)as*mut u8,();
74            )
75        }
76    }
77
78    #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType, crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu_DecideEventHandler)` overload"]
79    pub fn create_bind(
80        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
81        select_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
82        select_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
83        select_type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
84        decide_event_handler: impl ::core::convert::Into<crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu_DecideEventHandler>,
85    ) -> crate::app::arenabondlevelselectroot::ArenaBondLevelSelectRoot {
86        unsafe {
87            ::unity::il2cpp_call!((::unity::module_base()+0x1ca11c0usize)as*mut u8,crate::app::arenabondlevelselectroot::ArenaBondLevelSelectRoot;
88(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(select_god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(select_type),(crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
89        }
90    }
91}
92
93#[cfg(feature = "app-arenabondlevelselectroot")]
94pub trait IArenaBondLevelSelectRootMethods: IArenaBondLevelSelectRoot {
95    #[doc = "`Create(crate::app::procinst::ProcInst, crate::app::unit::Unit, crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType, crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu_DecideEventHandler)` overload"]
96    fn create(
97        self,
98        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
99        select_unit: impl ::core::convert::Into<crate::app::unit::Unit>,
100        select_god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
101        select_type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
102        decide_event_handler: impl ::core::convert::Into<crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu_DecideEventHandler>,
103    ) -> () {
104        unsafe {
105            let __receiver =
106                <ArenaBondLevelSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1350usize)as*mut u8,();
108(ArenaBondLevelSelectRoot)__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(select_god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(select_type),(crate::app::arenabondlevelselectmenu::ArenaBondLevelSelectMenu_DecideEventHandler)::core::convert::Into::into(decide_event_handler))
109        }
110    }
111    #[doc = "`CharaInfoPlayAnim(::unity::Il2CppString)` overload"]
112    fn chara_info_play_anim(self, anim_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
113        unsafe {
114            let __receiver =
115                <ArenaBondLevelSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
116            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1730usize)as*mut u8,();
117(ArenaBondLevelSelectRoot)__receiver,(::unity::Il2CppString)::core::convert::Into::into(anim_name))
118        }
119    }
120    #[doc = "`OnSelectMenuItem(crate::app::godunit::GodUnit, i32, i32)` overload"]
121    fn on_select_menu_item(
122        self,
123        god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
124        from_lv: impl ::core::convert::Into<i32>,
125        to_lv: impl ::core::convert::Into<i32>,
126    ) -> () {
127        unsafe {
128            let __receiver =
129                <ArenaBondLevelSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1820usize)as*mut u8,();
131(ArenaBondLevelSelectRoot)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(i32)::core::convert::Into::into(from_lv),(i32)::core::convert::Into::into(to_lv))
132        }
133    }
134    #[doc = "`OnDecideMenuItem(crate::app::godunit::GodUnit, crate::app::ringcleaningsequence::RingCleaningSequence_GodType, bool, i32, i32)` overload"]
135    fn on_decide_menu_item(
136        self,
137        god: impl ::core::convert::Into<crate::app::godunit::GodUnit>,
138        r#type: impl ::core::convert::Into<crate::app::ringcleaningsequence::RingCleaningSequence_GodType>,
139        start: impl ::core::convert::Into<bool>,
140        exp: impl ::core::convert::Into<i32>,
141        use_count: impl ::core::convert::Into<i32>,
142    ) -> () {
143        unsafe {
144            let __receiver =
145                <ArenaBondLevelSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
146            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1b70usize)as*mut u8,();
147(ArenaBondLevelSelectRoot)__receiver,(crate::app::godunit::GodUnit)::core::convert::Into::into(god),(crate::app::ringcleaningsequence::RingCleaningSequence_GodType)::core::convert::Into::into(r#type),(bool)::core::convert::Into::into(start),(i32)::core::convert::Into::into(exp),(i32)::core::convert::Into::into(use_count))
148        }
149    }
150    #[doc = "`OnChangeGodToNext()` overload"]
151    fn on_change_god_to_next(self) -> () {
152        unsafe {
153            let __receiver =
154                <ArenaBondLevelSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1b80usize)as*mut u8,();
156(ArenaBondLevelSelectRoot)__receiver)
157        }
158    }
159    #[doc = "`OnChangeGodToPrev()` overload"]
160    fn on_change_god_to_prev(self) -> () {
161        unsafe {
162            let __receiver =
163                <ArenaBondLevelSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1d20usize)as*mut u8,();
165(ArenaBondLevelSelectRoot)__receiver)
166        }
167    }
168    #[doc = "`.ctor()` overload"]
169    fn ctor(self) -> () {
170        unsafe {
171            let __receiver =
172                <ArenaBondLevelSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173            ::unity::il2cpp_call!((::unity::module_base()+0x1ca1ed0usize)as*mut u8,();
174(ArenaBondLevelSelectRoot)__receiver)
175        }
176    }
177}
178
179#[cfg(feature = "app-arenabondlevelselectroot")]
180impl<__T: IArenaBondLevelSelectRoot> IArenaBondLevelSelectRootMethods for __T {}
181
182#[cfg(feature = "app-arenabondlevelselectroot")]
183impl ArenaBondLevelSelectRoot {
184    pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
185        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
186    }
187
188    pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
189        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
190    }
191
192    pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
194    }
195
196    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
198    }
199
200    pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
202    }
203
204    pub fn chara_info_play_anim_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
206    }
207
208    pub fn on_select_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
210    }
211
212    pub fn on_decide_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
213        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
214    }
215
216    pub fn on_change_god_to_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
217        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
218    }
219
220    pub fn on_change_god_to_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
221        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
222    }
223
224    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
225        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
226    }
227}
228
229#[cfg(feature = "app-arenabondlevelselectroot")]
230impl ArenaBondLevelSelectRoot {
231    #[doc = "`.ctor()` — no args"]
232    pub fn new() -> Self {
233        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
234            panic!(
235                "{}
236::{}
237 failed to instantiate",
238                ::core::stringify!(ArenaBondLevelSelectRoot),
239                ::core::stringify!(new),
240            )
241        });
242        <Self as IArenaBondLevelSelectRootMethods>::ctor(this);
243        this
244    }
245}
246
247#[cfg(feature = "app-arenabondlevelselectroot")]
248#[doc(hidden)]
249pub mod prelude {
250    pub use super::{ArenaBondLevelSelectRoot, IArenaBondLevelSelectRoot, IArenaBondLevelSelectRootMethods};
251    #[cfg(feature = "system-object")]
252    pub use crate::system::object::IObjectMethods;
253    #[cfg(feature = "unity_engine-behaviour")]
254    pub use crate::unity_engine::behaviour::IBehaviourMethods;
255    #[cfg(feature = "unity_engine-component")]
256    pub use crate::unity_engine::component::IComponentMethods;
257    #[cfg(feature = "unity_engine-monobehaviour")]
258    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
259    #[cfg(feature = "unity_engine-object_2")]
260    pub use crate::unity_engine::object_2::IObject_2Methods;
261    pub use crate::{
262        system::object::IObject,
263        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
264    };
265}