1#[cfg(feature = "app-gamesavedata-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 procwaitmessagebase::{IProcWaitMessageBase, ProcWaitMessageBase},
12 },
13 system::{
14 object::{IObject, Object},
15 r#enum::{Enum, IEnum},
16 valuetype::{IValueType, ValueType},
17 },
18 };
19
20 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcDelete.md"))]
21 #[::unity::class(namespace = "App", name = "GameSaveData.ProcDelete")]
22 #[parent(crate::app::gamesavedata::GameSaveData_ProcBase)]
23 pub struct GameSaveData_ProcDelete {
24 #[offset(152)]
25 #[rename(name = "m_HeaderReader")]
26 pub m_header_reader: crate::app::gamesavedataheaderreader::GameSaveDataHeaderReader,
27 #[offset(160)]
28 #[rename(name = "m_Stream")]
29 pub m_stream: crate::app::stream_2::Stream_2,
30 #[offset(168)]
31 #[rename(name = "m_Data")]
32 pub m_data: ::unity::Array<u8>,
33 }
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcWrite_Label.md"))]
36 #[repr(C)]
37 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
38 pub struct GameSaveData_ProcWrite_Label {
39 pub value: i32,
40 }
41 impl ::unity::ClassIdentity for GameSaveData_ProcWrite_Label {
42 const NAME: &'static str = "GameSaveData.ProcWrite.Label";
43 const NAMESPACE: &'static str = "App";
44
45 fn class() -> ::unity::Class {
46 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
47 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
48 }
49 }
50 impl ::unity::IlType for GameSaveData_ProcWrite_Label {
51 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
52 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
53 }
54 }
55 impl GameSaveData_ProcWrite_Label {
56 pub fn end() -> Self {
57 Self { value: 0 }
58 }
59 }
60
61 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData.md"))]
62 #[::unity::class(namespace = "App", name = "GameSaveData")]
63 #[parent(crate::system::object::Object)]
64 pub struct GameSaveData {
65 #[static_field]
66 #[rename(name = "GlobalCount")]
67 pub global_count: i32,
68 #[static_field]
69 #[rename(name = "AutoCount")]
70 pub auto_count: i32,
71 #[static_field]
72 #[rename(name = "ManualCount")]
73 pub manual_count: i32,
74 #[static_field]
75 #[rename(name = "DataSize")]
76 pub data_size: i32,
77 #[static_field]
78 #[rename(name = "NXRootPath")]
79 pub nx_root_path: ::unity::Il2CppString,
80 #[static_field]
81 #[rename(name = "s_ReadingTarget")]
82 pub s_reading_target: crate::app::gamesavedata::GameSaveData,
83 }
84
85 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcWrite.md"))]
86 #[::unity::class(namespace = "App", name = "GameSaveData.ProcWrite")]
87 #[parent(crate::app::gamesavedata::GameSaveData_ProcBase)]
88 pub struct GameSaveData_ProcWrite {
89 #[offset(152)]
90 #[rename(name = "m_Stream")]
91 pub m_stream: crate::app::stream_2::Stream_2,
92 #[offset(160)]
93 #[rename(name = "m_Data")]
94 pub m_data: ::unity::Array<u8>,
95 }
96
97 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_Types.md"))]
98 #[repr(C)]
99 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
100 pub struct GameSaveData_Types {
101 pub value: i32,
102 }
103 impl ::unity::ClassIdentity for GameSaveData_Types {
104 const NAME: &'static str = "GameSaveData.Types";
105 const NAMESPACE: &'static str = "App";
106
107 fn class() -> ::unity::Class {
108 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
109 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
110 }
111 }
112 impl ::unity::IlType for GameSaveData_Types {
113 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
114 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
115 }
116 }
117 impl GameSaveData_Types {
118 pub fn none() -> Self {
119 Self { value: 0 }
120 }
121
122 pub fn global() -> Self {
123 Self { value: 1 }
124 }
125
126 pub fn chapter() -> Self {
127 Self { value: 2 }
128 }
129
130 pub fn temporary() -> Self {
131 Self { value: 3 }
132 }
133
134 pub fn debug() -> Self {
135 Self { value: 4 }
136 }
137
138 pub fn auto() -> Self {
139 Self { value: 5 }
140 }
141
142 pub fn manual() -> Self {
143 Self { value: 6 }
144 }
145
146 pub fn num() -> Self {
147 Self { value: 7 }
148 }
149 }
150
151 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_Tag.md"))]
152 #[::unity::class(namespace = "App", name = "GameSaveData.Tag")]
153 #[parent(crate::system::object::Object)]
154 pub struct GameSaveData_Tag {
155 #[static_field]
156 #[rename(name = "Index")]
157 pub index: i32,
158 #[static_field]
159 #[rename(name = "UserGlobal")]
160 pub user_global: i32,
161 #[static_field]
162 #[rename(name = "RelayGlobal")]
163 pub relay_global: i32,
164 #[static_field]
165 #[rename(name = "VersusGlobal")]
166 pub versus_global: i32,
167 #[static_field]
168 #[rename(name = "User")]
169 pub user: i32,
170 #[static_field]
171 #[rename(name = "God")]
172 pub god: i32,
173 #[static_field]
174 #[rename(name = "GodBond")]
175 pub god_bond: i32,
176 #[static_field]
177 #[rename(name = "Unit")]
178 pub unit: i32,
179 #[static_field]
180 #[rename(name = "Transporter")]
181 pub transporter: i32,
182 #[static_field]
183 #[rename(name = "UnitReliance")]
184 pub unit_reliance: i32,
185 #[static_field]
186 #[rename(name = "Map")]
187 pub map: i32,
188 #[static_field]
189 #[rename(name = "Hub")]
190 pub hub: i32,
191 #[static_field]
192 #[rename(name = "Gmap")]
193 pub gmap: i32,
194 #[static_field]
195 #[rename(name = "Ring")]
196 pub ring: i32,
197 #[static_field]
198 #[rename(name = "Time")]
199 pub time: i32,
200 #[static_field]
201 #[rename(name = "Restart")]
202 pub restart: i32,
203 #[static_field]
204 #[rename(name = "Profile")]
205 pub profile: i32,
206 #[static_field]
207 #[rename(name = "ProfileList")]
208 pub profile_list: i32,
209 #[static_field]
210 #[rename(name = "DebugParam")]
211 pub debug_param: i32,
212 #[static_field]
213 #[rename(name = "Crc32")]
214 pub crc32: i32,
215 #[static_field]
216 #[rename(name = "MaxIndex")]
217 pub max_index: i32,
218 }
219
220 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcRead.md"))]
221 #[::unity::class(namespace = "App", name = "GameSaveData.ProcRead")]
222 #[parent(crate::app::gamesavedata::GameSaveData_ProcBase)]
223 pub struct GameSaveData_ProcRead {
224 #[offset(152)]
225 #[rename(name = "m_Data")]
226 pub m_data: ::unity::Array<u8>,
227 }
228
229 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcCopy_Label.md"))]
230 #[repr(C)]
231 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
232 pub struct GameSaveData_ProcCopy_Label {
233 pub value: i32,
234 }
235 impl ::unity::ClassIdentity for GameSaveData_ProcCopy_Label {
236 const NAME: &'static str = "GameSaveData.ProcCopy.Label";
237 const NAMESPACE: &'static str = "App";
238
239 fn class() -> ::unity::Class {
240 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
241 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
242 }
243 }
244 impl ::unity::IlType for GameSaveData_ProcCopy_Label {
245 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
246 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
247 }
248 }
249 impl GameSaveData_ProcCopy_Label {
250 pub fn end() -> Self {
251 Self { value: 0 }
252 }
253 }
254
255 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcCopy.md"))]
256 #[::unity::class(namespace = "App", name = "GameSaveData.ProcCopy")]
257 #[parent(crate::app::gamesavedata::GameSaveData_ProcBase)]
258 pub struct GameSaveData_ProcCopy {
259 #[offset(152)]
260 #[rename(name = "m_Data")]
261 pub m_data: ::unity::Array<u8>,
262 }
263
264 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcBase.md"))]
265 #[::unity::class(namespace = "App", name = "GameSaveData.ProcBase")]
266 #[parent(crate::app::procwaitmessagebase::ProcWaitMessageBase)]
267 pub struct GameSaveData_ProcBase {
268 #[offset(120)]
269 #[rename(name = "m_SaveData")]
270 pub m_save_data: crate::app::gamesavedata::GameSaveData,
271 #[offset(128)]
272 #[rename(name = "m_Handle")]
273 pub m_handle: crate::app::savedatahandle::SaveDataHandle,
274 #[offset(136)]
275 #[rename(name = "m_MsgTime")]
276 pub m_msg_time: f64,
277 #[offset(144)]
278 #[rename(name = "m_Icon")]
279 pub m_icon: crate::unity_engine::gameobject::GameObject,
280 }
281
282 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcDelete_Label.md"))]
283 #[repr(C)]
284 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
285 pub struct GameSaveData_ProcDelete_Label {
286 pub value: i32,
287 }
288 impl ::unity::ClassIdentity for GameSaveData_ProcDelete_Label {
289 const NAME: &'static str = "GameSaveData.ProcDelete.Label";
290 const NAMESPACE: &'static str = "App";
291
292 fn class() -> ::unity::Class {
293 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
294 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
295 }
296 }
297 impl ::unity::IlType for GameSaveData_ProcDelete_Label {
298 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
299 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
300 }
301 }
302 impl GameSaveData_ProcDelete_Label {
303 pub fn end() -> Self {
304 Self { value: 0 }
305 }
306 }
307
308 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_Tag_Writer.md"))]
309 #[::unity::class(namespace = "App", name = "GameSaveData.Tag.Writer")]
310 #[parent(crate::system::object::Object)]
311 pub struct GameSaveData_Tag_Writer {
312 #[offset(16)]
313 #[rename(name = "m_FirstPos")]
314 pub m_first_pos: i32,
315 #[offset(20)]
316 #[rename(name = "m_Index")]
317 pub m_index: i32,
318 }
319
320 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_Tag_Reader.md"))]
321 #[::unity::class(namespace = "App", name = "GameSaveData.Tag.Reader")]
322 #[parent(crate::system::object::Object)]
323 pub struct GameSaveData_Tag_Reader {
324 #[offset(16)]
325 #[rename(name = "m_PosList")]
326 pub m_pos_list: crate::system::collections::generic::list_1::List_1<i32>,
327 }
328
329 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedata/GameSaveData_ProcRead_Label.md"))]
330 #[repr(C)]
331 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
332 pub struct GameSaveData_ProcRead_Label {
333 pub value: i32,
334 }
335 impl ::unity::ClassIdentity for GameSaveData_ProcRead_Label {
336 const NAME: &'static str = "GameSaveData.ProcRead.Label";
337 const NAMESPACE: &'static str = "App";
338
339 fn class() -> ::unity::Class {
340 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
341 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
342 }
343 }
344 impl ::unity::IlType for GameSaveData_ProcRead_Label {
345 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
346 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
347 }
348 }
349 impl GameSaveData_ProcRead_Label {
350 pub fn end() -> Self {
351 Self { value: 0 }
352 }
353 }
354}
355
356#[cfg(feature = "app-gamesavedata-types")]
357pub use __types::*;
358
359#[cfg(feature = "app-gamesavedata")]
360impl GameSaveData_ProcDelete {
361 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData)` overload"]
362 pub fn create_bind(
363 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
364 save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>,
365 ) -> () {
366 unsafe {
367 ::unity::il2cpp_call!((::unity::module_base()+0x1e684d0usize)as*mut u8,();
368(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
369 }
370 }
371}
372
373#[cfg(feature = "app-gamesavedata")]
374pub trait IGameSaveData_ProcDeleteMethods: IGameSaveData_ProcDelete {
375 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` overload"]
376 fn ctor(self, save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>) -> () {
377 unsafe {
378 let __receiver =
379 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
380 ::unity::il2cpp_call!((::unity::module_base()+0x1e69070usize)as*mut u8,();
381(GameSaveData_ProcDelete)__receiver,(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
382 }
383 }
384 #[doc = "`OnDispose()` overload"]
385 fn on_dispose(self) -> () {
386 unsafe {
387 let __receiver =
388 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
389 {
390 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
391 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
392 panic!(
393 "unity: virtual slot {}
394 out of range (vtable len {}
395) on the runtime class behind {}
396 (method `{}
397`)",
398 10usize,
399 __vt.len(),
400 <GameSaveData_ProcDelete as ::unity::ClassIdentity>::NAME,
401 "OnDispose",
402 )
403 });
404 let __inner: extern "C" fn(GameSaveData_ProcDelete, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
405 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
406 __inner(__receiver, __mi)
407 }
408 }
409 }
410 #[doc = "`MessageOpen()` overload"]
411 fn message_open(self) -> () {
412 unsafe {
413 let __receiver =
414 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
415 ::unity::il2cpp_call!((::unity::module_base()+0x1e69100usize)as*mut u8,();
416(GameSaveData_ProcDelete)__receiver)
417 }
418 }
419 #[doc = "`ReadHeader()` overload"]
420 fn read_header(self) -> () {
421 unsafe {
422 let __receiver =
423 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
424 ::unity::il2cpp_call!((::unity::module_base()+0x1e69160usize)as*mut u8,();
425(GameSaveData_ProcDelete)__receiver)
426 }
427 }
428 #[doc = "`IsReadingHeader()` overload"]
429 fn is_reading_header(self) -> bool {
430 unsafe {
431 let __receiver =
432 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
433 ::unity::il2cpp_call!((::unity::module_base()+0x1e691e0usize)as*mut u8,bool;
434(GameSaveData_ProcDelete)__receiver)
435 }
436 }
437 #[doc = "`DeleteSaveData()` overload"]
438 fn delete_save_data(self) -> () {
439 unsafe {
440 let __receiver =
441 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
442 ::unity::il2cpp_call!((::unity::module_base()+0x1e692b0usize)as*mut u8,();
443(GameSaveData_ProcDelete)__receiver)
444 }
445 }
446 #[doc = "`CheckRelayUserGlobalData()` overload"]
447 fn check_relay_user_global_data(self) -> bool {
448 unsafe {
449 let __receiver =
450 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
451 ::unity::il2cpp_call!((::unity::module_base()+0x1e69340usize)as*mut u8,bool;
452(GameSaveData_ProcDelete)__receiver)
453 }
454 }
455 #[doc = "`WriteGlobal()` overload"]
456 fn write_global(self) -> () {
457 unsafe {
458 let __receiver =
459 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
460 ::unity::il2cpp_call!((::unity::module_base()+0x1e69520usize)as*mut u8,();
461(GameSaveData_ProcDelete)__receiver)
462 }
463 }
464 #[doc = "`Success()` overload"]
465 fn success(self) -> () {
466 unsafe {
467 let __receiver =
468 <GameSaveData_ProcDelete as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
469 ::unity::il2cpp_call!((::unity::module_base()+0x1e69610usize)as*mut u8,();
470(GameSaveData_ProcDelete)__receiver)
471 }
472 }
473}
474
475#[cfg(feature = "app-gamesavedata")]
476impl<__T: IGameSaveData_ProcDelete> IGameSaveData_ProcDeleteMethods for __T {}
477
478#[cfg(feature = "app-gamesavedata")]
479impl GameSaveData_ProcDelete {
480 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
482 }
483
484 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
486 }
487
488 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
490 }
491
492 pub fn message_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
494 }
495
496 pub fn read_header_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
498 }
499
500 pub fn is_reading_header_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
502 }
503
504 pub fn delete_save_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
505 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
506 }
507
508 pub fn check_relay_user_global_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
509 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
510 }
511
512 pub fn write_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
513 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
514 }
515
516 pub fn success_method_info() -> &'static ::unity::il2cpp::MethodInfo {
517 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
518 }
519}
520
521#[cfg(feature = "app-gamesavedata")]
522impl GameSaveData_ProcDelete {
523 #[doc = "Direct (non-virtual) call to `GameSaveData_ProcDelete`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
524 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
525 let __mi = Self::on_dispose_method_info();
526 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
527 __inner(this.into(), ::core::option::Option::None)
528 }
529}
530
531#[cfg(feature = "app-gamesavedata")]
532impl GameSaveData_ProcDelete {
533 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` — overload selector"]
534 pub fn new(save_data: crate::app::gamesavedata::GameSaveData) -> Self {
535 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
536 panic!(
537 "{}
538::{}
539 failed to instantiate",
540 ::core::stringify!(GameSaveData_ProcDelete),
541 ::core::stringify!(new),
542 )
543 });
544 <Self as IGameSaveData_ProcDeleteMethods>::ctor(this, save_data);
545 this
546 }
547}
548
549#[cfg(feature = "app-gamesavedata")]
550impl GameSaveData {
551 #[doc = "`IsValid()` overload"]
552 pub fn is_valid() -> bool {
553 unsafe {
554 ::unity::il2cpp_call!((::unity::module_base()+0x2281f20usize)as*mut u8,bool;
555 )
556 }
557 }
558
559 #[doc = "`GetRootPath()` overload"]
560 pub fn get_root_path() -> ::unity::Il2CppString {
561 unsafe {
562 ::unity::il2cpp_call!((::unity::module_base()+0x2281f30usize)as*mut u8, ::unity::Il2CppString;
563 )
564 }
565 }
566
567 #[doc = "`GetFilePath(crate::app::gamesavedata::GameSaveData_Types, i32)` overload"]
568 pub fn get_file_path_2(
569 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
570 index: impl ::core::convert::Into<i32>,
571 ) -> ::unity::Il2CppString {
572 unsafe {
573 ::unity::il2cpp_call!((::unity::module_base()+0x2281490usize)as*mut u8, ::unity::Il2CppString;
574(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index))
575 }
576 }
577
578 #[doc = "`GetFileCount(crate::app::gamesavedata::GameSaveData_Types)` overload"]
579 pub fn get_file_count(r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>) -> i32 {
580 unsafe {
581 ::unity::il2cpp_call!((::unity::module_base()+0x2281fa0usize)as*mut u8,i32;
582(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type))
583 }
584 }
585
586 #[doc = "`IsWriteWithGlobal(crate::app::gamesavedata::GameSaveData_Types)` overload"]
587 pub fn is_write_with_global_2(r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>) -> bool {
588 unsafe {
589 ::unity::il2cpp_call!((::unity::module_base()+0x22816e0usize)as*mut u8,bool;
590(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type))
591 }
592 }
593
594 #[doc = "`GetHeaderSize(crate::app::gamesavedata::GameSaveData_Types)` overload"]
595 pub fn get_header_size(r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>) -> i32 {
596 unsafe {
597 ::unity::il2cpp_call!((::unity::module_base()+0x2281fd0usize)as*mut u8,i32;
598(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type))
599 }
600 }
601
602 #[doc = "`get_ReadingTarget()` overload"]
603 pub fn get_reading_target() -> crate::app::gamesavedata::GameSaveData {
604 unsafe {
605 ::unity::il2cpp_call!((::unity::module_base()+0x2282000usize)as*mut u8,crate::app::gamesavedata::GameSaveData;
606 )
607 }
608 }
609
610 #[doc = "`set_ReadingTarget(crate::app::gamesavedata::GameSaveData)` overload"]
611 pub fn set_reading_target(value: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>) -> () {
612 unsafe {
613 ::unity::il2cpp_call!((::unity::module_base()+0x2282070usize)as*mut u8,();
614(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(value))
615 }
616 }
617
618 #[doc = "`get_IsNormalizeContentsOccurred()` overload"]
619 pub fn get_is_normalize_contents_occurred() -> bool {
620 unsafe {
621 ::unity::il2cpp_call!((::unity::module_base()+0x22820f0usize)as*mut u8,bool;
622 )
623 }
624 }
625
626 #[doc = "`set_IsNormalizeContentsOccurred(bool)` overload"]
627 pub fn set_is_normalize_contents_occurred(value: impl ::core::convert::Into<bool>) -> () {
628 unsafe {
629 ::unity::il2cpp_call!((::unity::module_base()+0x2282160usize)as*mut u8,();
630(bool)::core::convert::Into::into(value))
631 }
632 }
633
634 #[doc = "`SerializeData(crate::app::stream_2::Stream_2, bool, bool)` overload"]
635 pub fn serialize_data(
636 stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>,
637 is_exclude_time: impl ::core::convert::Into<bool>,
638 is_exclude_restart: impl ::core::convert::Into<bool>,
639 ) -> () {
640 unsafe {
641 ::unity::il2cpp_call!((::unity::module_base()+0x2282750usize)as*mut u8,();
642(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream),(bool)::core::convert::Into::into(is_exclude_time),(bool)::core::convert::Into::into(is_exclude_restart))
643 }
644 }
645
646 #[doc = "`DeserializeData(crate::app::stream_2::Stream_2)` overload"]
647 pub fn deserialize_data(stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> bool {
648 unsafe {
649 ::unity::il2cpp_call!((::unity::module_base()+0x22831f0usize)as*mut u8,bool;
650(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
651 }
652 }
653
654 #[doc = "`ClearGlobal()` overload"]
655 pub fn clear_global() -> () {
656 unsafe {
657 ::unity::il2cpp_call!((::unity::module_base()+0x22839c0usize)as*mut u8,();
658 )
659 }
660 }
661
662 #[doc = "`IsSortieOrMapSequence()` overload"]
663 pub fn is_sortie_or_map_sequence() -> bool {
664 unsafe {
665 ::unity::il2cpp_call!((::unity::module_base()+0x2282fb0usize)as*mut u8,bool;
666 )
667 }
668 }
669
670 #[doc = "`IsSortieSequence()` overload"]
671 pub fn is_sortie_sequence() -> bool {
672 unsafe {
673 ::unity::il2cpp_call!((::unity::module_base()+0x2283bd0usize)as*mut u8,bool;
674 )
675 }
676 }
677
678 #[doc = "`IsMapSequence()` overload"]
679 pub fn is_map_sequence() -> bool {
680 unsafe {
681 ::unity::il2cpp_call!((::unity::module_base()+0x2283b00usize)as*mut u8,bool;
682 )
683 }
684 }
685
686 #[doc = "`IsHubSequence()` overload"]
687 pub fn is_hub_sequence() -> bool {
688 unsafe {
689 ::unity::il2cpp_call!((::unity::module_base()+0x2283050usize)as*mut u8,bool;
690 )
691 }
692 }
693
694 #[doc = "`IsGmapSequence()` overload"]
695 pub fn is_gmap_sequence() -> bool {
696 unsafe {
697 ::unity::il2cpp_call!((::unity::module_base()+0x2283120usize)as*mut u8,bool;
698 )
699 }
700 }
701
702 #[doc = "`NormalizePath(::unity::Il2CppString)` overload"]
703 pub fn normalize_path(path: impl ::core::convert::Into<::unity::Il2CppString>) -> ::unity::Il2CppString {
704 unsafe {
705 ::unity::il2cpp_call!((::unity::module_base()+0x2283ca0usize)as*mut u8, ::unity::Il2CppString;
706(::unity::Il2CppString)::core::convert::Into::into(path))
707 }
708 }
709
710 #[doc = "`JoinPath(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
711 pub fn join_path(
712 path1: impl ::core::convert::Into<::unity::Il2CppString>,
713 path2: impl ::core::convert::Into<::unity::Il2CppString>,
714 ) -> ::unity::Il2CppString {
715 unsafe {
716 ::unity::il2cpp_call!((::unity::module_base()+0x2283d40usize)as*mut u8, ::unity::Il2CppString;
717(::unity::Il2CppString)::core::convert::Into::into(path1),(::unity::Il2CppString)::core::convert::Into::into(path2))
718 }
719 }
720
721 #[doc = "`.cctor()` overload"]
722 pub fn cctor() -> () {
723 unsafe {
724 ::unity::il2cpp_call!((::unity::module_base()+0x2283df0usize)as*mut u8,();
725 )
726 }
727 }
728}
729
730#[cfg(feature = "app-gamesavedata")]
731pub trait IGameSaveDataMethods: IGameSaveData {
732 #[doc = "`.ctor()` overload"]
733 fn ctor(self) -> () {
734 unsafe {
735 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
736 ::unity::il2cpp_call!((::unity::module_base()+0x2281350usize)as*mut u8,();
737(GameSaveData)__receiver)
738 }
739 }
740 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32)` overload"]
741 fn ctor_2(self, r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>, index: impl ::core::convert::Into<i32>) -> () {
742 unsafe {
743 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
744 ::unity::il2cpp_call!((::unity::module_base()+0x2281360usize)as*mut u8,();
745(GameSaveData)__receiver,(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index))
746 }
747 }
748 #[doc = "`Read(crate::app::procinst::ProcInst)` overload"]
749 fn read(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
750 unsafe {
751 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
752 ::unity::il2cpp_call!((::unity::module_base()+0x22813a0usize)as*mut u8,();
753(GameSaveData)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
754 }
755 }
756 #[doc = "`Write(crate::app::procinst::ProcInst)` overload"]
757 fn write(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
758 unsafe {
759 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
760 ::unity::il2cpp_call!((::unity::module_base()+0x22813c0usize)as*mut u8,();
761(GameSaveData)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
762 }
763 }
764 #[doc = "`Delete(crate::app::procinst::ProcInst)` overload"]
765 fn delete(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
766 unsafe {
767 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
768 ::unity::il2cpp_call!((::unity::module_base()+0x22813e0usize)as*mut u8,();
769(GameSaveData)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
770 }
771 }
772 #[doc = "`Copy(crate::app::procinst::ProcInst)` overload"]
773 fn copy(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
774 unsafe {
775 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
776 ::unity::il2cpp_call!((::unity::module_base()+0x2281400usize)as*mut u8,();
777(GameSaveData)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
778 }
779 }
780 #[doc = "`GetFilePath()` overload"]
781 fn get_file_path(self) -> ::unity::Il2CppString {
782 unsafe {
783 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
784 ::unity::il2cpp_call!((::unity::module_base()+0x2281420usize)as*mut u8, ::unity::Il2CppString;
785(GameSaveData)__receiver)
786 }
787 }
788 #[doc = "`IsWriteWithGlobal()` overload"]
789 fn is_write_with_global(self) -> bool {
790 unsafe {
791 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
792 ::unity::il2cpp_call!((::unity::module_base()+0x2281660usize)as*mut u8,bool;
793(GameSaveData)__receiver)
794 }
795 }
796 #[doc = "`Serialize(crate::app::stream_2::Stream_2)` overload"]
797 fn serialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
798 unsafe {
799 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
800 ::unity::il2cpp_call!((::unity::module_base()+0x2281700usize)as*mut u8,();
801(GameSaveData)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
802 }
803 }
804 #[doc = "`Deserialize(crate::app::stream_2::Stream_2)` overload"]
805 fn deserialize(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> bool {
806 unsafe {
807 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
808 ::unity::il2cpp_call!((::unity::module_base()+0x2281a80usize)as*mut u8,bool;
809(GameSaveData)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
810 }
811 }
812 #[doc = "`get_Type()` overload"]
813 fn get_type(self) -> crate::app::gamesavedata::GameSaveData_Types {
814 unsafe {
815 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
816 ::unity::il2cpp_call!((::unity::module_base()+0x2281e40usize)as*mut u8,crate::app::gamesavedata::GameSaveData_Types;
817(GameSaveData)__receiver)
818 }
819 }
820 #[doc = "`set_Type(crate::app::gamesavedata::GameSaveData_Types)` overload"]
821 fn set_type(self, value: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>) -> () {
822 unsafe {
823 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
824 ::unity::il2cpp_call!((::unity::module_base()+0x2281e50usize)as*mut u8,();
825(GameSaveData)__receiver,(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(value))
826 }
827 }
828 #[doc = "`get_Index()` overload"]
829 fn get_index(self) -> i32 {
830 unsafe {
831 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
832 ::unity::il2cpp_call!((::unity::module_base()+0x2281e60usize)as*mut u8,i32;
833(GameSaveData)__receiver)
834 }
835 }
836 #[doc = "`set_Index(i32)` overload"]
837 fn set_index(self, value: impl ::core::convert::Into<i32>) -> () {
838 unsafe {
839 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
840 ::unity::il2cpp_call!((::unity::module_base()+0x2281e70usize)as*mut u8,();
841(GameSaveData)__receiver,(i32)::core::convert::Into::into(value))
842 }
843 }
844 #[doc = "`get_FromType()` overload"]
845 fn get_from_type(self) -> crate::app::gamesavedata::GameSaveData_Types {
846 unsafe {
847 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
848 ::unity::il2cpp_call!((::unity::module_base()+0x2281e80usize)as*mut u8,crate::app::gamesavedata::GameSaveData_Types;
849(GameSaveData)__receiver)
850 }
851 }
852 #[doc = "`set_FromType(crate::app::gamesavedata::GameSaveData_Types)` overload"]
853 fn set_from_type(self, value: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>) -> () {
854 unsafe {
855 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
856 ::unity::il2cpp_call!((::unity::module_base()+0x2281e90usize)as*mut u8,();
857(GameSaveData)__receiver,(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(value))
858 }
859 }
860 #[doc = "`get_FromIndex()` overload"]
861 fn get_from_index(self) -> i32 {
862 unsafe {
863 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
864 ::unity::il2cpp_call!((::unity::module_base()+0x2281ea0usize)as*mut u8,i32;
865(GameSaveData)__receiver)
866 }
867 }
868 #[doc = "`set_FromIndex(i32)` overload"]
869 fn set_from_index(self, value: impl ::core::convert::Into<i32>) -> () {
870 unsafe {
871 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
872 ::unity::il2cpp_call!((::unity::module_base()+0x2281eb0usize)as*mut u8,();
873(GameSaveData)__receiver,(i32)::core::convert::Into::into(value))
874 }
875 }
876 #[doc = "`get_Header()` overload"]
877 fn get_header(self) -> crate::app::gamesavedataheader::GameSaveDataHeader {
878 unsafe {
879 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
880 ::unity::il2cpp_call!((::unity::module_base()+0x2281ec0usize)as*mut u8,crate::app::gamesavedataheader::GameSaveDataHeader;
881(GameSaveData)__receiver)
882 }
883 }
884 #[doc = "`set_Header(crate::app::gamesavedataheader::GameSaveDataHeader)` overload"]
885 fn set_header(self, value: impl ::core::convert::Into<crate::app::gamesavedataheader::GameSaveDataHeader>) -> () {
886 unsafe {
887 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
888 ::unity::il2cpp_call!((::unity::module_base()+0x2281ed0usize)as*mut u8,();
889(GameSaveData)__receiver,(crate::app::gamesavedataheader::GameSaveDataHeader)::core::convert::Into::into(value))
890 }
891 }
892 #[doc = "`get_IsSuccess()` overload"]
893 fn get_is_success(self) -> bool {
894 unsafe {
895 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
896 ::unity::il2cpp_call!((::unity::module_base()+0x2281ee0usize)as*mut u8,bool;
897(GameSaveData)__receiver)
898 }
899 }
900 #[doc = "`set_IsSuccess(bool)` overload"]
901 fn set_is_success(self, value: impl ::core::convert::Into<bool>) -> () {
902 unsafe {
903 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
904 ::unity::il2cpp_call!((::unity::module_base()+0x2281ef0usize)as*mut u8,();
905(GameSaveData)__receiver,(bool)::core::convert::Into::into(value))
906 }
907 }
908 #[doc = "`get_IsExcludeHeaderAndTime()` overload"]
909 fn get_is_exclude_header_and_time(self) -> bool {
910 unsafe {
911 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
912 ::unity::il2cpp_call!((::unity::module_base()+0x2281f00usize)as*mut u8,bool;
913(GameSaveData)__receiver)
914 }
915 }
916 #[doc = "`set_IsExcludeHeaderAndTime(bool)` overload"]
917 fn set_is_exclude_header_and_time(self, value: impl ::core::convert::Into<bool>) -> () {
918 unsafe {
919 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
920 ::unity::il2cpp_call!((::unity::module_base()+0x2281f10usize)as*mut u8,();
921(GameSaveData)__receiver,(bool)::core::convert::Into::into(value))
922 }
923 }
924 #[doc = "`SerializeCommon(crate::app::stream_2::Stream_2)` overload"]
925 fn serialize_common(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
926 unsafe {
927 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
928 ::unity::il2cpp_call!((::unity::module_base()+0x2281950usize)as*mut u8,();
929(GameSaveData)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
930 }
931 }
932 #[doc = "`DeserializeCommon(crate::app::stream_2::Stream_2)` overload"]
933 fn deserialize_common(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> bool {
934 unsafe {
935 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
936 ::unity::il2cpp_call!((::unity::module_base()+0x2281d70usize)as*mut u8,bool;
937(GameSaveData)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
938 }
939 }
940 #[doc = "`SerializeGlobal(crate::app::stream_2::Stream_2)` overload"]
941 fn serialize_global(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
942 unsafe {
943 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
944 ::unity::il2cpp_call!((::unity::module_base()+0x2281730usize)as*mut u8,();
945(GameSaveData)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
946 }
947 }
948 #[doc = "`DeserializeGlobal(crate::app::stream_2::Stream_2)` overload"]
949 fn deserialize_global(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> bool {
950 unsafe {
951 let __receiver = <GameSaveData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
952 ::unity::il2cpp_call!((::unity::module_base()+0x2281ab0usize)as*mut u8,bool;
953(GameSaveData)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
954 }
955 }
956}
957
958#[cfg(feature = "app-gamesavedata")]
959impl<__T: IGameSaveData> IGameSaveDataMethods for __T {}
960
961#[cfg(feature = "app-gamesavedata")]
962impl GameSaveData {
963 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
964 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
965 }
966
967 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
968 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
969 }
970
971 pub fn read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
972 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
973 }
974
975 pub fn write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
976 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
977 }
978
979 pub fn delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
980 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
981 }
982
983 pub fn copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
984 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
985 }
986
987 pub fn get_file_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
988 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
989 }
990
991 pub fn is_write_with_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
992 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
993 }
994
995 pub fn serialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
996 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
997 }
998
999 pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1000 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1001 }
1002
1003 pub fn get_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1004 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1005 }
1006
1007 pub fn set_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1008 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1009 }
1010
1011 pub fn get_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1012 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1013 }
1014
1015 pub fn set_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1016 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1017 }
1018
1019 pub fn get_from_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1020 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1021 }
1022
1023 pub fn set_from_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1024 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1025 }
1026
1027 pub fn get_from_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1028 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1029 }
1030
1031 pub fn set_from_index_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1032 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1033 }
1034
1035 pub fn get_header_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1036 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1037 }
1038
1039 pub fn set_header_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1040 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1041 }
1042
1043 pub fn get_is_success_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1044 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1045 }
1046
1047 pub fn set_is_success_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1048 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1049 }
1050
1051 pub fn get_is_exclude_header_and_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1052 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1053 }
1054
1055 pub fn set_is_exclude_header_and_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1056 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1057 }
1058
1059 pub fn is_valid_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1060 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1061 }
1062
1063 pub fn get_root_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1064 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1065 }
1066
1067 pub fn get_file_path_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1068 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1069 }
1070
1071 pub fn get_file_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1072 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1073 }
1074
1075 pub fn is_write_with_global_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1076 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1077 }
1078
1079 pub fn get_header_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1080 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1081 }
1082
1083 pub fn get_reading_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1084 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1085 }
1086
1087 pub fn set_reading_target_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1088 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1089 }
1090
1091 pub fn get_is_normalize_contents_occurred_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1092 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1093 }
1094
1095 pub fn set_is_normalize_contents_occurred_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1096 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1097 }
1098
1099 pub fn serialize_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1100 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1101 }
1102
1103 pub fn serialize_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1104 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1105 }
1106
1107 pub fn deserialize_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1108 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1109 }
1110
1111 pub fn deserialize_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1112 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1113 }
1114
1115 pub fn serialize_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1116 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1117 }
1118
1119 pub fn deserialize_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1120 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1121 }
1122
1123 pub fn clear_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1124 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1125 }
1126
1127 pub fn is_sortie_or_map_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1128 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1129 }
1130
1131 pub fn is_sortie_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1132 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1133 }
1134
1135 pub fn is_map_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1136 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1137 }
1138
1139 pub fn is_hub_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1140 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
1141 }
1142
1143 pub fn is_gmap_sequence_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1144 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
1145 }
1146
1147 pub fn normalize_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1148 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
1149 }
1150
1151 pub fn join_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1152 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
1153 }
1154
1155 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1156 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
1157 }
1158}
1159
1160#[cfg(feature = "app-gamesavedata")]
1161impl GameSaveData {
1162 #[doc = "`.ctor()` — no args"]
1163 pub fn new() -> Self {
1164 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1165 panic!(
1166 "{}
1167::{}
1168 failed to instantiate",
1169 ::core::stringify!(GameSaveData),
1170 ::core::stringify!(new),
1171 )
1172 });
1173 <Self as IGameSaveDataMethods>::ctor(this);
1174 this
1175 }
1176
1177 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32)` — overload selector"]
1178 pub fn new_2(r#type: crate::app::gamesavedata::GameSaveData_Types, index: i32) -> Self {
1179 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1180 panic!(
1181 "{}
1182::{}
1183 failed to instantiate",
1184 ::core::stringify!(GameSaveData),
1185 ::core::stringify!(new_2),
1186 )
1187 });
1188 <Self as IGameSaveDataMethods>::ctor_2(this, r#type, index);
1189 this
1190 }
1191}
1192
1193#[cfg(feature = "app-gamesavedata")]
1194impl GameSaveData_ProcWrite {
1195 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData)` overload"]
1196 pub fn create_bind(
1197 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
1198 save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>,
1199 ) -> () {
1200 unsafe {
1201 ::unity::il2cpp_call!((::unity::module_base()+0x1e6a0c0usize)as*mut u8,();
1202(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
1203 }
1204 }
1205}
1206
1207#[cfg(feature = "app-gamesavedata")]
1208pub trait IGameSaveData_ProcWriteMethods: IGameSaveData_ProcWrite {
1209 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` overload"]
1210 fn ctor(self, save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>) -> () {
1211 unsafe {
1212 let __receiver =
1213 <GameSaveData_ProcWrite as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1214 ::unity::il2cpp_call!((::unity::module_base()+0x1e6abd0usize)as*mut u8,();
1215(GameSaveData_ProcWrite)__receiver,(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
1216 }
1217 }
1218 #[doc = "`IsShowing()` overload"]
1219 fn is_showing(self) -> bool {
1220 unsafe {
1221 let __receiver =
1222 <GameSaveData_ProcWrite as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1223 {
1224 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1225 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
1226 panic!(
1227 "unity: virtual slot {}
1228 out of range (vtable len {}
1229) on the runtime class behind {}
1230 (method `{}
1231`)",
1232 18usize,
1233 __vt.len(),
1234 <GameSaveData_ProcWrite as ::unity::ClassIdentity>::NAME,
1235 "IsShowing",
1236 )
1237 });
1238 let __inner: extern "C" fn(GameSaveData_ProcWrite, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
1239 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1240 __inner(__receiver, __mi)
1241 }
1242 }
1243 }
1244 #[doc = "`MessageOpen()` overload"]
1245 fn message_open(self) -> () {
1246 unsafe {
1247 let __receiver =
1248 <GameSaveData_ProcWrite as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1249 ::unity::il2cpp_call!((::unity::module_base()+0x1e6ad90usize)as*mut u8,();
1250(GameSaveData_ProcWrite)__receiver)
1251 }
1252 }
1253 #[doc = "`ModifyForParentalControl()` overload"]
1254 fn modify_for_parental_control(self) -> () {
1255 unsafe {
1256 let __receiver =
1257 <GameSaveData_ProcWrite as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1258 ::unity::il2cpp_call!((::unity::module_base()+0x1e6adf0usize)as*mut u8,();
1259(GameSaveData_ProcWrite)__receiver)
1260 }
1261 }
1262 #[doc = "`Write()` overload"]
1263 fn write(self) -> () {
1264 unsafe {
1265 let __receiver =
1266 <GameSaveData_ProcWrite as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1267 ::unity::il2cpp_call!((::unity::module_base()+0x1e6ae10usize)as*mut u8,();
1268(GameSaveData_ProcWrite)__receiver)
1269 }
1270 }
1271 #[doc = "`WriteGlobal()` overload"]
1272 fn write_global(self) -> () {
1273 unsafe {
1274 let __receiver =
1275 <GameSaveData_ProcWrite as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1276 ::unity::il2cpp_call!((::unity::module_base()+0x1e6aef0usize)as*mut u8,();
1277(GameSaveData_ProcWrite)__receiver)
1278 }
1279 }
1280 #[doc = "`Success()` overload"]
1281 fn success(self) -> () {
1282 unsafe {
1283 let __receiver =
1284 <GameSaveData_ProcWrite as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1285 ::unity::il2cpp_call!((::unity::module_base()+0x1e6af40usize)as*mut u8,();
1286(GameSaveData_ProcWrite)__receiver)
1287 }
1288 }
1289}
1290
1291#[cfg(feature = "app-gamesavedata")]
1292impl<__T: IGameSaveData_ProcWrite> IGameSaveData_ProcWriteMethods for __T {}
1293
1294#[cfg(feature = "app-gamesavedata")]
1295impl GameSaveData_ProcWrite {
1296 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1297 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1298 }
1299
1300 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1301 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1302 }
1303
1304 pub fn is_showing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1305 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1306 }
1307
1308 pub fn message_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1309 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1310 }
1311
1312 pub fn modify_for_parental_control_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1313 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1314 }
1315
1316 pub fn write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1317 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1318 }
1319
1320 pub fn write_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1321 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1322 }
1323
1324 pub fn success_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1325 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1326 }
1327}
1328
1329#[cfg(feature = "app-gamesavedata")]
1330impl GameSaveData_ProcWrite {
1331 #[doc = "Direct (non-virtual) call to `GameSaveData_ProcWrite`'s own `IsShowing`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1332 pub unsafe fn is_showing(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1333 let __mi = Self::is_showing_method_info();
1334 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1335 __inner(this.into(), ::core::option::Option::None)
1336 }
1337}
1338
1339#[cfg(feature = "app-gamesavedata")]
1340impl GameSaveData_ProcWrite {
1341 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` — overload selector"]
1342 pub fn new(save_data: crate::app::gamesavedata::GameSaveData) -> Self {
1343 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1344 panic!(
1345 "{}
1346::{}
1347 failed to instantiate",
1348 ::core::stringify!(GameSaveData_ProcWrite),
1349 ::core::stringify!(new),
1350 )
1351 });
1352 <Self as IGameSaveData_ProcWriteMethods>::ctor(this, save_data);
1353 this
1354 }
1355}
1356
1357#[cfg(feature = "app-gamesavedata")]
1358impl GameSaveData_Tag {
1359 #[doc = "`ToInt(::unity::Il2CppString)` overload"]
1360 pub fn to_int(s: impl ::core::convert::Into<::unity::Il2CppString>) -> i32 {
1361 unsafe {
1362 ::unity::il2cpp_call!((::unity::module_base()+0x1e6af50usize)as*mut u8,i32;
1363(::unity::Il2CppString)::core::convert::Into::into(s))
1364 }
1365 }
1366
1367 #[doc = "`.cctor()` overload"]
1368 pub fn cctor() -> () {
1369 unsafe {
1370 ::unity::il2cpp_call!((::unity::module_base()+0x1e6afc0usize)as*mut u8,();
1371 )
1372 }
1373 }
1374}
1375
1376#[cfg(feature = "app-gamesavedata")]
1377impl GameSaveData_Tag {
1378 pub fn to_int_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1380 }
1381
1382 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1383 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1384 }
1385}
1386
1387#[cfg(feature = "app-gamesavedata")]
1388impl GameSaveData_ProcRead {
1389 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData)` overload"]
1390 pub fn create_bind(
1391 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
1392 save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>,
1393 ) -> () {
1394 unsafe {
1395 ::unity::il2cpp_call!((::unity::module_base()+0x1e69620usize)as*mut u8,();
1396(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
1397 }
1398 }
1399}
1400
1401#[cfg(feature = "app-gamesavedata")]
1402pub trait IGameSaveData_ProcReadMethods: IGameSaveData_ProcRead {
1403 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` overload"]
1404 fn ctor(self, save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>) -> () {
1405 unsafe {
1406 let __receiver = <GameSaveData_ProcRead as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1407 ::unity::il2cpp_call!((::unity::module_base()+0x1e69d80usize)as*mut u8,();
1408(GameSaveData_ProcRead)__receiver,(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
1409 }
1410 }
1411 #[doc = "`MessageOpen()` overload"]
1412 fn message_open(self) -> () {
1413 unsafe {
1414 let __receiver = <GameSaveData_ProcRead as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1415 ::unity::il2cpp_call!((::unity::module_base()+0x1e69dc0usize)as*mut u8,();
1416(GameSaveData_ProcRead)__receiver)
1417 }
1418 }
1419 #[doc = "`Read()` overload"]
1420 fn read(self) -> () {
1421 unsafe {
1422 let __receiver = <GameSaveData_ProcRead as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1423 ::unity::il2cpp_call!((::unity::module_base()+0x1e69e20usize)as*mut u8,();
1424(GameSaveData_ProcRead)__receiver)
1425 }
1426 }
1427 #[doc = "`Deserialize()` overload"]
1428 fn deserialize(self) -> () {
1429 unsafe {
1430 let __receiver = <GameSaveData_ProcRead as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1431 ::unity::il2cpp_call!((::unity::module_base()+0x1e69ef0usize)as*mut u8,();
1432(GameSaveData_ProcRead)__receiver)
1433 }
1434 }
1435 #[doc = "`CleanupRelayUserGlobalData()` overload"]
1436 fn cleanup_relay_user_global_data(self) -> () {
1437 unsafe {
1438 let __receiver = <GameSaveData_ProcRead as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1439 ::unity::il2cpp_call!((::unity::module_base()+0x1e69fd0usize)as*mut u8,();
1440(GameSaveData_ProcRead)__receiver)
1441 }
1442 }
1443 #[doc = "`ModifyForParentalControl()` overload"]
1444 fn modify_for_parental_control(self) -> () {
1445 unsafe {
1446 let __receiver = <GameSaveData_ProcRead as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1447 ::unity::il2cpp_call!((::unity::module_base()+0x1e6a080usize)as*mut u8,();
1448(GameSaveData_ProcRead)__receiver)
1449 }
1450 }
1451 #[doc = "`IsShowing()` overload"]
1452 fn is_showing(self) -> bool {
1453 unsafe {
1454 let __receiver = <GameSaveData_ProcRead as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1455 {
1456 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1457 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
1458 panic!(
1459 "unity: virtual slot {}
1460 out of range (vtable len {}
1461) on the runtime class behind {}
1462 (method `{}
1463`)",
1464 18usize,
1465 __vt.len(),
1466 <GameSaveData_ProcRead as ::unity::ClassIdentity>::NAME,
1467 "IsShowing",
1468 )
1469 });
1470 let __inner: extern "C" fn(GameSaveData_ProcRead, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
1471 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1472 __inner(__receiver, __mi)
1473 }
1474 }
1475 }
1476}
1477
1478#[cfg(feature = "app-gamesavedata")]
1479impl<__T: IGameSaveData_ProcRead> IGameSaveData_ProcReadMethods for __T {}
1480
1481#[cfg(feature = "app-gamesavedata")]
1482impl GameSaveData_ProcRead {
1483 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1484 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1485 }
1486
1487 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1488 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1489 }
1490
1491 pub fn message_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1492 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1493 }
1494
1495 pub fn read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1496 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1497 }
1498
1499 pub fn deserialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1500 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1501 }
1502
1503 pub fn cleanup_relay_user_global_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1504 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1505 }
1506
1507 pub fn modify_for_parental_control_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1508 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1509 }
1510
1511 pub fn is_showing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1512 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1513 }
1514}
1515
1516#[cfg(feature = "app-gamesavedata")]
1517impl GameSaveData_ProcRead {
1518 #[doc = "Direct (non-virtual) call to `GameSaveData_ProcRead`'s own `IsShowing`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1519 pub unsafe fn is_showing(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1520 let __mi = Self::is_showing_method_info();
1521 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1522 __inner(this.into(), ::core::option::Option::None)
1523 }
1524}
1525
1526#[cfg(feature = "app-gamesavedata")]
1527impl GameSaveData_ProcRead {
1528 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` — overload selector"]
1529 pub fn new(save_data: crate::app::gamesavedata::GameSaveData) -> Self {
1530 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1531 panic!(
1532 "{}
1533::{}
1534 failed to instantiate",
1535 ::core::stringify!(GameSaveData_ProcRead),
1536 ::core::stringify!(new),
1537 )
1538 });
1539 <Self as IGameSaveData_ProcReadMethods>::ctor(this, save_data);
1540 this
1541 }
1542}
1543
1544#[cfg(feature = "app-gamesavedata")]
1545impl GameSaveData_ProcCopy {
1546 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData)` overload"]
1547 pub fn create_bind(
1548 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
1549 save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>,
1550 ) -> () {
1551 unsafe {
1552 ::unity::il2cpp_call!((::unity::module_base()+0x1e676d0usize)as*mut u8,();
1553(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
1554 }
1555 }
1556}
1557
1558#[cfg(feature = "app-gamesavedata")]
1559pub trait IGameSaveData_ProcCopyMethods: IGameSaveData_ProcCopy {
1560 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` overload"]
1561 fn ctor(self, save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>) -> () {
1562 unsafe {
1563 let __receiver = <GameSaveData_ProcCopy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1564 ::unity::il2cpp_call!((::unity::module_base()+0x1e68190usize)as*mut u8,();
1565(GameSaveData_ProcCopy)__receiver,(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
1566 }
1567 }
1568 #[doc = "`MessageOpen()` overload"]
1569 fn message_open(self) -> () {
1570 unsafe {
1571 let __receiver = <GameSaveData_ProcCopy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1572 ::unity::il2cpp_call!((::unity::module_base()+0x1e681d0usize)as*mut u8,();
1573(GameSaveData_ProcCopy)__receiver)
1574 }
1575 }
1576 #[doc = "`Read()` overload"]
1577 fn read(self) -> () {
1578 unsafe {
1579 let __receiver = <GameSaveData_ProcCopy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1580 ::unity::il2cpp_call!((::unity::module_base()+0x1e68230usize)as*mut u8,();
1581(GameSaveData_ProcCopy)__receiver)
1582 }
1583 }
1584 #[doc = "`Write()` overload"]
1585 fn write(self) -> () {
1586 unsafe {
1587 let __receiver = <GameSaveData_ProcCopy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1588 ::unity::il2cpp_call!((::unity::module_base()+0x1e68340usize)as*mut u8,();
1589(GameSaveData_ProcCopy)__receiver)
1590 }
1591 }
1592 #[doc = "`Success()` overload"]
1593 fn success(self) -> () {
1594 unsafe {
1595 let __receiver = <GameSaveData_ProcCopy as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1596 ::unity::il2cpp_call!((::unity::module_base()+0x1e684c0usize)as*mut u8,();
1597(GameSaveData_ProcCopy)__receiver)
1598 }
1599 }
1600}
1601
1602#[cfg(feature = "app-gamesavedata")]
1603impl<__T: IGameSaveData_ProcCopy> IGameSaveData_ProcCopyMethods for __T {}
1604
1605#[cfg(feature = "app-gamesavedata")]
1606impl GameSaveData_ProcCopy {
1607 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1608 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1609 }
1610
1611 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1612 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1613 }
1614
1615 pub fn message_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1616 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1617 }
1618
1619 pub fn read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1620 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1621 }
1622
1623 pub fn write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1624 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1625 }
1626
1627 pub fn success_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1628 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1629 }
1630}
1631
1632#[cfg(feature = "app-gamesavedata")]
1633impl GameSaveData_ProcCopy {
1634 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` — overload selector"]
1635 pub fn new(save_data: crate::app::gamesavedata::GameSaveData) -> Self {
1636 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1637 panic!(
1638 "{}
1639::{}
1640 failed to instantiate",
1641 ::core::stringify!(GameSaveData_ProcCopy),
1642 ::core::stringify!(new),
1643 )
1644 });
1645 <Self as IGameSaveData_ProcCopyMethods>::ctor(this, save_data);
1646 this
1647 }
1648}
1649
1650#[cfg(feature = "app-gamesavedata")]
1651pub trait IGameSaveData_ProcBaseMethods: IGameSaveData_ProcBase {
1652 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` overload"]
1653 fn ctor(self, save_data: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData>) -> () {
1654 unsafe {
1655 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1656 ::unity::il2cpp_call!((::unity::module_base()+0x1e66cd0usize)as*mut u8,();
1657(GameSaveData_ProcBase)__receiver,(crate::app::gamesavedata::GameSaveData)::core::convert::Into::into(save_data))
1658 }
1659 }
1660 #[doc = "`PauseExitApp()` overload"]
1661 fn pause_exit_app(self) -> () {
1662 unsafe {
1663 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1664 ::unity::il2cpp_call!((::unity::module_base()+0x1e66d10usize)as*mut u8,();
1665(GameSaveData_ProcBase)__receiver)
1666 }
1667 }
1668 #[doc = "`ResumeExitApp()` overload"]
1669 fn resume_exit_app(self) -> () {
1670 unsafe {
1671 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1672 ::unity::il2cpp_call!((::unity::module_base()+0x1e66d80usize)as*mut u8,();
1673(GameSaveData_ProcBase)__receiver)
1674 }
1675 }
1676 #[doc = "`ResumeExitAppAndJumpIfFailed(i32)` overload"]
1677 fn resume_exit_app_and_jump_if_failed(self, label: impl ::core::convert::Into<i32>) -> () {
1678 unsafe {
1679 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1680 ::unity::il2cpp_call!((::unity::module_base()+0x1e66df0usize)as*mut u8,();
1681(GameSaveData_ProcBase)__receiver,(i32)::core::convert::Into::into(label))
1682 }
1683 }
1684 #[doc = "`WriteGlobalCore(crate::app::stream_2::Stream_2, ::unity::Array<u8>)` overload"]
1685 fn write_global_core(
1686 self,
1687 stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>,
1688 data: impl ::core::convert::Into<::unity::Array<u8>>,
1689 ) -> () {
1690 unsafe {
1691 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1692 ::unity::il2cpp_call!((::unity::module_base()+0x1e66eb0usize)as*mut u8,();
1693(GameSaveData_ProcBase)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream),(::unity::Array<u8>)::core::convert::Into::into(data))
1694 }
1695 }
1696 #[doc = "`Check(crate::app::stream_2::Stream_2, ::unity::Il2CppString)` overload"]
1697 fn check(
1698 self,
1699 stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>,
1700 path: impl ::core::convert::Into<::unity::Il2CppString>,
1701 ) -> () {
1702 unsafe {
1703 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1704 ::unity::il2cpp_call!((::unity::module_base()+0x1e66fc0usize)as*mut u8,();
1705(GameSaveData_ProcBase)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream),(::unity::Il2CppString)::core::convert::Into::into(path))
1706 }
1707 }
1708 #[doc = "`Commit()` overload"]
1709 fn commit(self) -> () {
1710 unsafe {
1711 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1712 ::unity::il2cpp_call!((::unity::module_base()+0x1e66fd0usize)as*mut u8,();
1713(GameSaveData_ProcBase)__receiver)
1714 }
1715 }
1716 #[doc = "`IsRunning()` overload"]
1717 fn is_running(self) -> bool {
1718 unsafe {
1719 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1720 ::unity::il2cpp_call!((::unity::module_base()+0x1e67060usize)as*mut u8,bool;
1721(GameSaveData_ProcBase)__receiver)
1722 }
1723 }
1724 #[doc = "`IsFailed()` overload"]
1725 fn is_failed(self) -> bool {
1726 unsafe {
1727 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1728 ::unity::il2cpp_call!((::unity::module_base()+0x1e66e90usize)as*mut u8,bool;
1729(GameSaveData_ProcBase)__receiver)
1730 }
1731 }
1732 #[doc = "`IsShowing()` overload"]
1733 fn is_showing(self) -> bool {
1734 unsafe {
1735 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1736 {
1737 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1738 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
1739 panic!(
1740 "unity: virtual slot {}
1741 out of range (vtable len {}
1742) on the runtime class behind {}
1743 (method `{}
1744`)",
1745 18usize,
1746 __vt.len(),
1747 <GameSaveData_ProcBase as ::unity::ClassIdentity>::NAME,
1748 "IsShowing",
1749 )
1750 });
1751 let __inner: extern "C" fn(GameSaveData_ProcBase, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
1752 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1753 __inner(__receiver, __mi)
1754 }
1755 }
1756 }
1757 #[doc = "`MessageOpen(::unity::Il2CppString)` overload"]
1758 fn message_open(self, mid: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
1759 unsafe {
1760 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1761 ::unity::il2cpp_call!((::unity::module_base()+0x1e67090usize)as*mut u8,();
1762(GameSaveData_ProcBase)__receiver,(::unity::Il2CppString)::core::convert::Into::into(mid))
1763 }
1764 }
1765 #[doc = "`MessageClose()` overload"]
1766 fn message_close(self) -> () {
1767 unsafe {
1768 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1769 ::unity::il2cpp_call!((::unity::module_base()+0x1e671f0usize)as*mut u8,();
1770(GameSaveData_ProcBase)__receiver)
1771 }
1772 }
1773 #[doc = "`StartMessageTime()` overload"]
1774 fn start_message_time(self) -> () {
1775 unsafe {
1776 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1777 ::unity::il2cpp_call!((::unity::module_base()+0x1e672b0usize)as*mut u8,();
1778(GameSaveData_ProcBase)__receiver)
1779 }
1780 }
1781 #[doc = "`GetWaitMessageTime()` overload"]
1782 fn get_wait_message_time(self) -> f32 {
1783 unsafe {
1784 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1785 ::unity::il2cpp_call!((::unity::module_base()+0x1e67320usize)as*mut u8,f32;
1786(GameSaveData_ProcBase)__receiver)
1787 }
1788 }
1789 #[doc = "`WaitMessageTime()` overload"]
1790 fn wait_message_time(self) -> () {
1791 unsafe {
1792 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1793 ::unity::il2cpp_call!((::unity::module_base()+0x1e67350usize)as*mut u8,();
1794(GameSaveData_ProcBase)__receiver)
1795 }
1796 }
1797 #[doc = "`SaveStartSoundEvent()` overload"]
1798 fn save_start_sound_event(self) -> () {
1799 unsafe {
1800 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1801 ::unity::il2cpp_call!((::unity::module_base()+0x1e67420usize)as*mut u8,();
1802(GameSaveData_ProcBase)__receiver)
1803 }
1804 }
1805 #[doc = "`SaveEndSoundEvent()` overload"]
1806 fn save_end_sound_event(self) -> () {
1807 unsafe {
1808 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1809 ::unity::il2cpp_call!((::unity::module_base()+0x1e674c0usize)as*mut u8,();
1810(GameSaveData_ProcBase)__receiver)
1811 }
1812 }
1813 #[doc = "`ModifyForParentalControlImpl()` overload"]
1814 fn modify_for_parental_control_impl(self) -> () {
1815 unsafe {
1816 let __receiver = <GameSaveData_ProcBase as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1817 ::unity::il2cpp_call!((::unity::module_base()+0x1e67560usize)as*mut u8,();
1818(GameSaveData_ProcBase)__receiver)
1819 }
1820 }
1821}
1822
1823#[cfg(feature = "app-gamesavedata")]
1824impl<__T: IGameSaveData_ProcBase> IGameSaveData_ProcBaseMethods for __T {}
1825
1826#[cfg(feature = "app-gamesavedata")]
1827impl GameSaveData_ProcBase {
1828 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1829 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1830 }
1831
1832 pub fn pause_exit_app_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1833 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1834 }
1835
1836 pub fn resume_exit_app_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1837 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1838 }
1839
1840 pub fn resume_exit_app_and_jump_if_failed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1842 }
1843
1844 pub fn write_global_core_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1846 }
1847
1848 pub fn check_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1850 }
1851
1852 pub fn commit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1854 }
1855
1856 pub fn is_running_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1858 }
1859
1860 pub fn is_failed_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1862 }
1863
1864 pub fn is_showing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1866 }
1867
1868 pub fn message_open_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1870 }
1871
1872 pub fn message_close_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1874 }
1875
1876 pub fn start_message_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1878 }
1879
1880 pub fn get_wait_message_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1882 }
1883
1884 pub fn wait_message_time_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1886 }
1887
1888 pub fn save_start_sound_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1890 }
1891
1892 pub fn save_end_sound_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1893 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1894 }
1895
1896 pub fn modify_for_parental_control_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1897 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1898 }
1899}
1900
1901#[cfg(feature = "app-gamesavedata")]
1902impl GameSaveData_ProcBase {
1903 #[doc = "Direct (non-virtual) call to `GameSaveData_ProcBase`'s own `IsShowing`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1904 pub unsafe fn is_showing(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1905 let __mi = Self::is_showing_method_info();
1906 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1907 __inner(this.into(), ::core::option::Option::None)
1908 }
1909}
1910
1911#[cfg(feature = "app-gamesavedata")]
1912impl GameSaveData_ProcBase {
1913 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData)` — overload selector"]
1914 pub fn new(save_data: crate::app::gamesavedata::GameSaveData) -> Self {
1915 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1916 panic!(
1917 "{}
1918::{}
1919 failed to instantiate",
1920 ::core::stringify!(GameSaveData_ProcBase),
1921 ::core::stringify!(new),
1922 )
1923 });
1924 <Self as IGameSaveData_ProcBaseMethods>::ctor(this, save_data);
1925 this
1926 }
1927}
1928
1929#[cfg(feature = "app-gamesavedata")]
1930pub trait IGameSaveData_Tag_WriterMethods: IGameSaveData_Tag_Writer {
1931 #[doc = "`.ctor(crate::app::stream_2::Stream_2)` overload"]
1932 fn ctor(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
1933 unsafe {
1934 let __receiver =
1935 <GameSaveData_Tag_Writer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1936 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a5f0usize)as*mut u8,();
1937(GameSaveData_Tag_Writer)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
1938 }
1939 }
1940 #[doc = "`Write(crate::app::stream_2::Stream_2, i32)` overload"]
1941 fn write(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, tag: impl ::core::convert::Into<i32>) -> () {
1942 unsafe {
1943 let __receiver =
1944 <GameSaveData_Tag_Writer as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1945 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a890usize)as*mut u8,();
1946(GameSaveData_Tag_Writer)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream),(i32)::core::convert::Into::into(tag))
1947 }
1948 }
1949}
1950
1951#[cfg(feature = "app-gamesavedata")]
1952impl<__T: IGameSaveData_Tag_Writer> IGameSaveData_Tag_WriterMethods for __T {}
1953
1954#[cfg(feature = "app-gamesavedata")]
1955impl GameSaveData_Tag_Writer {
1956 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1957 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1958 }
1959
1960 pub fn write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1961 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1962 }
1963}
1964
1965#[cfg(feature = "app-gamesavedata")]
1966impl GameSaveData_Tag_Writer {
1967 #[doc = "`.ctor(crate::app::stream_2::Stream_2)` — overload selector"]
1968 pub fn new(stream: crate::app::stream_2::Stream_2) -> Self {
1969 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1970 panic!(
1971 "{}
1972::{}
1973 failed to instantiate",
1974 ::core::stringify!(GameSaveData_Tag_Writer),
1975 ::core::stringify!(new),
1976 )
1977 });
1978 <Self as IGameSaveData_Tag_WriterMethods>::ctor(this, stream);
1979 this
1980 }
1981}
1982
1983#[cfg(feature = "app-gamesavedata")]
1984pub trait IGameSaveData_Tag_ReaderMethods: IGameSaveData_Tag_Reader {
1985 #[doc = "`.ctor(crate::app::stream_2::Stream_2)` overload"]
1986 fn ctor(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>) -> () {
1987 unsafe {
1988 let __receiver =
1989 <GameSaveData_Tag_Reader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1990 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a250usize)as*mut u8,();
1991(GameSaveData_Tag_Reader)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream))
1992 }
1993 }
1994 #[doc = "`Read(crate::app::stream_2::Stream_2, i32)` overload"]
1995 fn read(self, stream: impl ::core::convert::Into<crate::app::stream_2::Stream_2>, index: impl ::core::convert::Into<i32>) -> i32 {
1996 unsafe {
1997 let __receiver =
1998 <GameSaveData_Tag_Reader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1999 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a490usize)as*mut u8,i32;
2000(GameSaveData_Tag_Reader)__receiver,(crate::app::stream_2::Stream_2)::core::convert::Into::into(stream),(i32)::core::convert::Into::into(index))
2001 }
2002 }
2003 #[doc = "`get_Count()` overload"]
2004 fn get_count(self) -> i32 {
2005 unsafe {
2006 let __receiver =
2007 <GameSaveData_Tag_Reader as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2008 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a5a0usize)as*mut u8,i32;
2009(GameSaveData_Tag_Reader)__receiver)
2010 }
2011 }
2012}
2013
2014#[cfg(feature = "app-gamesavedata")]
2015impl<__T: IGameSaveData_Tag_Reader> IGameSaveData_Tag_ReaderMethods for __T {}
2016
2017#[cfg(feature = "app-gamesavedata")]
2018impl GameSaveData_Tag_Reader {
2019 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2020 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2021 }
2022
2023 pub fn read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2024 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2025 }
2026
2027 pub fn get_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2028 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2029 }
2030}
2031
2032#[cfg(feature = "app-gamesavedata")]
2033impl GameSaveData_Tag_Reader {
2034 #[doc = "`.ctor(crate::app::stream_2::Stream_2)` — overload selector"]
2035 pub fn new(stream: crate::app::stream_2::Stream_2) -> Self {
2036 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2037 panic!(
2038 "{}
2039::{}
2040 failed to instantiate",
2041 ::core::stringify!(GameSaveData_Tag_Reader),
2042 ::core::stringify!(new),
2043 )
2044 });
2045 <Self as IGameSaveData_Tag_ReaderMethods>::ctor(this, stream);
2046 this
2047 }
2048}
2049
2050#[cfg(feature = "app-gamesavedata")]
2051#[doc(hidden)]
2052pub mod prelude {
2053 pub use super::{
2054 GameSaveData, GameSaveData_ProcBase, GameSaveData_ProcCopy, GameSaveData_ProcCopy_Label, GameSaveData_ProcDelete,
2055 GameSaveData_ProcDelete_Label, GameSaveData_ProcRead, GameSaveData_ProcRead_Label, GameSaveData_ProcWrite, GameSaveData_ProcWrite_Label,
2056 GameSaveData_Tag, GameSaveData_Tag_Reader, GameSaveData_Tag_Writer, GameSaveData_Types, IGameSaveData, IGameSaveDataMethods,
2057 IGameSaveData_ProcBase, IGameSaveData_ProcBaseMethods, IGameSaveData_ProcCopy, IGameSaveData_ProcCopyMethods, IGameSaveData_ProcDelete,
2058 IGameSaveData_ProcDeleteMethods, IGameSaveData_ProcRead, IGameSaveData_ProcReadMethods, IGameSaveData_ProcWrite,
2059 IGameSaveData_ProcWriteMethods, IGameSaveData_Tag, IGameSaveData_Tag_Reader, IGameSaveData_Tag_ReaderMethods, IGameSaveData_Tag_Writer,
2060 IGameSaveData_Tag_WriterMethods,
2061 };
2062 #[cfg(feature = "app-procinst")]
2063 pub use crate::app::procinst::IProcInstMethods;
2064 #[cfg(feature = "app-procwaitmessagebase")]
2065 pub use crate::app::procwaitmessagebase::IProcWaitMessageBaseMethods;
2066 #[cfg(feature = "system-object")]
2067 pub use crate::system::object::IObjectMethods;
2068 #[cfg(feature = "system-enum")]
2069 pub use crate::system::r#enum::IEnumMethods;
2070 #[cfg(feature = "system-valuetype")]
2071 pub use crate::system::valuetype::IValueTypeMethods;
2072 pub use crate::{
2073 app::{procinst::IProcInst, procwaitmessagebase::IProcWaitMessageBase},
2074 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
2075 };
2076}