1#[cfg(feature = "app-relayawarddata-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 bitfield32::{BitField32, IBitField32},
11 bitfieldcommon::{BitFieldCommon, IBitFieldCommon},
12 bitfieldtemplate32_1::{BitFieldTemplate32_1, IBitFieldTemplate32_1},
13 structbase::{IStructBase, StructBase},
14 structdata_1::{IStructData_1, StructData_1},
15 structtemplate_1::{IStructTemplate_1, StructTemplate_1},
16 },
17 system::{
18 object::{IObject, Object},
19 r#enum::{Enum, IEnum},
20 valuetype::{IValueType, ValueType},
21 },
22 };
23
24 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayawarddata/RelayAwardData.md"))]
25 #[::unity::class(namespace = "App", name = "RelayAwardData")]
26 #[parent(crate::app::structdata_1::StructData_1<crate::app::relayawarddata::RelayAwardData>)]
27 pub struct RelayAwardData {
28 #[static_field]
29 #[rename(name = "s_Infos")]
30 pub s_infos: ::unity::Array<crate::app::relayawarddata::RelayAwardData_Info>,
31 }
32
33 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayawarddata/RelayAwardData_CompareOp.md"))]
34 #[repr(C)]
35 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
36 pub struct RelayAwardData_CompareOp {
37 pub value: i32,
38 }
39 impl ::unity::ClassIdentity for RelayAwardData_CompareOp {
40 const NAME: &'static str = "RelayAwardData.CompareOp";
41 const NAMESPACE: &'static str = "App";
42
43 fn class() -> ::unity::Class {
44 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
45 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
46 }
47 }
48 impl ::unity::IlType for RelayAwardData_CompareOp {
49 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
50 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
51 }
52 }
53 impl RelayAwardData_CompareOp {
54 pub fn greater() -> Self {
55 Self { value: 0 }
56 }
57
58 pub fn less() -> Self {
59 Self { value: 1 }
60 }
61
62 pub fn zero() -> Self {
63 Self { value: 2 }
64 }
65
66 pub fn mixed_less() -> Self {
67 Self { value: 3 }
68 }
69
70 pub fn attack_greater_kill_less() -> Self {
71 Self { value: 4 }
72 }
73 }
74
75 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayawarddata/RelayAwardData_Flags.md"))]
76 #[repr(C)]
77 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
78 pub struct RelayAwardData_Flags {
79 pub value: i32,
80 }
81 impl ::unity::ClassIdentity for RelayAwardData_Flags {
82 const NAME: &'static str = "RelayAwardData.Flags";
83 const NAMESPACE: &'static str = "App";
84
85 fn class() -> ::unity::Class {
86 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
87 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
88 }
89 }
90 impl ::unity::IlType for RelayAwardData_Flags {
91 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
92 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
93 }
94 }
95 impl RelayAwardData_Flags {
96 pub fn mixed() -> Self {
97 Self { value: 1 }
98 }
99
100 pub fn show_count() -> Self {
101 Self { value: 2 }
102 }
103
104 pub fn negative() -> Self {
105 Self { value: 4 }
106 }
107
108 pub fn attack_plus() -> Self {
109 Self { value: 8 }
110 }
111
112 pub fn attack_minus() -> Self {
113 Self { value: 16 }
114 }
115 }
116
117 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayawarddata/RelayAwardData_Kinds.md"))]
118 #[repr(C)]
119 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
120 pub struct RelayAwardData_Kinds {
121 pub value: i32,
122 }
123 impl ::unity::ClassIdentity for RelayAwardData_Kinds {
124 const NAME: &'static str = "RelayAwardData.Kinds";
125 const NAMESPACE: &'static str = "App";
126
127 fn class() -> ::unity::Class {
128 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
129 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
130 }
131 }
132 impl ::unity::IlType for RelayAwardData_Kinds {
133 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
134 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
135 }
136 }
137 impl RelayAwardData_Kinds {
138 pub fn kill() -> Self {
139 Self { value: 0 }
140 }
141
142 pub fn damaged() -> Self {
143 Self { value: 1 }
144 }
145
146 pub fn heal() -> Self {
147 Self { value: 2 }
148 }
149
150 pub fn r#break() -> Self {
151 Self { value: 3 }
152 }
153
154 pub fn engage() -> Self {
155 Self { value: 4 }
156 }
157
158 pub fn use_item() -> Self {
159 Self { value: 5 }
160 }
161
162 pub fn poison() -> Self {
163 Self { value: 6 }
164 }
165
166 pub fn r#move() -> Self {
167 Self { value: 7 }
168 }
169
170 pub fn skill() -> Self {
171 Self { value: 8 }
172 }
173
174 pub fn damaged0() -> Self {
175 Self { value: 9 }
176 }
177
178 pub fn critical() -> Self {
179 Self { value: 10 }
180 }
181
182 pub fn efficacy() -> Self {
183 Self { value: 11 }
184 }
185
186 pub fn engage_attack() -> Self {
187 Self { value: 12 }
188 }
189
190 pub fn chain_guard() -> Self {
191 Self { value: 13 }
192 }
193
194 pub fn blow() -> Self {
195 Self { value: 14 }
196 }
197
198 pub fn direct_attack() -> Self {
199 Self { value: 15 }
200 }
201
202 pub fn indirect_attack() -> Self {
203 Self { value: 16 }
204 }
205
206 pub fn attack() -> Self {
207 Self { value: 17 }
208 }
209
210 pub fn chain_attack() -> Self {
211 Self { value: 18 }
212 }
213
214 pub fn mixed_least() -> Self {
215 Self { value: 19 }
216 }
217
218 pub fn move_least() -> Self {
219 Self { value: 20 }
220 }
221
222 pub fn damage_least() -> Self {
223 Self { value: 21 }
224 }
225
226 pub fn fixed() -> Self {
227 Self { value: 22 }
228 }
229
230 pub fn healed() -> Self {
231 Self { value: 23 }
232 }
233
234 pub fn skilled() -> Self {
235 Self { value: 24 }
236 }
237
238 pub fn num() -> Self {
239 Self { value: 25 }
240 }
241 }
242
243 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayawarddata/RelayAwardData_Info.md"))]
244 #[repr(C)]
245 #[derive(::core::clone::Clone, ::core::marker::Copy)]
246 pub struct RelayAwardData_Info {
247 pub raid: ::unity::Il2CppString,
248 pub record_kind: crate::app::unitrecord::UnitRecord_Kinds,
249 pub compare_op: crate::app::relayawarddata::RelayAwardData_CompareOp,
250 }
251 impl ::unity::ClassIdentity for RelayAwardData_Info {
252 const NAME: &'static str = "RelayAwardData.Info";
253 const NAMESPACE: &'static str = "App";
254
255 fn class() -> ::unity::Class {
256 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
257 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
258 }
259 }
260 impl ::unity::IlType for RelayAwardData_Info {
261 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
262 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
263 }
264 }
265
266 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayawarddata/RelayAwardData_FlagField.md"))]
267 #[::unity::class(namespace = "App", name = "RelayAwardData.FlagField")]
268 #[parent(crate::app::bitfieldtemplate32_1::BitFieldTemplate32_1<crate::app::relayawarddata::RelayAwardData_Flags>)]
269 pub struct RelayAwardData_FlagField {}
270}
271
272#[cfg(feature = "app-relayawarddata-types")]
273pub use __types::*;
274
275#[cfg(feature = "app-relayawarddata")]
276impl RelayAwardData {
277 #[doc = "`Load()` overload"]
278 pub fn load() -> () {
279 unsafe {
280 ::unity::il2cpp_call!((::unity::module_base()+0x22ce470usize)as*mut u8,();
281 )
282 }
283 }
284
285 #[doc = "`GetRaid(crate::app::relayawarddata::RelayAwardData_Kinds)` overload"]
286 pub fn get_raid_2(kind: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Kinds>) -> ::unity::Il2CppString {
287 unsafe {
288 ::unity::il2cpp_call!((::unity::module_base()+0x22cc6c0usize)as*mut u8, ::unity::Il2CppString;
289(crate::app::relayawarddata::RelayAwardData_Kinds)::core::convert::Into::into(kind))
290 }
291 }
292
293 #[doc = "`GetRecordKind(crate::app::relayawarddata::RelayAwardData_Kinds)` overload"]
294 pub fn get_record_kind(
295 kind: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Kinds>,
296 ) -> crate::app::unitrecord::UnitRecord_Kinds {
297 unsafe {
298 ::unity::il2cpp_call!((::unity::module_base()+0x22cc250usize)as*mut u8,crate::app::unitrecord::UnitRecord_Kinds;
299(crate::app::relayawarddata::RelayAwardData_Kinds)::core::convert::Into::into(kind))
300 }
301 }
302
303 #[doc = "`GetCompareOp(crate::app::relayawarddata::RelayAwardData_Kinds)` overload"]
304 pub fn get_compare_op(
305 kind: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Kinds>,
306 ) -> crate::app::relayawarddata::RelayAwardData_CompareOp {
307 unsafe {
308 ::unity::il2cpp_call!((::unity::module_base()+0x22cc5c0usize)as*mut u8,crate::app::relayawarddata::RelayAwardData_CompareOp;
309(crate::app::relayawarddata::RelayAwardData_Kinds)::core::convert::Into::into(kind))
310 }
311 }
312
313 #[doc = "`Test(crate::app::relayawarddata::RelayAwardData_Kinds, crate::app::relayawarddata::RelayAwardData_Flags)` overload"]
314 pub fn test(
315 kind: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Kinds>,
316 flag: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Flags>,
317 ) -> bool {
318 unsafe {
319 ::unity::il2cpp_call!((::unity::module_base()+0x22cc640usize)as*mut u8,bool;
320(crate::app::relayawarddata::RelayAwardData_Kinds)::core::convert::Into::into(kind),(crate::app::relayawarddata::RelayAwardData_Flags)::core::convert::Into::into(flag))
321 }
322 }
323
324 #[doc = "`TryGet(crate::app::relayawarddata::RelayAwardData_Kinds)` overload"]
325 pub fn try_get(kind: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Kinds>) -> crate::app::relayawarddata::RelayAwardData {
326 unsafe {
327 ::unity::il2cpp_call!((::unity::module_base()+0x22ce630usize)as*mut u8,crate::app::relayawarddata::RelayAwardData;
328(crate::app::relayawarddata::RelayAwardData_Kinds)::core::convert::Into::into(kind))
329 }
330 }
331}
332
333#[cfg(feature = "app-relayawarddata")]
334pub trait IRelayAwardDataMethods: IRelayAwardData {
335 #[doc = "`get_Raid()` overload"]
336 fn get_raid(self) -> ::unity::Il2CppString {
337 unsafe {
338 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
339 ::unity::il2cpp_call!((::unity::module_base()+0x22ce520usize)as*mut u8, ::unity::Il2CppString;
340(RelayAwardData)__receiver)
341 }
342 }
343 #[doc = "`set_Raid(::unity::Il2CppString)` overload"]
344 fn set_raid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
345 unsafe {
346 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
347 ::unity::il2cpp_call!((::unity::module_base()+0x22ce530usize)as*mut u8,();
348(RelayAwardData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
349 }
350 }
351 #[doc = "`get_Name()` overload"]
352 fn get_name(self) -> ::unity::Il2CppString {
353 unsafe {
354 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
355 ::unity::il2cpp_call!((::unity::module_base()+0x22ce540usize)as*mut u8, ::unity::Il2CppString;
356(RelayAwardData)__receiver)
357 }
358 }
359 #[doc = "`set_Name(::unity::Il2CppString)` overload"]
360 fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
361 unsafe {
362 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
363 ::unity::il2cpp_call!((::unity::module_base()+0x22ce550usize)as*mut u8,();
364(RelayAwardData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
365 }
366 }
367 #[doc = "`get_ResultText()` overload"]
368 fn get_result_text(self) -> ::unity::Il2CppString {
369 unsafe {
370 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
371 ::unity::il2cpp_call!((::unity::module_base()+0x22ce560usize)as*mut u8, ::unity::Il2CppString;
372(RelayAwardData)__receiver)
373 }
374 }
375 #[doc = "`set_ResultText(::unity::Il2CppString)` overload"]
376 fn set_result_text(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
377 unsafe {
378 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
379 ::unity::il2cpp_call!((::unity::module_base()+0x22ce570usize)as*mut u8,();
380(RelayAwardData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
381 }
382 }
383 #[doc = "`get_Awards()` overload"]
384 fn get_awards(self) -> ::unity::Array<::unity::Il2CppString> {
385 unsafe {
386 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
387 ::unity::il2cpp_call!((::unity::module_base()+0x22ce580usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
388(RelayAwardData)__receiver)
389 }
390 }
391 #[doc = "`set_Awards(::unity::Array<::unity::Il2CppString>)` overload"]
392 fn set_awards(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
393 unsafe {
394 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
395 ::unity::il2cpp_call!((::unity::module_base()+0x22ce590usize)as*mut u8,();
396(RelayAwardData)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
397 }
398 }
399 #[doc = "`get_Flag()` overload"]
400 fn get_flag(self) -> crate::app::relayawarddata::RelayAwardData_FlagField {
401 unsafe {
402 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
403 ::unity::il2cpp_call!((::unity::module_base()+0x22ce5a0usize)as*mut u8,crate::app::relayawarddata::RelayAwardData_FlagField;
404(RelayAwardData)__receiver)
405 }
406 }
407 #[doc = "`set_Flag(crate::app::relayawarddata::RelayAwardData_FlagField)` overload"]
408 fn set_flag(self, value: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_FlagField>) -> () {
409 unsafe {
410 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
411 ::unity::il2cpp_call!((::unity::module_base()+0x22ce5b0usize)as*mut u8,();
412(RelayAwardData)__receiver,(crate::app::relayawarddata::RelayAwardData_FlagField)::core::convert::Into::into(value))
413 }
414 }
415 #[doc = "`OnCompletedEnd()` overload"]
416 fn on_completed_end(self) -> () {
417 unsafe {
418 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
419 {
420 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
421 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
422 panic!(
423 "unity: virtual slot {}
424 out of range (vtable len {}
425) on the runtime class behind {}
426 (method `{}
427`)",
428 6usize,
429 __vt.len(),
430 <RelayAwardData as ::unity::ClassIdentity>::NAME,
431 "OnCompletedEnd",
432 )
433 });
434 let __inner: extern "C" fn(RelayAwardData, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
435 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
436 __inner(__receiver, __mi)
437 }
438 }
439 }
440 #[doc = "`GetDebugName()` overload"]
441 fn get_debug_name(self) -> ::unity::Il2CppString {
442 unsafe {
443 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
444 {
445 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
446 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
447 panic!(
448 "unity: virtual slot {}
449 out of range (vtable len {}
450) on the runtime class behind {}
451 (method `{}
452`)",
453 8usize,
454 __vt.len(),
455 <RelayAwardData as ::unity::ClassIdentity>::NAME,
456 "GetDebugName",
457 )
458 });
459 let __inner: extern "C" fn(RelayAwardData, ::unity::OptionalMethod) -> ::unity::Il2CppString =
460 ::core::mem::transmute(__vi.method_ptr);
461 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
462 __inner(__receiver, __mi)
463 }
464 }
465 }
466 #[doc = "`MakeInfos()` overload"]
467 fn make_infos(self) -> () {
468 unsafe {
469 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470 ::unity::il2cpp_call!((::unity::module_base()+0x22ce720usize)as*mut u8,();
471(RelayAwardData)__receiver)
472 }
473 }
474 #[doc = "`.ctor()` overload"]
475 fn ctor(self) -> () {
476 unsafe {
477 let __receiver = <RelayAwardData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478 ::unity::il2cpp_call!((::unity::module_base()+0x22cf000usize)as*mut u8,();
479(RelayAwardData)__receiver)
480 }
481 }
482}
483
484#[cfg(feature = "app-relayawarddata")]
485impl<__T: IRelayAwardData> IRelayAwardDataMethods for __T {}
486
487#[cfg(feature = "app-relayawarddata")]
488impl RelayAwardData {
489 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
491 }
492
493 pub fn get_raid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
495 }
496
497 pub fn set_raid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
499 }
500
501 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
503 }
504
505 pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
507 }
508
509 pub fn get_result_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
511 }
512
513 pub fn set_result_text_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
515 }
516
517 pub fn get_awards_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
519 }
520
521 pub fn set_awards_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
523 }
524
525 pub fn get_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
527 }
528
529 pub fn set_flag_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
531 }
532
533 pub fn get_raid_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
535 }
536
537 pub fn get_record_kind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
539 }
540
541 pub fn get_compare_op_method_info() -> &'static ::unity::il2cpp::MethodInfo {
542 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
543 }
544
545 pub fn test_method_info() -> &'static ::unity::il2cpp::MethodInfo {
546 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
547 }
548
549 pub fn try_get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
550 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
551 }
552
553 pub fn on_completed_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
554 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
555 }
556
557 pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
558 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
559 }
560
561 pub fn make_infos_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
563 }
564
565 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
567 }
568}
569
570#[cfg(feature = "app-relayawarddata")]
571impl RelayAwardData {
572 #[doc = "Direct (non-virtual) call to `RelayAwardData`'s own `OnCompletedEnd`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
573 pub unsafe fn on_completed_end(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
574 let __mi = Self::on_completed_end_method_info();
575 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
576 __inner(this.into(), ::core::option::Option::None)
577 }
578
579 #[doc = "Direct (non-virtual) call to `RelayAwardData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
580 pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
581 let __mi = Self::get_debug_name_method_info();
582 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
583 __inner(this.into(), ::core::option::Option::None)
584 }
585}
586
587#[cfg(feature = "app-relayawarddata")]
588impl RelayAwardData {
589 #[doc = "`.ctor()` — no args"]
590 pub fn new() -> Self {
591 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
592 panic!(
593 "{}
594::{}
595 failed to instantiate",
596 ::core::stringify!(RelayAwardData),
597 ::core::stringify!(new),
598 )
599 });
600 <Self as IRelayAwardDataMethods>::ctor(this);
601 this
602 }
603}
604
605#[cfg(feature = "app-relayawarddata")]
606impl RelayAwardData_Info {
607 #[doc = "`.ctor(::unity::Il2CppString, crate::app::unitrecord::UnitRecord_Kinds, crate::app::relayawarddata::RelayAwardData_CompareOp)` overload"]
608 pub fn ctor(
609 &mut self,
610 raid: impl ::core::convert::Into<::unity::Il2CppString>,
611 kind: impl ::core::convert::Into<crate::app::unitrecord::UnitRecord_Kinds>,
612 comp: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_CompareOp>,
613 ) -> () {
614 unsafe {
615 ::unity::il2cpp_call!((::unity::module_base()+0x1b04a80usize)as*mut u8,();
616(*mut RelayAwardData_Info)self as*mut RelayAwardData_Info,(::unity::Il2CppString)::core::convert::Into::into(raid),(crate::app::unitrecord::UnitRecord_Kinds)::core::convert::Into::into(kind),(crate::app::relayawarddata::RelayAwardData_CompareOp)::core::convert::Into::into(comp))
617 }
618 }
619}
620
621#[cfg(feature = "app-relayawarddata")]
622impl RelayAwardData_Info {
623 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
624 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
625 }
626}
627
628#[cfg(feature = "app-relayawarddata")]
629pub trait IRelayAwardData_FlagFieldMethods: IRelayAwardData_FlagField {
630 #[doc = "`.ctor(i32)` overload"]
631 fn ctor(self, f: impl ::core::convert::Into<i32>) -> () {
632 unsafe {
633 let __receiver =
634 <RelayAwardData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
635 ::unity::il2cpp_call!((::unity::module_base()+0x1b049b0usize)as*mut u8,();
636(RelayAwardData_FlagField)__receiver,(i32)::core::convert::Into::into(f))
637 }
638 }
639 #[doc = "`.ctor(crate::app::relayawarddata::RelayAwardData_Flags)` overload"]
640 fn ctor_2(self, f: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Flags>) -> () {
641 unsafe {
642 let __receiver =
643 <RelayAwardData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
644 ::unity::il2cpp_call!((::unity::module_base()+0x1b04a10usize)as*mut u8,();
645(RelayAwardData_FlagField)__receiver,(crate::app::relayawarddata::RelayAwardData_Flags)::core::convert::Into::into(f))
646 }
647 }
648 #[doc = "`ToInt(crate::app::relayawarddata::RelayAwardData_Flags)` overload"]
649 fn to_int(self, value: impl ::core::convert::Into<crate::app::relayawarddata::RelayAwardData_Flags>) -> i32 {
650 unsafe {
651 let __receiver =
652 <RelayAwardData_FlagField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
653 {
654 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
655 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
656 panic!(
657 "unity: virtual slot {}
658 out of range (vtable len {}
659) on the runtime class behind {}
660 (method `{}
661`)",
662 5usize,
663 __vt.len(),
664 <RelayAwardData_FlagField as ::unity::ClassIdentity>::NAME,
665 "ToInt",
666 )
667 });
668 let __inner: extern "C" fn(
669 RelayAwardData_FlagField,
670 crate::app::relayawarddata::RelayAwardData_Flags,
671 ::unity::OptionalMethod,
672 ) -> i32 = ::core::mem::transmute(__vi.method_ptr);
673 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
674 __inner(__receiver, ::core::convert::Into::into(value), __mi)
675 }
676 }
677 }
678}
679
680#[cfg(feature = "app-relayawarddata")]
681impl<__T: IRelayAwardData_FlagField> IRelayAwardData_FlagFieldMethods for __T {}
682
683#[cfg(feature = "app-relayawarddata")]
684impl RelayAwardData_FlagField {
685 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
686 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
687 }
688
689 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
690 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
691 }
692
693 pub fn to_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
694 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
695 }
696}
697
698#[cfg(feature = "app-relayawarddata")]
699impl RelayAwardData_FlagField {
700 #[doc = "Direct (non-virtual) call to `RelayAwardData_FlagField`'s own `ToInt`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
701 pub unsafe fn to_int(this: impl ::core::convert::Into<::unity::IlInstance>, value: crate::app::relayawarddata::RelayAwardData_Flags) -> i32 {
702 let __mi = Self::to_int_method_info();
703 let __inner: extern "C" fn(::unity::IlInstance, crate::app::relayawarddata::RelayAwardData_Flags, ::unity::OptionalMethod) -> i32 =
704 ::core::mem::transmute(__mi.method_ptr);
705 __inner(this.into(), value, ::core::option::Option::None)
706 }
707}
708
709#[cfg(feature = "app-relayawarddata")]
710impl RelayAwardData_FlagField {
711 #[doc = "`.ctor(i32)` — overload selector"]
712 pub fn new(f: i32) -> Self {
713 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
714 panic!(
715 "{}
716::{}
717 failed to instantiate",
718 ::core::stringify!(RelayAwardData_FlagField),
719 ::core::stringify!(new),
720 )
721 });
722 <Self as IRelayAwardData_FlagFieldMethods>::ctor(this, f);
723 this
724 }
725
726 #[doc = "`.ctor(crate::app::relayawarddata::RelayAwardData_Flags)` — overload selector"]
727 pub fn new_2(f: crate::app::relayawarddata::RelayAwardData_Flags) -> Self {
728 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
729 panic!(
730 "{}
731::{}
732 failed to instantiate",
733 ::core::stringify!(RelayAwardData_FlagField),
734 ::core::stringify!(new_2),
735 )
736 });
737 <Self as IRelayAwardData_FlagFieldMethods>::ctor_2(this, f);
738 this
739 }
740}
741
742#[cfg(feature = "app-relayawarddata")]
743#[doc(hidden)]
744pub mod prelude {
745 pub use super::{
746 IRelayAwardData, IRelayAwardDataMethods, IRelayAwardData_FlagField, IRelayAwardData_FlagFieldMethods, RelayAwardData,
747 RelayAwardData_CompareOp, RelayAwardData_FlagField, RelayAwardData_Flags, RelayAwardData_Info, RelayAwardData_Kinds,
748 };
749 #[cfg(feature = "app-bitfield32")]
750 pub use crate::app::bitfield32::IBitField32Methods;
751 #[cfg(feature = "app-bitfieldcommon")]
752 pub use crate::app::bitfieldcommon::IBitFieldCommonMethods;
753 #[cfg(feature = "app-bitfieldtemplate32_1")]
754 pub use crate::app::bitfieldtemplate32_1::IBitFieldTemplate32_1Methods;
755 #[cfg(feature = "app-structbase")]
756 pub use crate::app::structbase::IStructBaseMethods;
757 #[cfg(feature = "app-structdata_1")]
758 pub use crate::app::structdata_1::IStructData_1Methods;
759 #[cfg(feature = "app-structtemplate_1")]
760 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
761 #[cfg(feature = "system-object")]
762 pub use crate::system::object::IObjectMethods;
763 #[cfg(feature = "system-enum")]
764 pub use crate::system::r#enum::IEnumMethods;
765 #[cfg(feature = "system-valuetype")]
766 pub use crate::system::valuetype::IValueTypeMethods;
767 pub use crate::{
768 app::{
769 bitfield32::IBitField32, bitfieldcommon::IBitFieldCommon, bitfieldtemplate32_1::IBitFieldTemplate32_1, structbase::IStructBase,
770 structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1,
771 },
772 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
773 };
774}