Skip to main content

engage/generated/app/
hubfacilitydata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-hubfacilitydata-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/hubfacilitydata/HubFacilityData.md"))]
18    #[::unity::class(namespace = "App", name = "HubFacilityData")]
19    #[parent(crate::app::structdata_1::StructData_1<crate::app::hubfacilitydata::HubFacilityData>)]
20    pub struct HubFacilityData {}
21}
22
23#[cfg(feature = "app-hubfacilitydata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubfacilitydata")]
27impl HubFacilityData {
28    #[doc = "`Load()` overload"]
29    pub fn load() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x28a7840usize)as*mut u8,();
32            )
33        }
34    }
35}
36
37#[cfg(feature = "app-hubfacilitydata")]
38pub trait IHubFacilityDataMethods: IHubFacilityData {
39    #[doc = "`get_AID()` overload"]
40    fn get_aid(self) -> ::unity::Il2CppString {
41        unsafe {
42            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x28a78f0usize)as*mut u8, ::unity::Il2CppString;
44(HubFacilityData)__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 = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51            ::unity::il2cpp_call!((::unity::module_base()+0x28a7900usize)as*mut u8,();
52(HubFacilityData)__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 = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59            ::unity::il2cpp_call!((::unity::module_base()+0x28a7910usize)as*mut u8, ::unity::Il2CppString;
60(HubFacilityData)__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 = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67            ::unity::il2cpp_call!((::unity::module_base()+0x28a7920usize)as*mut u8,();
68(HubFacilityData)__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 = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75            ::unity::il2cpp_call!((::unity::module_base()+0x28a7930usize)as*mut u8, ::unity::Il2CppString;
76(HubFacilityData)__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 = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83            ::unity::il2cpp_call!((::unity::module_base()+0x28a7940usize)as*mut u8,();
84(HubFacilityData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
85        }
86    }
87    #[doc = "`get_IconName()` overload"]
88    fn get_icon_name(self) -> ::unity::Il2CppString {
89        unsafe {
90            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91            ::unity::il2cpp_call!((::unity::module_base()+0x28a7950usize)as*mut u8, ::unity::Il2CppString;
92(HubFacilityData)__receiver)
93        }
94    }
95    #[doc = "`set_IconName(::unity::Il2CppString)` overload"]
96    fn set_icon_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
97        unsafe {
98            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99            ::unity::il2cpp_call!((::unity::module_base()+0x28a7960usize)as*mut u8,();
100(HubFacilityData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
101        }
102    }
103    #[doc = "`GetDebugName()` overload"]
104    fn get_debug_name(self) -> ::unity::Il2CppString {
105        unsafe {
106            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107            {
108                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
109                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
110                    panic!(
111                        "unity: virtual slot {}
112 out of range (vtable len {}
113) on the runtime class behind {}
114 (method `{}
115`)",
116                        8usize,
117                        __vt.len(),
118                        <HubFacilityData as ::unity::ClassIdentity>::NAME,
119                        "GetDebugName",
120                    )
121                });
122                let __inner: extern "C" fn(HubFacilityData, ::unity::OptionalMethod) -> ::unity::Il2CppString =
123                    ::core::mem::transmute(__vi.method_ptr);
124                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
125                __inner(__receiver, __mi)
126            }
127        }
128    }
129    #[doc = "`GetPrefixlessAid()` overload"]
130    fn get_prefixless_aid(self) -> ::unity::Il2CppString {
131        unsafe {
132            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
133            ::unity::il2cpp_call!((::unity::module_base()+0x28a7980usize)as*mut u8, ::unity::Il2CppString;
134(HubFacilityData)__receiver)
135        }
136    }
137    #[doc = "`GetFirstAccessFlag()` overload"]
138    fn get_first_access_flag(self) -> ::unity::Il2CppString {
139        unsafe {
140            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
141            ::unity::il2cpp_call!((::unity::module_base()+0x28a7990usize)as*mut u8, ::unity::Il2CppString;
142(HubFacilityData)__receiver)
143        }
144    }
145    #[doc = "`IsFirstAccessFlag()` overload"]
146    fn is_first_access_flag(self) -> bool {
147        unsafe {
148            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
149            ::unity::il2cpp_call!((::unity::module_base()+0x28a7a00usize)as*mut u8,bool;
150(HubFacilityData)__receiver)
151        }
152    }
153    #[doc = "`SetFirstAccessFlag()` overload"]
154    fn set_first_access_flag(self) -> () {
155        unsafe {
156            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
157            ::unity::il2cpp_call!((::unity::module_base()+0x28a7b30usize)as*mut u8,();
158(HubFacilityData)__receiver)
159        }
160    }
161    #[doc = "`ResetFirstAccessFlag()` overload"]
162    fn reset_first_access_flag(self) -> () {
163        unsafe {
164            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
165            ::unity::il2cpp_call!((::unity::module_base()+0x28a7e00usize)as*mut u8,();
166(HubFacilityData)__receiver)
167        }
168    }
169    #[doc = "`IsComplete()` overload"]
170    fn is_complete(self) -> bool {
171        unsafe {
172            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
173            ::unity::il2cpp_call!((::unity::module_base()+0x28a80d0usize)as*mut u8,bool;
174(HubFacilityData)__receiver)
175        }
176    }
177    #[doc = "`.ctor()` overload"]
178    fn ctor(self) -> () {
179        unsafe {
180            let __receiver = <HubFacilityData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
181            ::unity::il2cpp_call!((::unity::module_base()+0x28a83b0usize)as*mut u8,();
182(HubFacilityData)__receiver)
183        }
184    }
185}
186
187#[cfg(feature = "app-hubfacilitydata")]
188impl<__T: IHubFacilityData> IHubFacilityDataMethods for __T {}
189
190#[cfg(feature = "app-hubfacilitydata")]
191impl HubFacilityData {
192    pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
193        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
194    }
195
196    pub fn get_aid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
197        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
198    }
199
200    pub fn set_aid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
201        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
202    }
203
204    pub fn get_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
205        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
206    }
207
208    pub fn set_mid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
209        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
210    }
211
212    pub fn get_condition_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
213        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
214    }
215
216    pub fn set_condition_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
217        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
218    }
219
220    pub fn get_icon_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
221        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
222    }
223
224    pub fn set_icon_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
225        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
226    }
227
228    pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
229        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
230    }
231
232    pub fn get_prefixless_aid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
233        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
234    }
235
236    pub fn get_first_access_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
237        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
238    }
239
240    pub fn is_first_access_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
241        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
242    }
243
244    pub fn set_first_access_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
245        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
246    }
247
248    pub fn reset_first_access_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
249        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
250    }
251
252    pub fn is_complete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
253        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
254    }
255
256    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
257        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
258    }
259}
260
261#[cfg(feature = "app-hubfacilitydata")]
262impl HubFacilityData {
263    #[doc = "Direct (non-virtual) call to `HubFacilityData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
264    pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
265        let __mi = Self::get_debug_name_method_info();
266        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
267        __inner(this.into(), ::core::option::Option::None)
268    }
269}
270
271#[cfg(feature = "app-hubfacilitydata")]
272impl HubFacilityData {
273    #[doc = "`.ctor()` — no args"]
274    pub fn new() -> Self {
275        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
276            panic!(
277                "{}
278::{}
279 failed to instantiate",
280                ::core::stringify!(HubFacilityData),
281                ::core::stringify!(new),
282            )
283        });
284        <Self as IHubFacilityDataMethods>::ctor(this);
285        this
286    }
287}
288
289#[cfg(feature = "app-hubfacilitydata")]
290#[doc(hidden)]
291pub mod prelude {
292    pub use super::{HubFacilityData, IHubFacilityData, IHubFacilityDataMethods};
293    #[cfg(feature = "app-structbase")]
294    pub use crate::app::structbase::IStructBaseMethods;
295    #[cfg(feature = "app-structdata_1")]
296    pub use crate::app::structdata_1::IStructData_1Methods;
297    #[cfg(feature = "app-structtemplate_1")]
298    pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
299    #[cfg(feature = "system-object")]
300    pub use crate::system::object::IObjectMethods;
301    pub use crate::{
302        app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
303        system::object::IObject,
304    };
305}