engage/generated/app/
dragonrideprizedata.rs1#[cfg(feature = "app-dragonrideprizedata-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/dragonrideprizedata/DragonRidePrizeData.md"))]
18 #[::unity::class(namespace = "App", name = "DragonRidePrizeData")]
19 #[parent(crate::app::structdata_1::StructData_1<crate::app::dragonrideprizedata::DragonRidePrizeData>)]
20 pub struct DragonRidePrizeData {}
21}
22
23#[cfg(feature = "app-dragonrideprizedata-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-dragonrideprizedata")]
27impl DragonRidePrizeData {
28 #[doc = "`Load()` overload"]
29 pub fn load() -> () {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3740usize)as*mut u8,();
32 )
33 }
34 }
35}
36
37#[cfg(feature = "app-dragonrideprizedata")]
38pub trait IDragonRidePrizeDataMethods: IDragonRidePrizeData {
39 #[doc = "`get_ItemList()` overload"]
40 fn get_item_list(self) -> ::unity::Array<::unity::Il2CppString> {
41 unsafe {
42 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3560usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
44(DragonRidePrizeData)__receiver)
45 }
46 }
47 #[doc = "`set_ItemList(::unity::Array<::unity::Il2CppString>)` overload"]
48 fn set_item_list(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
49 unsafe {
50 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3570usize)as*mut u8,();
52(DragonRidePrizeData)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
53 }
54 }
55 #[doc = "`get_Group()` overload"]
56 fn get_group(self) -> ::unity::Il2CppString {
57 unsafe {
58 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3580usize)as*mut u8, ::unity::Il2CppString;
60(DragonRidePrizeData)__receiver)
61 }
62 }
63 #[doc = "`set_Group(::unity::Il2CppString)` overload"]
64 fn set_group(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
65 unsafe {
66 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3590usize)as*mut u8,();
68(DragonRidePrizeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
69 }
70 }
71 #[doc = "`get_PieceOfBond()` overload"]
72 fn get_piece_of_bond(self) -> i32 {
73 unsafe {
74 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75 ::unity::il2cpp_call!((::unity::module_base()+0x2ad35a0usize)as*mut u8,i32;
76(DragonRidePrizeData)__receiver)
77 }
78 }
79 #[doc = "`set_PieceOfBond(i32)` overload"]
80 fn set_piece_of_bond(self, value: impl ::core::convert::Into<i32>) -> () {
81 unsafe {
82 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
83 ::unity::il2cpp_call!((::unity::module_base()+0x2ad35b0usize)as*mut u8,();
84(DragonRidePrizeData)__receiver,(i32)::core::convert::Into::into(value))
85 }
86 }
87 #[doc = "`get_ItemCount()` overload"]
88 fn get_item_count(self) -> i32 {
89 unsafe {
90 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
91 ::unity::il2cpp_call!((::unity::module_base()+0x2ad35c0usize)as*mut u8,i32;
92(DragonRidePrizeData)__receiver)
93 }
94 }
95 #[doc = "`set_ItemCount(i32)` overload"]
96 fn set_item_count(self, value: impl ::core::convert::Into<i32>) -> () {
97 unsafe {
98 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
99 ::unity::il2cpp_call!((::unity::module_base()+0x2ad35d0usize)as*mut u8,();
100(DragonRidePrizeData)__receiver,(i32)::core::convert::Into::into(value))
101 }
102 }
103 #[doc = "`get_Item1()` overload"]
104 fn get_item1(self) -> ::unity::Il2CppString {
105 unsafe {
106 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
107 ::unity::il2cpp_call!((::unity::module_base()+0x2ad35e0usize)as*mut u8, ::unity::Il2CppString;
108(DragonRidePrizeData)__receiver)
109 }
110 }
111 #[doc = "`set_Item1(::unity::Il2CppString)` overload"]
112 fn set_item1(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
113 unsafe {
114 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
115 ::unity::il2cpp_call!((::unity::module_base()+0x2ad35f0usize)as*mut u8,();
116(DragonRidePrizeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
117 }
118 }
119 #[doc = "`get_Item2()` overload"]
120 fn get_item2(self) -> ::unity::Il2CppString {
121 unsafe {
122 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3600usize)as*mut u8, ::unity::Il2CppString;
124(DragonRidePrizeData)__receiver)
125 }
126 }
127 #[doc = "`set_Item2(::unity::Il2CppString)` overload"]
128 fn set_item2(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
129 unsafe {
130 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
131 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3610usize)as*mut u8,();
132(DragonRidePrizeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
133 }
134 }
135 #[doc = "`get_Item3()` overload"]
136 fn get_item3(self) -> ::unity::Il2CppString {
137 unsafe {
138 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
139 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3620usize)as*mut u8, ::unity::Il2CppString;
140(DragonRidePrizeData)__receiver)
141 }
142 }
143 #[doc = "`set_Item3(::unity::Il2CppString)` overload"]
144 fn set_item3(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
145 unsafe {
146 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
147 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3630usize)as*mut u8,();
148(DragonRidePrizeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
149 }
150 }
151 #[doc = "`get_Item4()` overload"]
152 fn get_item4(self) -> ::unity::Il2CppString {
153 unsafe {
154 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
155 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3640usize)as*mut u8, ::unity::Il2CppString;
156(DragonRidePrizeData)__receiver)
157 }
158 }
159 #[doc = "`set_Item4(::unity::Il2CppString)` overload"]
160 fn set_item4(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
161 unsafe {
162 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3650usize)as*mut u8,();
164(DragonRidePrizeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
165 }
166 }
167 #[doc = "`get_Item5()` overload"]
168 fn get_item5(self) -> ::unity::Il2CppString {
169 unsafe {
170 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
171 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3660usize)as*mut u8, ::unity::Il2CppString;
172(DragonRidePrizeData)__receiver)
173 }
174 }
175 #[doc = "`set_Item5(::unity::Il2CppString)` overload"]
176 fn set_item5(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
177 unsafe {
178 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
179 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3670usize)as*mut u8,();
180(DragonRidePrizeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
181 }
182 }
183 #[doc = "`get_Item6()` overload"]
184 fn get_item6(self) -> ::unity::Il2CppString {
185 unsafe {
186 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3680usize)as*mut u8, ::unity::Il2CppString;
188(DragonRidePrizeData)__receiver)
189 }
190 }
191 #[doc = "`set_Item6(::unity::Il2CppString)` overload"]
192 fn set_item6(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
193 unsafe {
194 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195 ::unity::il2cpp_call!((::unity::module_base()+0x2ad3690usize)as*mut u8,();
196(DragonRidePrizeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
197 }
198 }
199 #[doc = "`get_ItemTypeCount()` overload"]
200 fn get_item_type_count(self) -> i32 {
201 unsafe {
202 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
203 ::unity::il2cpp_call!((::unity::module_base()+0x2ad36a0usize)as*mut u8,i32;
204(DragonRidePrizeData)__receiver)
205 }
206 }
207 #[doc = "`set_ItemTypeCount(i32)` overload"]
208 fn set_item_type_count(self, value: impl ::core::convert::Into<i32>) -> () {
209 unsafe {
210 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
211 ::unity::il2cpp_call!((::unity::module_base()+0x2ad36b0usize)as*mut u8,();
212(DragonRidePrizeData)__receiver,(i32)::core::convert::Into::into(value))
213 }
214 }
215 #[doc = "`.ctor()` overload"]
216 fn ctor(self) -> () {
217 unsafe {
218 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
219 ::unity::il2cpp_call!((::unity::module_base()+0x2ad36c0usize)as*mut u8,();
220(DragonRidePrizeData)__receiver)
221 }
222 }
223 #[doc = "`OnBuild()` overload"]
224 fn on_build(self) -> () {
225 unsafe {
226 let __receiver = <DragonRidePrizeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
227 {
228 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
229 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
230 panic!(
231 "unity: virtual slot {}
232 out of range (vtable len {}
233) on the runtime class behind {}
234 (method `{}
235`)",
236 4usize,
237 __vt.len(),
238 <DragonRidePrizeData as ::unity::ClassIdentity>::NAME,
239 "OnBuild",
240 )
241 });
242 let __inner: extern "C" fn(DragonRidePrizeData, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
243 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
244 __inner(__receiver, __mi)
245 }
246 }
247 }
248}
249
250#[cfg(feature = "app-dragonrideprizedata")]
251impl<__T: IDragonRidePrizeData> IDragonRidePrizeDataMethods for __T {}
252
253#[cfg(feature = "app-dragonrideprizedata")]
254impl DragonRidePrizeData {
255 pub fn get_item_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
257 }
258
259 pub fn set_item_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
261 }
262
263 pub fn get_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
265 }
266
267 pub fn set_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
269 }
270
271 pub fn get_piece_of_bond_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
273 }
274
275 pub fn set_piece_of_bond_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
277 }
278
279 pub fn get_item_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
281 }
282
283 pub fn set_item_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
285 }
286
287 pub fn get_item1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
289 }
290
291 pub fn set_item1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
293 }
294
295 pub fn get_item2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
297 }
298
299 pub fn set_item2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
301 }
302
303 pub fn get_item3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
304 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
305 }
306
307 pub fn set_item3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
308 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
309 }
310
311 pub fn get_item4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
312 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
313 }
314
315 pub fn set_item4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
316 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
317 }
318
319 pub fn get_item5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
320 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
321 }
322
323 pub fn set_item5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
324 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
325 }
326
327 pub fn get_item6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
328 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
329 }
330
331 pub fn set_item6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
332 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
333 }
334
335 pub fn get_item_type_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
336 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
337 }
338
339 pub fn set_item_type_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
340 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
341 }
342
343 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
344 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
345 }
346
347 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
348 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
349 }
350
351 pub fn on_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
352 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
353 }
354}
355
356#[cfg(feature = "app-dragonrideprizedata")]
357impl DragonRidePrizeData {
358 #[doc = "Direct (non-virtual) call to `DragonRidePrizeData`'s own `OnBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
359 pub unsafe fn on_build(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
360 let __mi = Self::on_build_method_info();
361 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
362 __inner(this.into(), ::core::option::Option::None)
363 }
364}
365
366#[cfg(feature = "app-dragonrideprizedata")]
367impl DragonRidePrizeData {
368 #[doc = "`.ctor()` — no args"]
369 pub fn new() -> Self {
370 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
371 panic!(
372 "{}
373::{}
374 failed to instantiate",
375 ::core::stringify!(DragonRidePrizeData),
376 ::core::stringify!(new),
377 )
378 });
379 <Self as IDragonRidePrizeDataMethods>::ctor(this);
380 this
381 }
382}
383
384#[cfg(feature = "app-dragonrideprizedata")]
385#[doc(hidden)]
386pub mod prelude {
387 pub use super::{DragonRidePrizeData, IDragonRidePrizeData, IDragonRidePrizeDataMethods};
388 #[cfg(feature = "app-structbase")]
389 pub use crate::app::structbase::IStructBaseMethods;
390 #[cfg(feature = "app-structdata_1")]
391 pub use crate::app::structdata_1::IStructData_1Methods;
392 #[cfg(feature = "app-structtemplate_1")]
393 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
394 #[cfg(feature = "system-object")]
395 pub use crate::system::object::IObjectMethods;
396 pub use crate::{
397 app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
398 system::object::IObject,
399 };
400}