engage/generated/app/
hubareadata.rs1#[cfg(feature = "app-hubareadata-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 structbase::{IStructBase, StructBase},
11 structdata_1::{IStructData_1, StructData_1},
12 structtemplate_1::{IStructTemplate_1, StructTemplate_1},
13 },
14 system::object::{IObject, Object},
15 };
16
17 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/hubareadata/HubAreaData.md"))]
18 #[::unity::class(namespace = "App", name = "HubAreaData")]
19 #[parent(crate::app::structdata_1::StructData_1<crate::app::hubareadata::HubAreaData>)]
20 pub struct HubAreaData {}
21}
22
23#[cfg(feature = "app-hubareadata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubareadata")]
27impl HubAreaData {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x2d76890usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-hubareadata")]
38pub trait IHubAreaDataMethods: IHubAreaData {
39 #[doc = "`get_AID()` overload"]
40 fn get_aid(self) -> ::unity::Il2CppString {
41 unsafe {
42 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x2d76940usize)as*mut u8, ::unity::Il2CppString;
44(HubAreaData)__receiver)
45 }
46 }
47 #[doc = "`set_AID(::unity::Il2CppString)` overload"]
48 fn set_aid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49 unsafe {
50 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x2d76950usize)as*mut u8,();
52(HubAreaData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
53 }
54 }
55 #[doc = "`get_MID()` overload"]
56 fn get_mid(self) -> ::unity::Il2CppString {
57 unsafe {
58 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x2d76960usize)as*mut u8, ::unity::Il2CppString;
60(HubAreaData)__receiver)
61 }
62 }
63 #[doc = "`set_MID(::unity::Il2CppString)` overload"]
64 fn set_mid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
65 unsafe {
66 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x2d76970usize)as*mut u8,();
68(HubAreaData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_ConditionCID()` overload"]
72 fn get_condition_cid(self) -> ::unity::Il2CppString {
73 unsafe {
74 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x2d76980usize)as*mut u8, ::unity::Il2CppString;
76(HubAreaData)__receiver)
77 }
78 }
79 #[doc = "`set_ConditionCID(::unity::Il2CppString)` overload"]
80 fn set_condition_cid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
81 unsafe {
82 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x2d76990usize)as*mut u8,();
84(HubAreaData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_SceneName()` overload"]
88 fn get_scene_name(self) -> ::unity::Il2CppString {
89 unsafe {
90 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x2d769a0usize)as*mut u8, ::unity::Il2CppString;
92(HubAreaData)__receiver)
93 }
94 }
95 #[doc = "`set_SceneName(::unity::Il2CppString)` overload"]
96 fn set_scene_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
97 unsafe {
98 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x2d769b0usize)as*mut u8,();
100(HubAreaData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_LocatorName()` overload"]
104 fn get_locator_name(self) -> ::unity::Il2CppString {
105 unsafe {
106 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x2d769c0usize)as*mut u8, ::unity::Il2CppString;
108(HubAreaData)__receiver)
109 }
110 }
111 #[doc = "`set_LocatorName(::unity::Il2CppString)` overload"]
112 fn set_locator_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
113 unsafe {
114 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x2d769d0usize)as*mut u8,();
116(HubAreaData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_MID_H()` overload"]
120 fn get_mid_h(self) -> ::unity::Il2CppString {
121 unsafe {
122 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x2d769e0usize)as*mut u8, ::unity::Il2CppString;
124(HubAreaData)__receiver)
125 }
126 }
127 #[doc = "`set_MID_H(::unity::Il2CppString)` overload"]
128 fn set_mid_h(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
129 unsafe {
130 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x2d769f0usize)as*mut u8,();
132(HubAreaData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`get_MapPointNo()` overload"]
136 fn get_map_point_no(self) -> u8 {
137 unsafe {
138 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x2d76a00usize)as*mut u8,u8;
140(HubAreaData)__receiver)
141 }
142 }
143 #[doc = "`set_MapPointNo(u8)` overload"]
144 fn set_map_point_no(self, value: impl ::core::convert::Into<u8>) -> () {
145 unsafe {
146 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x2d76a10usize)as*mut u8,();
148(HubAreaData)__receiver,(u8)::core::convert::Into::into(value))
149 }
150 }
151 #[doc = "`get_FacilityAidList()` overload"]
152 fn get_facility_aid_list(self) -> ::unity::Array<::unity::Il2CppString> {
153 unsafe {
154 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 ::unity::il2cpp_call!((::unity::module_base()+0x2d76a20usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
156(HubAreaData)__receiver)
157 }
158 }
159 #[doc = "`set_FacilityAidList(::unity::Array<::unity::Il2CppString>)` overload"]
160 fn set_facility_aid_list(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
161 unsafe {
162 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x2d76a30usize)as*mut u8,();
164(HubAreaData)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
165 }
166 }
167 #[doc = "`GetDebugName()` overload"]
168 fn get_debug_name(self) -> ::unity::Il2CppString {
169 unsafe {
170 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 {
172 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
173 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
174 panic!(
175 "unity: virtual slot {}
176 out of range (vtable len {}
177) on the runtime class behind {}
178 (method `{}
179`)",
180 8usize,
181 __vt.len(),
182 <HubAreaData as ::unity::ClassIdentity>::NAME,
183 "GetDebugName",
184 )
185 });
186 let __inner: extern "C" fn(HubAreaData, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
187 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
188 __inner(__receiver, __mi)
189 }
190 }
191 }
192 #[doc = "`.ctor()` overload"]
193 fn ctor(self) -> () {
194 unsafe {
195 let __receiver = <HubAreaData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196 ::unity::il2cpp_call!((::unity::module_base()+0x2d76a50usize)as*mut u8,();
197(HubAreaData)__receiver)
198 }
199 }
200}
201
202#[cfg(feature = "app-hubareadata")]
203impl<__T: IHubAreaData> IHubAreaDataMethods for __T {}
204
205#[cfg(feature = "app-hubareadata")]
206impl HubAreaData {
207 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
208 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
209 }
210
211 pub fn get_aid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
212 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
213 }
214
215 pub fn set_aid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
217 }
218
219 pub fn get_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
221 }
222
223 pub fn set_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
225 }
226
227 pub fn get_condition_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
229 }
230
231 pub fn set_condition_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
233 }
234
235 pub fn get_scene_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
237 }
238
239 pub fn set_scene_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
241 }
242
243 pub fn get_locator_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
245 }
246
247 pub fn set_locator_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
249 }
250
251 pub fn get_mid_h_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
253 }
254
255 pub fn set_mid_h_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
257 }
258
259 pub fn get_map_point_no_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
261 }
262
263 pub fn set_map_point_no_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
265 }
266
267 pub fn get_facility_aid_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
269 }
270
271 pub fn set_facility_aid_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
273 }
274
275 pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
277 }
278
279 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
281 }
282}
283
284#[cfg(feature = "app-hubareadata")]
285impl HubAreaData {
286 #[doc = "Direct (non-virtual) call to `HubAreaData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
287 pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
288 let __mi = Self::get_debug_name_method_info();
289 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
290 __inner(this.into(), ::core::option::Option::None)
291 }
292}
293
294#[cfg(feature = "app-hubareadata")]
295impl HubAreaData {
296 #[doc = "`.ctor()` — no args"]
297 pub fn new() -> Self {
298 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
299 panic!(
300 "{}
301::{}
302 failed to instantiate",
303 ::core::stringify!(HubAreaData),
304 ::core::stringify!(new),
305 )
306 });
307 <Self as IHubAreaDataMethods>::ctor(this);
308 this
309 }
310}
311
312#[cfg(feature = "app-hubareadata")]
313#[doc(hidden)]
314pub mod prelude {
315 pub use super::{HubAreaData, IHubAreaData, IHubAreaDataMethods};
316 #[cfg(feature = "app-structbase")]
317 pub use crate::app::structbase::IStructBaseMethods;
318 #[cfg(feature = "app-structdata_1")]
319 pub use crate::app::structdata_1::IStructData_1Methods;
320 #[cfg(feature = "app-structtemplate_1")]
321 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
322 #[cfg(feature = "system-object")]
323 pub use crate::system::object::IObjectMethods;
324 pub use crate::{
325 app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
326 system::object::IObject,
327 };
328}