engage/generated/app/
hubfortunetellingdata.rs1#[cfg(feature = "app-hubfortunetellingdata-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/hubfortunetellingdata/HubFortuneTellingData.md"))]
18 #[::unity::class(namespace = "App", name = "HubFortuneTellingData")]
19 #[parent(crate::app::structdata_1::StructData_1<crate::app::hubfortunetellingdata::HubFortuneTellingData>)]
20 pub struct HubFortuneTellingData {}
21}
22
23#[cfg(feature = "app-hubfortunetellingdata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-hubfortunetellingdata")]
27impl HubFortuneTellingData {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x28a9f60usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-hubfortunetellingdata")]
38pub trait IHubFortuneTellingDataMethods: IHubFortuneTellingData {
39 #[doc = "`get_ID()` overload"]
40 fn get_id(self) -> ::unity::Il2CppString {
41 unsafe {
42 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x28aa010usize)as*mut u8, ::unity::Il2CppString;
44(HubFortuneTellingData)__receiver)
45 }
46 }
47 #[doc = "`set_ID(::unity::Il2CppString)` overload"]
48 fn set_id(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
49 unsafe {
50 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x28aa020usize)as*mut u8,();
52(HubFortuneTellingData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
53 }
54 }
55 #[doc = "`get_TextureName()` overload"]
56 fn get_texture_name(self) -> ::unity::Il2CppString {
57 unsafe {
58 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x28aa030usize)as*mut u8, ::unity::Il2CppString;
60(HubFortuneTellingData)__receiver)
61 }
62 }
63 #[doc = "`set_TextureName(::unity::Il2CppString)` overload"]
64 fn set_texture_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
65 unsafe {
66 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x28aa040usize)as*mut u8,();
68(HubFortuneTellingData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_PrimaryText()` overload"]
72 fn get_primary_text(self) -> ::unity::Il2CppString {
73 unsafe {
74 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x28aa050usize)as*mut u8, ::unity::Il2CppString;
76(HubFortuneTellingData)__receiver)
77 }
78 }
79 #[doc = "`set_PrimaryText(::unity::Il2CppString)` overload"]
80 fn set_primary_text(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
81 unsafe {
82 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x28aa060usize)as*mut u8,();
84(HubFortuneTellingData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_PrimaryTextEx()` overload"]
88 fn get_primary_text_ex(self) -> ::unity::Il2CppString {
89 unsafe {
90 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x28aa070usize)as*mut u8, ::unity::Il2CppString;
92(HubFortuneTellingData)__receiver)
93 }
94 }
95 #[doc = "`set_PrimaryTextEx(::unity::Il2CppString)` overload"]
96 fn set_primary_text_ex(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
97 unsafe {
98 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x28aa080usize)as*mut u8,();
100(HubFortuneTellingData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_ReverseText()` overload"]
104 fn get_reverse_text(self) -> ::unity::Il2CppString {
105 unsafe {
106 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x28aa090usize)as*mut u8, ::unity::Il2CppString;
108(HubFortuneTellingData)__receiver)
109 }
110 }
111 #[doc = "`set_ReverseText(::unity::Il2CppString)` overload"]
112 fn set_reverse_text(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
113 unsafe {
114 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x28aa0a0usize)as*mut u8,();
116(HubFortuneTellingData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_ReverseTextEx()` overload"]
120 fn get_reverse_text_ex(self) -> ::unity::Il2CppString {
121 unsafe {
122 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x28aa0b0usize)as*mut u8, ::unity::Il2CppString;
124(HubFortuneTellingData)__receiver)
125 }
126 }
127 #[doc = "`set_ReverseTextEx(::unity::Il2CppString)` overload"]
128 fn set_reverse_text_ex(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
129 unsafe {
130 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x28aa0c0usize)as*mut u8,();
132(HubFortuneTellingData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`.ctor()` overload"]
136 fn ctor(self) -> () {
137 unsafe {
138 let __receiver = <HubFortuneTellingData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x28aa0d0usize)as*mut u8,();
140(HubFortuneTellingData)__receiver)
141 }
142 }
143}
144
145#[cfg(feature = "app-hubfortunetellingdata")]
146impl<__T: IHubFortuneTellingData> IHubFortuneTellingDataMethods for __T {}
147
148#[cfg(feature = "app-hubfortunetellingdata")]
149impl HubFortuneTellingData {
150 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
152 }
153
154 pub fn get_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
156 }
157
158 pub fn set_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
160 }
161
162 pub fn get_texture_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
164 }
165
166 pub fn set_texture_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
168 }
169
170 pub fn get_primary_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
172 }
173
174 pub fn set_primary_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
176 }
177
178 pub fn get_primary_text_ex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
180 }
181
182 pub fn set_primary_text_ex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
184 }
185
186 pub fn get_reverse_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
188 }
189
190 pub fn set_reverse_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
192 }
193
194 pub fn get_reverse_text_ex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
196 }
197
198 pub fn set_reverse_text_ex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
200 }
201
202 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
204 }
205}
206
207#[cfg(feature = "app-hubfortunetellingdata")]
208impl HubFortuneTellingData {
209 #[doc = "`.ctor()` — no args"]
210 pub fn new() -> Self {
211 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
212 panic!(
213 "{}
214::{}
215 failed to instantiate",
216 ::core::stringify!(HubFortuneTellingData),
217 ::core::stringify!(new),
218 )
219 });
220 <Self as IHubFortuneTellingDataMethods>::ctor(this);
221 this
222 }
223}
224
225#[cfg(feature = "app-hubfortunetellingdata")]
226#[doc(hidden)]
227pub mod prelude {
228 pub use super::{HubFortuneTellingData, IHubFortuneTellingData, IHubFortuneTellingDataMethods};
229 #[cfg(feature = "app-structbase")]
230 pub use crate::app::structbase::IStructBaseMethods;
231 #[cfg(feature = "app-structdata_1")]
232 pub use crate::app::structdata_1::IStructData_1Methods;
233 #[cfg(feature = "app-structtemplate_1")]
234 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
235 #[cfg(feature = "system-object")]
236 pub use crate::system::object::IObjectMethods;
237 pub use crate::{
238 app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
239 system::object::IObject,
240 };
241}