engage/generated/app/
hubdemodata.rs1#[cfg(feature = "app-hubdemodata-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/hubdemodata/HubDemoData.md"))]
18 #[::unity::class(namespace = "App", name = "HubDemoData")]
19 #[parent(crate::app::structdata_1::StructData_1<crate::app::hubdemodata::HubDemoData>)]
20 pub struct HubDemoData {}
21}
22
23#[cfg(feature = "app-hubdemodata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubdemodata")]
27impl HubDemoData {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x2d87c00usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-hubdemodata")]
38pub trait IHubDemoDataMethods: IHubDemoData {
39 #[doc = "`get_Locator()` overload"]
40 fn get_locator(self) -> ::unity::Il2CppString {
41 unsafe {
42 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x2d87cb0usize)as*mut u8, ::unity::Il2CppString;
44(HubDemoData)__receiver)
45 }
46 }
47 #[doc = "`set_Locator(::unity::Il2CppString)` overload"]
48 fn set_locator(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49 unsafe {
50 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x2d87cc0usize)as*mut u8,();
52(HubDemoData)__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 = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x2d87cd0usize)as*mut u8, ::unity::Il2CppString;
60(HubDemoData)__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 = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x2d87ce0usize)as*mut u8,();
68(HubDemoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_CameraName()` overload"]
72 fn get_camera_name(self) -> ::unity::Il2CppString {
73 unsafe {
74 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x2d87cf0usize)as*mut u8, ::unity::Il2CppString;
76(HubDemoData)__receiver)
77 }
78 }
79 #[doc = "`set_CameraName(::unity::Il2CppString)` overload"]
80 fn set_camera_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
81 unsafe {
82 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d00usize)as*mut u8,();
84(HubDemoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_Tutorial()` overload"]
88 fn get_tutorial(self) -> ::unity::Il2CppString {
89 unsafe {
90 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d10usize)as*mut u8, ::unity::Il2CppString;
92(HubDemoData)__receiver)
93 }
94 }
95 #[doc = "`set_Tutorial(::unity::Il2CppString)` overload"]
96 fn set_tutorial(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
97 unsafe {
98 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d20usize)as*mut u8,();
100(HubDemoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_Condition()` overload"]
104 fn get_condition(self) -> ::unity::Il2CppString {
105 unsafe {
106 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d30usize)as*mut u8, ::unity::Il2CppString;
108(HubDemoData)__receiver)
109 }
110 }
111 #[doc = "`set_Condition(::unity::Il2CppString)` overload"]
112 fn set_condition(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
113 unsafe {
114 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d40usize)as*mut u8,();
116(HubDemoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_Timezone()` overload"]
120 fn get_timezone(self) -> i32 {
121 unsafe {
122 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d50usize)as*mut u8,i32;
124(HubDemoData)__receiver)
125 }
126 }
127 #[doc = "`set_Timezone(i32)` overload"]
128 fn set_timezone(self, value: impl ::core::convert::Into<i32>) -> () {
129 unsafe {
130 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d60usize)as*mut u8,();
132(HubDemoData)__receiver,(i32)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`get_FlagName()` overload"]
136 fn get_flag_name(self) -> ::unity::Il2CppString {
137 unsafe {
138 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d70usize)as*mut u8, ::unity::Il2CppString;
140(HubDemoData)__receiver)
141 }
142 }
143 #[doc = "`set_FlagName(::unity::Il2CppString)` overload"]
144 fn set_flag_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
145 unsafe {
146 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d80usize)as*mut u8,();
148(HubDemoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
149 }
150 }
151 #[doc = "`get_ManualCullingName()` overload"]
152 fn get_manual_culling_name(self) -> ::unity::Il2CppString {
153 unsafe {
154 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 ::unity::il2cpp_call!((::unity::module_base()+0x2d87d90usize)as*mut u8, ::unity::Il2CppString;
156(HubDemoData)__receiver)
157 }
158 }
159 #[doc = "`set_ManualCullingName(::unity::Il2CppString)` overload"]
160 fn set_manual_culling_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
161 unsafe {
162 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x2d87da0usize)as*mut u8,();
164(HubDemoData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
165 }
166 }
167 #[doc = "`get_LodBias()` overload"]
168 fn get_lod_bias(self) -> f32 {
169 unsafe {
170 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x2d87db0usize)as*mut u8,f32;
172(HubDemoData)__receiver)
173 }
174 }
175 #[doc = "`set_LodBias(f32)` overload"]
176 fn set_lod_bias(self, value: impl ::core::convert::Into<f32>) -> () {
177 unsafe {
178 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179 ::unity::il2cpp_call!((::unity::module_base()+0x2d87dc0usize)as*mut u8,();
180(HubDemoData)__receiver,(f32)::core::convert::Into::into(value))
181 }
182 }
183 #[doc = "`get_IsDisabledLodCrossfadeAnime()` overload"]
184 fn get_is_disabled_lod_crossfade_anime(self) -> bool {
185 unsafe {
186 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x2d87dd0usize)as*mut u8,bool;
188(HubDemoData)__receiver)
189 }
190 }
191 #[doc = "`set_IsDisabledLodCrossfadeAnime(bool)` overload"]
192 fn set_is_disabled_lod_crossfade_anime(self, value: impl ::core::convert::Into<bool>) -> () {
193 unsafe {
194 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 ::unity::il2cpp_call!((::unity::module_base()+0x2d87de0usize)as*mut u8,();
196(HubDemoData)__receiver,(bool)::core::convert::Into::into(value))
197 }
198 }
199 #[doc = "`GetDebugName()` overload"]
200 fn get_debug_name(self) -> ::unity::Il2CppString {
201 unsafe {
202 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 {
204 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
205 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
206 panic!(
207 "unity: virtual slot {}
208 out of range (vtable len {}
209) on the runtime class behind {}
210 (method `{}
211`)",
212 8usize,
213 __vt.len(),
214 <HubDemoData as ::unity::ClassIdentity>::NAME,
215 "GetDebugName",
216 )
217 });
218 let __inner: extern "C" fn(HubDemoData, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
219 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
220 __inner(__receiver, __mi)
221 }
222 }
223 }
224 #[doc = "`.ctor()` overload"]
225 fn ctor(self) -> () {
226 unsafe {
227 let __receiver = <HubDemoData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
228 ::unity::il2cpp_call!((::unity::module_base()+0x2d87e00usize)as*mut u8,();
229(HubDemoData)__receiver)
230 }
231 }
232}
233
234#[cfg(feature = "app-hubdemodata")]
235impl<__T: IHubDemoData> IHubDemoDataMethods for __T {}
236
237#[cfg(feature = "app-hubdemodata")]
238impl HubDemoData {
239 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
241 }
242
243 pub fn get_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
245 }
246
247 pub fn set_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
249 }
250
251 pub fn get_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
253 }
254
255 pub fn set_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
257 }
258
259 pub fn get_camera_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
261 }
262
263 pub fn set_camera_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
265 }
266
267 pub fn get_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
269 }
270
271 pub fn set_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
273 }
274
275 pub fn get_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
277 }
278
279 pub fn set_condition_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
281 }
282
283 pub fn get_timezone_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
285 }
286
287 pub fn set_timezone_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
289 }
290
291 pub fn get_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
293 }
294
295 pub fn set_flag_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
297 }
298
299 pub fn get_manual_culling_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
301 }
302
303 pub fn set_manual_culling_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
305 }
306
307 pub fn get_lod_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
309 }
310
311 pub fn set_lod_bias_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
313 }
314
315 pub fn get_is_disabled_lod_crossfade_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
317 }
318
319 pub fn set_is_disabled_lod_crossfade_anime_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
321 }
322
323 pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
325 }
326
327 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
328 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
329 }
330}
331
332#[cfg(feature = "app-hubdemodata")]
333impl HubDemoData {
334 #[doc = "Direct (non-virtual) call to `HubDemoData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
335 pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
336 let __mi = Self::get_debug_name_method_info();
337 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
338 __inner(this.into(), ::core::option::Option::None)
339 }
340}
341
342#[cfg(feature = "app-hubdemodata")]
343impl HubDemoData {
344 #[doc = "`.ctor()` — no args"]
345 pub fn new() -> Self {
346 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
347 panic!(
348 "{}
349::{}
350 failed to instantiate",
351 ::core::stringify!(HubDemoData),
352 ::core::stringify!(new),
353 )
354 });
355 <Self as IHubDemoDataMethods>::ctor(this);
356 this
357 }
358}
359
360#[cfg(feature = "app-hubdemodata")]
361#[doc(hidden)]
362pub mod prelude {
363 pub use super::{HubDemoData, IHubDemoData, IHubDemoDataMethods};
364 #[cfg(feature = "app-structbase")]
365 pub use crate::app::structbase::IStructBaseMethods;
366 #[cfg(feature = "app-structdata_1")]
367 pub use crate::app::structdata_1::IStructData_1Methods;
368 #[cfg(feature = "app-structtemplate_1")]
369 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
370 #[cfg(feature = "system-object")]
371 pub use crate::system::object::IObjectMethods;
372 pub use crate::{
373 app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
374 system::object::IObject,
375 };
376}