1#[cfg(feature = "app-challengedata-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/challengedata/ChallengeData.md"))]
18 #[::unity::class(namespace = "App", name = "ChallengeData")]
19 #[parent(crate::app::structdata_1::StructData_1<crate::app::challengedata::ChallengeData>)]
20 pub struct ChallengeData {
21 #[offset(96)]
22 #[rename(name = "FlagNameTurn")]
23 pub flag_name_turn: ::unity::Il2CppString,
24 #[offset(104)]
25 #[rename(name = "FlagNameLevel")]
26 pub flag_name_level: ::unity::Il2CppString,
27 #[static_field]
28 #[rename(name = "MaxStage")]
29 pub max_stage: i32,
30 }
31}
32
33#[cfg(feature = "app-challengedata-types")]
34pub use __types::*;
35
36#[cfg(feature = "app-challengedata")]
37impl ChallengeData {
38 #[doc = "`Load()` overload"]
39 pub fn load() -> () {
40 unsafe {
41 ::unity::il2cpp_call!((::unity::module_base()+0x25c1100usize)as*mut u8,();
42 )
43 }
44 }
45
46 #[doc = "`TrySetStage(crate::system::collections::generic::list_1::List_1<crate::app::chapterdata::ChapterData>, crate::app::random_2::Random_2, ::unity::Array<::unity::Il2CppString>)` overload"]
47 pub fn try_set_stage(
48 list: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<crate::app::chapterdata::ChapterData>>,
49 random: impl ::core::convert::Into<crate::app::random_2::Random_2>,
50 stages: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
51 ) -> bool {
52 unsafe {
53 ::unity::il2cpp_call!((::unity::module_base()+0x25c14c0usize)as*mut u8,bool;
54(crate::system::collections::generic::list_1::List_1<crate::app::chapterdata::ChapterData>)::core::convert::Into::into(list),(crate::app::random_2::Random_2)::core::convert::Into::into(random),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(stages))
55 }
56 }
57
58 #[doc = "`RegistGlobalFlags()` overload"]
59 pub fn regist_global_flags() -> () {
60 unsafe {
61 ::unity::il2cpp_call!((::unity::module_base()+0x25c1850usize)as*mut u8,();
62 )
63 }
64 }
65}
66
67#[cfg(feature = "app-challengedata")]
68pub trait IChallengeDataMethods: IChallengeData {
69 #[doc = "`get_Cid()` overload"]
70 fn get_cid(self) -> ::unity::Il2CppString {
71 unsafe {
72 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
73 ::unity::il2cpp_call!((::unity::module_base()+0x25c11b0usize)as*mut u8, ::unity::Il2CppString;
74(ChallengeData)__receiver)
75 }
76 }
77 #[doc = "`set_Cid(::unity::Il2CppString)` overload"]
78 fn set_cid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
79 unsafe {
80 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
81 ::unity::il2cpp_call!((::unity::module_base()+0x25c11c0usize)as*mut u8,();
82(ChallengeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
83 }
84 }
85 #[doc = "`get_Name()` overload"]
86 fn get_name(self) -> ::unity::Il2CppString {
87 unsafe {
88 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
89 ::unity::il2cpp_call!((::unity::module_base()+0x25c11d0usize)as*mut u8, ::unity::Il2CppString;
90(ChallengeData)__receiver)
91 }
92 }
93 #[doc = "`set_Name(::unity::Il2CppString)` overload"]
94 fn set_name(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
95 unsafe {
96 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
97 ::unity::il2cpp_call!((::unity::module_base()+0x25c11e0usize)as*mut u8,();
98(ChallengeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
99 }
100 }
101 #[doc = "`get_Stage1()` overload"]
102 fn get_stage1(self) -> ::unity::Array<::unity::Il2CppString> {
103 unsafe {
104 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105 ::unity::il2cpp_call!((::unity::module_base()+0x25c11f0usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
106(ChallengeData)__receiver)
107 }
108 }
109 #[doc = "`set_Stage1(::unity::Array<::unity::Il2CppString>)` overload"]
110 fn set_stage1(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
111 unsafe {
112 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
113 ::unity::il2cpp_call!((::unity::module_base()+0x25c1200usize)as*mut u8,();
114(ChallengeData)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
115 }
116 }
117 #[doc = "`get_Stage2()` overload"]
118 fn get_stage2(self) -> ::unity::Array<::unity::Il2CppString> {
119 unsafe {
120 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
121 ::unity::il2cpp_call!((::unity::module_base()+0x25c1210usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
122(ChallengeData)__receiver)
123 }
124 }
125 #[doc = "`set_Stage2(::unity::Array<::unity::Il2CppString>)` overload"]
126 fn set_stage2(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
127 unsafe {
128 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
129 ::unity::il2cpp_call!((::unity::module_base()+0x25c1220usize)as*mut u8,();
130(ChallengeData)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
131 }
132 }
133 #[doc = "`get_Stage3()` overload"]
134 fn get_stage3(self) -> ::unity::Array<::unity::Il2CppString> {
135 unsafe {
136 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137 ::unity::il2cpp_call!((::unity::module_base()+0x25c1230usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
138(ChallengeData)__receiver)
139 }
140 }
141 #[doc = "`set_Stage3(::unity::Array<::unity::Il2CppString>)` overload"]
142 fn set_stage3(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
143 unsafe {
144 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145 ::unity::il2cpp_call!((::unity::module_base()+0x25c1240usize)as*mut u8,();
146(ChallengeData)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
147 }
148 }
149 #[doc = "`get_Reward()` overload"]
150 fn get_reward(self) -> ::unity::Il2CppString {
151 unsafe {
152 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
153 ::unity::il2cpp_call!((::unity::module_base()+0x25c1250usize)as*mut u8, ::unity::Il2CppString;
154(ChallengeData)__receiver)
155 }
156 }
157 #[doc = "`set_Reward(::unity::Il2CppString)` overload"]
158 fn set_reward(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
159 unsafe {
160 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
161 ::unity::il2cpp_call!((::unity::module_base()+0x25c1260usize)as*mut u8,();
162(ChallengeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
163 }
164 }
165 #[doc = "`get_UnlockCid()` overload"]
166 fn get_unlock_cid(self) -> ::unity::Il2CppString {
167 unsafe {
168 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
169 ::unity::il2cpp_call!((::unity::module_base()+0x25c1270usize)as*mut u8, ::unity::Il2CppString;
170(ChallengeData)__receiver)
171 }
172 }
173 #[doc = "`set_UnlockCid(::unity::Il2CppString)` overload"]
174 fn set_unlock_cid(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
175 unsafe {
176 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
177 ::unity::il2cpp_call!((::unity::module_base()+0x25c1280usize)as*mut u8,();
178(ChallengeData)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
179 }
180 }
181 #[doc = "`get_SortieCount()` overload"]
182 fn get_sortie_count(self) -> i32 {
183 unsafe {
184 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
185 ::unity::il2cpp_call!((::unity::module_base()+0x25c1290usize)as*mut u8,i32;
186(ChallengeData)__receiver)
187 }
188 }
189 #[doc = "`set_SortieCount(i32)` overload"]
190 fn set_sortie_count(self, value: impl ::core::convert::Into<i32>) -> () {
191 unsafe {
192 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
193 ::unity::il2cpp_call!((::unity::module_base()+0x25c12a0usize)as*mut u8,();
194(ChallengeData)__receiver,(i32)::core::convert::Into::into(value))
195 }
196 }
197 #[doc = "`GetDebugName()` overload"]
198 fn get_debug_name(self) -> ::unity::Il2CppString {
199 unsafe {
200 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 {
202 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
203 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
204 panic!(
205 "unity: virtual slot {}
206 out of range (vtable len {}
207) on the runtime class behind {}
208 (method `{}
209`)",
210 8usize,
211 __vt.len(),
212 <ChallengeData as ::unity::ClassIdentity>::NAME,
213 "GetDebugName",
214 )
215 });
216 let __inner: extern "C" fn(ChallengeData, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__vi.method_ptr);
217 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
218 __inner(__receiver, __mi)
219 }
220 }
221 }
222 #[doc = "`OnBuild()` overload"]
223 fn on_build(self) -> () {
224 unsafe {
225 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
226 {
227 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
228 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
229 panic!(
230 "unity: virtual slot {}
231 out of range (vtable len {}
232) on the runtime class behind {}
233 (method `{}
234`)",
235 4usize,
236 __vt.len(),
237 <ChallengeData as ::unity::ClassIdentity>::NAME,
238 "OnBuild",
239 )
240 });
241 let __inner: extern "C" fn(ChallengeData, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
242 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
243 __inner(__receiver, __mi)
244 }
245 }
246 }
247 #[doc = "`OnCompleted()` overload"]
248 fn on_completed(self) -> () {
249 unsafe {
250 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251 {
252 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
253 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
254 panic!(
255 "unity: virtual slot {}
256 out of range (vtable len {}
257) on the runtime class behind {}
258 (method `{}
259`)",
260 5usize,
261 __vt.len(),
262 <ChallengeData as ::unity::ClassIdentity>::NAME,
263 "OnCompleted",
264 )
265 });
266 let __inner: extern "C" fn(ChallengeData, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
267 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
268 __inner(__receiver, __mi)
269 }
270 }
271 }
272 #[doc = "`OnRelease()` overload"]
273 fn on_release(self) -> () {
274 unsafe {
275 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
276 {
277 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
278 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
279 panic!(
280 "unity: virtual slot {}
281 out of range (vtable len {}
282) on the runtime class behind {}
283 (method `{}
284`)",
285 7usize,
286 __vt.len(),
287 <ChallengeData as ::unity::ClassIdentity>::NAME,
288 "OnRelease",
289 )
290 });
291 let __inner: extern "C" fn(ChallengeData, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
292 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
293 __inner(__receiver, __mi)
294 }
295 }
296 }
297 #[doc = "`GetRewardList()` overload"]
298 fn get_reward_list(self) -> crate::app::structdataarraylist_1::StructDataArrayList_1<crate::app::rewarddata::RewardData> {
299 unsafe {
300 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
301 ::unity::il2cpp_call!((::unity::module_base()+0x25c1430usize)as*mut u8,crate::app::structdataarraylist_1::StructDataArrayList_1<crate::app::rewarddata::RewardData> ;
302(ChallengeData)__receiver)
303 }
304 }
305 #[doc = "`GetStageList(crate::app::random_2::Random_2)` overload"]
306 fn get_stage_list(
307 self,
308 random: impl ::core::convert::Into<crate::app::random_2::Random_2>,
309 ) -> crate::system::collections::generic::list_1::List_1<crate::app::chapterdata::ChapterData> {
310 unsafe {
311 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
312 ::unity::il2cpp_call!((::unity::module_base()+0x25c1620usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::app::chapterdata::ChapterData> ;
313(ChallengeData)__receiver,(crate::app::random_2::Random_2)::core::convert::Into::into(random))
314 }
315 }
316 #[doc = "`CanSelect()` overload"]
317 fn can_select(self) -> bool {
318 unsafe {
319 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
320 ::unity::il2cpp_call!((::unity::module_base()+0x25c16e0usize)as*mut u8,bool;
321(ChallengeData)__receiver)
322 }
323 }
324 #[doc = "`get_BestTurn()` overload"]
325 fn get_best_turn(self) -> i32 {
326 unsafe {
327 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
328 ::unity::il2cpp_call!((::unity::module_base()+0x25c1a20usize)as*mut u8,i32;
329(ChallengeData)__receiver)
330 }
331 }
332 #[doc = "`set_BestTurn(i32)` overload"]
333 fn set_best_turn(self, value: impl ::core::convert::Into<i32>) -> () {
334 unsafe {
335 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
336 ::unity::il2cpp_call!((::unity::module_base()+0x25c1b00usize)as*mut u8,();
337(ChallengeData)__receiver,(i32)::core::convert::Into::into(value))
338 }
339 }
340 #[doc = "`get_BestLevel()` overload"]
341 fn get_best_level(self) -> i32 {
342 unsafe {
343 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
344 ::unity::il2cpp_call!((::unity::module_base()+0x25c1cd0usize)as*mut u8,i32;
345(ChallengeData)__receiver)
346 }
347 }
348 #[doc = "`set_BestLevel(i32)` overload"]
349 fn set_best_level(self, value: impl ::core::convert::Into<i32>) -> () {
350 unsafe {
351 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
352 ::unity::il2cpp_call!((::unity::module_base()+0x25c1db0usize)as*mut u8,();
353(ChallengeData)__receiver,(i32)::core::convert::Into::into(value))
354 }
355 }
356 #[doc = "`IsNew()` overload"]
357 fn is_new(self) -> bool {
358 unsafe {
359 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
360 ::unity::il2cpp_call!((::unity::module_base()+0x25c1f80usize)as*mut u8,bool;
361(ChallengeData)__receiver)
362 }
363 }
364 #[doc = "`SawNewAccess()` overload"]
365 fn saw_new_access(self) -> () {
366 unsafe {
367 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
368 ::unity::il2cpp_call!((::unity::module_base()+0x25c2090usize)as*mut u8,();
369(ChallengeData)__receiver)
370 }
371 }
372 #[doc = "`.ctor()` overload"]
373 fn ctor(self) -> () {
374 unsafe {
375 let __receiver = <ChallengeData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
376 ::unity::il2cpp_call!((::unity::module_base()+0x25c2160usize)as*mut u8,();
377(ChallengeData)__receiver)
378 }
379 }
380}
381
382#[cfg(feature = "app-challengedata")]
383impl<__T: IChallengeData> IChallengeDataMethods for __T {}
384
385#[cfg(feature = "app-challengedata")]
386impl ChallengeData {
387 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
388 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
389 }
390
391 pub fn get_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
392 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
393 }
394
395 pub fn set_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
396 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
397 }
398
399 pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
400 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
401 }
402
403 pub fn set_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
404 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
405 }
406
407 pub fn get_stage1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
408 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
409 }
410
411 pub fn set_stage1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
412 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
413 }
414
415 pub fn get_stage2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
416 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
417 }
418
419 pub fn set_stage2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
420 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
421 }
422
423 pub fn get_stage3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
424 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
425 }
426
427 pub fn set_stage3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
428 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
429 }
430
431 pub fn get_reward_method_info() -> &'static ::unity::il2cpp::MethodInfo {
432 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
433 }
434
435 pub fn set_reward_method_info() -> &'static ::unity::il2cpp::MethodInfo {
436 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
437 }
438
439 pub fn get_unlock_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
440 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
441 }
442
443 pub fn set_unlock_cid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
444 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
445 }
446
447 pub fn get_sortie_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
448 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
449 }
450
451 pub fn set_sortie_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
452 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
453 }
454
455 pub fn get_debug_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
456 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
457 }
458
459 pub fn on_build_method_info() -> &'static ::unity::il2cpp::MethodInfo {
460 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
461 }
462
463 pub fn on_completed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
464 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
465 }
466
467 pub fn on_release_method_info() -> &'static ::unity::il2cpp::MethodInfo {
468 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
469 }
470
471 pub fn get_reward_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
472 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
473 }
474
475 pub fn try_set_stage_method_info() -> &'static ::unity::il2cpp::MethodInfo {
476 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
477 }
478
479 pub fn get_stage_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
480 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
481 }
482
483 pub fn can_select_method_info() -> &'static ::unity::il2cpp::MethodInfo {
484 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
485 }
486
487 pub fn regist_global_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
489 }
490
491 pub fn get_best_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
493 }
494
495 pub fn set_best_turn_method_info() -> &'static ::unity::il2cpp::MethodInfo {
496 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
497 }
498
499 pub fn get_best_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
501 }
502
503 pub fn set_best_level_method_info() -> &'static ::unity::il2cpp::MethodInfo {
504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
505 }
506
507 pub fn is_new_method_info() -> &'static ::unity::il2cpp::MethodInfo {
508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
509 }
510
511 pub fn saw_new_access_method_info() -> &'static ::unity::il2cpp::MethodInfo {
512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
513 }
514
515 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
516 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
517 }
518}
519
520#[cfg(feature = "app-challengedata")]
521impl ChallengeData {
522 #[doc = "Direct (non-virtual) call to `ChallengeData`'s own `GetDebugName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
523 pub unsafe fn get_debug_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
524 let __mi = Self::get_debug_name_method_info();
525 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
526 __inner(this.into(), ::core::option::Option::None)
527 }
528
529 #[doc = "Direct (non-virtual) call to `ChallengeData`'s own `OnBuild`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
530 pub unsafe fn on_build(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
531 let __mi = Self::on_build_method_info();
532 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
533 __inner(this.into(), ::core::option::Option::None)
534 }
535
536 #[doc = "Direct (non-virtual) call to `ChallengeData`'s own `OnCompleted`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
537 pub unsafe fn on_completed(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
538 let __mi = Self::on_completed_method_info();
539 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
540 __inner(this.into(), ::core::option::Option::None)
541 }
542
543 #[doc = "Direct (non-virtual) call to `ChallengeData`'s own `OnRelease`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
544 pub unsafe fn on_release(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
545 let __mi = Self::on_release_method_info();
546 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
547 __inner(this.into(), ::core::option::Option::None)
548 }
549}
550
551#[cfg(feature = "app-challengedata")]
552impl ChallengeData {
553 #[doc = "`.ctor()` — no args"]
554 pub fn new() -> Self {
555 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
556 panic!(
557 "{}
558::{}
559 failed to instantiate",
560 ::core::stringify!(ChallengeData),
561 ::core::stringify!(new),
562 )
563 });
564 <Self as IChallengeDataMethods>::ctor(this);
565 this
566 }
567}
568
569#[cfg(feature = "app-challengedata")]
570#[doc(hidden)]
571pub mod prelude {
572 pub use super::{ChallengeData, IChallengeData, IChallengeDataMethods};
573 #[cfg(feature = "app-structbase")]
574 pub use crate::app::structbase::IStructBaseMethods;
575 #[cfg(feature = "app-structdata_1")]
576 pub use crate::app::structdata_1::IStructData_1Methods;
577 #[cfg(feature = "app-structtemplate_1")]
578 pub use crate::app::structtemplate_1::IStructTemplate_1Methods;
579 #[cfg(feature = "system-object")]
580 pub use crate::system::object::IObjectMethods;
581 pub use crate::{
582 app::{structbase::IStructBase, structdata_1::IStructData_1, structtemplate_1::IStructTemplate_1},
583 system::object::IObject,
584 };
585}