engage/generated/app/
relaymapselectroot.rs1#[cfg(feature = "app-relaymapselectroot-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/relaymapselectroot/RelayMapSelectRoot.md"))]
19 #[::unity::class(namespace = "App", name = "RelayMapSelectRoot")]
20 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21 pub struct RelayMapSelectRoot {
22 #[static_field]
23 #[rename(name = "PrefabPath")]
24 pub prefab_path: ::unity::Il2CppString,
25 #[offset(24)]
26 #[rename(name = "m_MapHelpObject")]
27 pub m_map_help_object: crate::unity_engine::gameobject::GameObject,
28 #[offset(32)]
29 #[rename(name = "m_MapMenu")]
30 pub m_map_menu: crate::app::relaymapmenu::RelayMapMenu,
31 #[offset(40)]
32 #[rename(name = "m_WdwMapHelp")]
33 pub m_wdw_map_help: crate::app::relaywdwmaphelp::RelayWdwMapHelp,
34 }
35}
36
37#[cfg(feature = "app-relaymapselectroot-types")]
38pub use __types::*;
39
40#[cfg(feature = "app-relaymapselectroot")]
41impl RelayMapSelectRoot {
42 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
43 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> crate::app::relaymapselectroot::RelayMapSelectRoot {
44 unsafe {
45 ::unity::il2cpp_call!((::unity::module_base()+0x1ffe580usize)as*mut u8,crate::app::relaymapselectroot::RelayMapSelectRoot;
46(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
47 }
48 }
49
50 #[doc = "`CheckExistEnableItem()` overload"]
51 pub fn check_exist_enable_item() -> bool {
52 unsafe {
53 ::unity::il2cpp_call!((::unity::module_base()+0x1ffe770usize)as*mut u8,bool;
54 )
55 }
56 }
57
58 #[doc = "`CanSelectNewRelayMap(crate::app::chapterdata::ChapterData)` overload"]
59 pub fn can_select_new_relay_map(chapter: impl ::core::convert::Into<crate::app::chapterdata::ChapterData>) -> bool {
60 unsafe {
61 ::unity::il2cpp_call!((::unity::module_base()+0x1ffe120usize)as*mut u8,bool;
62(crate::app::chapterdata::ChapterData)::core::convert::Into::into(chapter))
63 }
64 }
65
66 #[doc = "`LoadPrefabAsync()` overload"]
67 pub fn load_prefab_async() -> () {
68 unsafe {
69 ::unity::il2cpp_call!((::unity::module_base()+0x1ffec80usize)as*mut u8,();
70 )
71 }
72 }
73
74 #[doc = "`IsLoadingPrefab()` overload"]
75 pub fn is_loading_prefab() -> bool {
76 unsafe {
77 ::unity::il2cpp_call!((::unity::module_base()+0x1ffed20usize)as*mut u8,bool;
78 )
79 }
80 }
81
82 #[doc = "`UnloadPrefab()` overload"]
83 pub fn unload_prefab() -> () {
84 unsafe {
85 ::unity::il2cpp_call!((::unity::module_base()+0x1ffefb0usize)as*mut u8,();
86 )
87 }
88 }
89}
90
91#[cfg(feature = "app-relaymapselectroot")]
92pub trait IRelayMapSelectRootMethods: IRelayMapSelectRoot {
93 #[doc = "`.ctor()` overload"]
94 fn ctor(self) -> () {
95 unsafe {
96 let __receiver = <RelayMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x1fff250usize)as*mut u8,();
98(RelayMapSelectRoot)__receiver)
99 }
100 }
101 #[doc = "`Create(crate::app::procinst::ProcInst)` overload"]
102 fn create(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
103 unsafe {
104 let __receiver = <RelayMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 ::unity::il2cpp_call!((::unity::module_base()+0x1ffea90usize)as*mut u8,();
106(RelayMapSelectRoot)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
107 }
108 }
109 #[doc = "`OnSelectMenuItem(crate::app::relaydata::RelayData)` overload"]
110 fn on_select_menu_item(self, relay_data: impl ::core::convert::Into<crate::app::relaydata::RelayData>) -> () {
111 unsafe {
112 let __receiver = <RelayMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x1fff260usize)as*mut u8,();
114(RelayMapSelectRoot)__receiver,(crate::app::relaydata::RelayData)::core::convert::Into::into(relay_data))
115 }
116 }
117 #[doc = "`OnDecideMenuItem()` overload"]
118 fn on_decide_menu_item(self) -> () {
119 unsafe {
120 let __receiver = <RelayMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121 ::unity::il2cpp_call!((::unity::module_base()+0x1fff310usize)as*mut u8,();
122(RelayMapSelectRoot)__receiver)
123 }
124 }
125 #[doc = "`OnRequestCloseMenu()` overload"]
126 fn on_request_close_menu(self) -> () {
127 unsafe {
128 let __receiver = <RelayMapSelectRoot as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 ::unity::il2cpp_call!((::unity::module_base()+0x1fff330usize)as*mut u8,();
130(RelayMapSelectRoot)__receiver)
131 }
132 }
133}
134
135#[cfg(feature = "app-relaymapselectroot")]
136impl<__T: IRelayMapSelectRoot> IRelayMapSelectRootMethods for __T {}
137
138#[cfg(feature = "app-relaymapselectroot")]
139impl RelayMapSelectRoot {
140 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
141 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
142 }
143
144 pub fn check_exist_enable_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
146 }
147
148 pub fn can_select_new_relay_map_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
150 }
151
152 pub fn load_prefab_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
154 }
155
156 pub fn is_loading_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
157 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
158 }
159
160 pub fn unload_prefab_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
162 }
163
164 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
166 }
167
168 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
170 }
171
172 pub fn on_select_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
174 }
175
176 pub fn on_decide_menu_item_method_info() -> &'static ::unity::il2cpp::MethodInfo {
177 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
178 }
179
180 pub fn on_request_close_menu_method_info() -> &'static ::unity::il2cpp::MethodInfo {
181 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
182 }
183}
184
185#[cfg(feature = "app-relaymapselectroot")]
186impl RelayMapSelectRoot {
187 #[doc = "`.ctor()` — no args"]
188 pub fn new() -> Self {
189 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
190 panic!(
191 "{}
192::{}
193 failed to instantiate",
194 ::core::stringify!(RelayMapSelectRoot),
195 ::core::stringify!(new),
196 )
197 });
198 <Self as IRelayMapSelectRootMethods>::ctor(this);
199 this
200 }
201}
202
203#[cfg(feature = "app-relaymapselectroot")]
204#[doc(hidden)]
205pub mod prelude {
206 pub use super::{IRelayMapSelectRoot, IRelayMapSelectRootMethods, RelayMapSelectRoot};
207 #[cfg(feature = "system-object")]
208 pub use crate::system::object::IObjectMethods;
209 #[cfg(feature = "unity_engine-behaviour")]
210 pub use crate::unity_engine::behaviour::IBehaviourMethods;
211 #[cfg(feature = "unity_engine-component")]
212 pub use crate::unity_engine::component::IComponentMethods;
213 #[cfg(feature = "unity_engine-monobehaviour")]
214 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
215 #[cfg(feature = "unity_engine-object_2")]
216 pub use crate::unity_engine::object_2::IObject_2Methods;
217 pub use crate::{
218 system::object::IObject,
219 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
220 };
221}