engage/generated/app/
hubmovedata.rs1#[cfg(feature = "app-hubmovedata-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 structbase::{IStructBase, StructBase},
11 structdataarray_1::{IStructDataArray_1, StructDataArray_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/hubmovedata/HubMoveData.md"))]
18 #[::unity::class(namespace = "App", name = "HubMoveData")]
19 #[parent(crate::app::structdataarray_1::StructDataArray_1<crate::app::hubmovedata::HubMoveData>)]
20 pub struct HubMoveData {}
21}
22
23#[cfg(feature = "app-hubmovedata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubmovedata")]
27impl HubMoveData {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x28bf780usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-hubmovedata")]
38pub trait IHubMoveDataMethods: IHubMoveData {
39 #[doc = "`get_MoveType()` overload"]
40 fn get_move_type(self) -> ::unity::Il2CppString {
41 unsafe {
42 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x28bf830usize)as*mut u8, ::unity::Il2CppString;
44(HubMoveData)__receiver)
45 }
46 }
47 #[doc = "`set_MoveType(::unity::Il2CppString)` overload"]
48 fn set_move_type(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49 unsafe {
50 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x28bf840usize)as*mut u8,();
52(HubMoveData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
53 }
54 }
55 #[doc = "`get_Locator()` overload"]
56 fn get_locator(self) -> ::unity::Il2CppString {
57 unsafe {
58 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x28bf850usize)as*mut u8, ::unity::Il2CppString;
60(HubMoveData)__receiver)
61 }
62 }
63 #[doc = "`set_Locator(::unity::Il2CppString)` overload"]
64 fn set_locator(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
65 unsafe {
66 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x28bf860usize)as*mut u8,();
68(HubMoveData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_BodyName()` overload"]
72 fn get_body_name(self) -> ::unity::Il2CppString {
73 unsafe {
74 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x28bf870usize)as*mut u8, ::unity::Il2CppString;
76(HubMoveData)__receiver)
77 }
78 }
79 #[doc = "`set_BodyName(::unity::Il2CppString)` overload"]
80 fn set_body_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
81 unsafe {
82 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x28bf880usize)as*mut u8,();
84(HubMoveData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_FaceName()` overload"]
88 fn get_face_name(self) -> ::unity::Il2CppString {
89 unsafe {
90 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x28bf890usize)as*mut u8, ::unity::Il2CppString;
92(HubMoveData)__receiver)
93 }
94 }
95 #[doc = "`set_FaceName(::unity::Il2CppString)` overload"]
96 fn set_face_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
97 unsafe {
98 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x28bf8a0usize)as*mut u8,();
100(HubMoveData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_IsTurn()` overload"]
104 fn get_is_turn(self) -> bool {
105 unsafe {
106 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x28bf8b0usize)as*mut u8,bool;
108(HubMoveData)__receiver)
109 }
110 }
111 #[doc = "`set_IsTurn(bool)` overload"]
112 fn set_is_turn(self, value: impl ::core::convert::Into<bool>) -> () {
113 unsafe {
114 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x28bf8c0usize)as*mut u8,();
116(HubMoveData)__receiver,(bool)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_StartSec()` overload"]
120 fn get_start_sec(self) -> f32 {
121 unsafe {
122 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x28bf8d0usize)as*mut u8,f32;
124(HubMoveData)__receiver)
125 }
126 }
127 #[doc = "`set_StartSec(f32)` overload"]
128 fn set_start_sec(self, value: impl ::core::convert::Into<f32>) -> () {
129 unsafe {
130 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x28bf8e0usize)as*mut u8,();
132(HubMoveData)__receiver,(f32)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`get_EndSec()` overload"]
136 fn get_end_sec(self) -> f32 {
137 unsafe {
138 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x28bf8f0usize)as*mut u8,f32;
140(HubMoveData)__receiver)
141 }
142 }
143 #[doc = "`set_EndSec(f32)` overload"]
144 fn set_end_sec(self, value: impl ::core::convert::Into<f32>) -> () {
145 unsafe {
146 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x28bf900usize)as*mut u8,();
148(HubMoveData)__receiver,(f32)::core::convert::Into::into(value))
149 }
150 }
151 #[doc = "`get_MoveSpeed()` overload"]
152 fn get_move_speed(self) -> f32 {
153 unsafe {
154 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 ::unity::il2cpp_call!((::unity::module_base()+0x28bf910usize)as*mut u8,f32;
156(HubMoveData)__receiver)
157 }
158 }
159 #[doc = "`set_MoveSpeed(f32)` overload"]
160 fn set_move_speed(self, value: impl ::core::convert::Into<f32>) -> () {
161 unsafe {
162 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x28bf920usize)as*mut u8,();
164(HubMoveData)__receiver,(f32)::core::convert::Into::into(value))
165 }
166 }
167 #[doc = "`get_MoveSec()` overload"]
168 fn get_move_sec(self) -> ::unity::Il2CppString {
169 unsafe {
170 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x28bf930usize)as*mut u8, ::unity::Il2CppString;
172(HubMoveData)__receiver)
173 }
174 }
175 #[doc = "`set_MoveSec(::unity::Il2CppString)` overload"]
176 fn set_move_sec(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
177 unsafe {
178 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179 ::unity::il2cpp_call!((::unity::module_base()+0x28bf940usize)as*mut u8,();
180(HubMoveData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
181 }
182 }
183 #[doc = "`OnBuild()` overload"]
184 fn on_build(self) -> () {
185 unsafe {
186 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 {
188 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
189 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
190 panic!(
191 "unity: virtual slot {}
192 out of range (vtable len {}
193) on the runtime class behind {}
194 (method `{}
195`)",
196 4usize,
197 __vt.len(),
198 <HubMoveData as ::unity::ClassIdentity>::NAME,
199 "OnBuild",
200 )
201 });
202 let __inner: extern "C" fn(HubMoveData, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
203 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
204 __inner(__receiver, __mi)
205 }
206 }
207 }
208 #[doc = "`GetDebugName()` overload"]
209 fn get_debug_name(self) -> ::unity::Il2CppString {
210 unsafe {
211 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
212 {
213 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
214 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
215 panic!(
216 "unity: virtual slot {}
217 out of range (vtable len {}
218) on the runtime class behind {}
219 (method `{}
220`)",
221 8usize,
222 __vt.len(),
223 <HubMoveData as ::unity::ClassIdentity>::NAME,
224 "GetDebugName",
225 )
226 });
227 let __inner: extern "C" fn(HubMoveData, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
228 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
229 __inner(__receiver, __mi)
230 }
231 }
232 }
233 #[doc = "`.ctor()` overload"]
234 fn ctor(self) -> () {
235 unsafe {
236 let __receiver = <HubMoveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
237 ::unity::il2cpp_call!((::unity::module_base()+0x28bfa40usize)as*mut u8,();
238(HubMoveData)__receiver)
239 }
240 }
241}
242
243#[cfg(feature = "app-hubmovedata")]
244impl<__T: IHubMoveData> IHubMoveDataMethods for __T {}
245
246#[cfg(feature = "app-hubmovedata")]
247impl HubMoveData {
248 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
250 }
251
252 pub fn get_move_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
254 }
255
256 pub fn set_move_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
258 }
259
260 pub fn get_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
261 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
262 }
263
264 pub fn set_locator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
265 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
266 }
267
268 pub fn get_body_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
269 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
270 }
271
272 pub fn set_body_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
273 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
274 }
275
276 pub fn get_face_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
277 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
278 }
279
280 pub fn set_face_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
281 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
282 }
283
284 pub fn get_is_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
285 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
286 }
287
288 pub fn set_is_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
289 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
290 }
291
292 pub fn get_start_sec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
293 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
294 }
295
296 pub fn set_start_sec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
297 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
298 }
299
300 pub fn get_end_sec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
301 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
302 }
303
304 pub fn set_end_sec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
305 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
306 }
307
308 pub fn get_move_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
309 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
310 }
311
312 pub fn set_move_speed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
313 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
314 }
315
316 pub fn get_move_sec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
317 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
318 }
319
320 pub fn set_move_sec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
321 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
322 }
323
324 pub fn on_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
326 }
327
328 pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
330 }
331
332 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
334 }
335}
336
337#[cfg(feature = "app-hubmovedata")]
338impl HubMoveData {
339 #[doc = "Direct (non-virtual) call to `HubMoveData`'s own `OnBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
340 pub unsafe fn on_build(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
341 let __mi = Self::on_build_method_info();
342 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
343 __inner(this.into(), ::core::option::Option::None)
344 }
345
346 #[doc = "Direct (non-virtual) call to `HubMoveData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
347 pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
348 let __mi = Self::get_debug_name_method_info();
349 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
350 __inner(this.into(), ::core::option::Option::None)
351 }
352}
353
354#[cfg(feature = "app-hubmovedata")]
355impl HubMoveData {
356 #[doc = "`.ctor()` — no args"]
357 pub fn new() -> Self {
358 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
359 panic!(
360 "{}
361::{}
362 failed to instantiate",
363 ::core::stringify!(HubMoveData),
364 ::core::stringify!(new),
365 )
366 });
367 <Self as IHubMoveDataMethods>::ctor(this);
368 this
369 }
370}
371
372#[cfg(feature = "app-hubmovedata")]
373#[doc(hidden)]
374pub mod prelude {
375 pub use super::{HubMoveData, IHubMoveData, IHubMoveDataMethods};
376 #[cfg(feature = "app-structbase")]
377 pub use crate::app::structbase::IStructBaseMethods;
378 #[cfg(feature = "app-structdataarray_1")]
379 pub use crate::app::structdataarray_1::IStructDataArray_1Methods;
380 #[cfg(feature = "app-structtemplate_1")]
381 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
382 #[cfg(feature = "system-object")]
383 pub use crate::system::object::IObjectMethods;
384 pub use crate::{
385 app::{structbase::IStructBase, structdataarray_1::IStructDataArray_1, structtemplate_1::IStructTemplate_1},
386 system::object::IObject,
387 };
388}