1#[cfg(feature = "app-gamesavedatautil-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::procinst::{IProcInst, ProcInst},
10 system::{
11 delegate::{Delegate, IDelegate},
12 multicastdelegate::{IMulticastDelegate, MulticastDelegate},
13 object::{IObject, Object},
14 r#enum::{Enum, IEnum},
15 valuetype::{IValueType, ValueType},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedatautil/GameSaveDataUtil.md"))]
20 #[::unity::class(namespace = "App", name = "GameSaveDataUtil")]
21 #[parent(crate::system::object::Object)]
22 pub struct GameSaveDataUtil {}
23
24 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedatautil/GameSaveDataUtil_ProcDeleteAll_Data.md"))]
25 #[::unity::class(namespace = "App", name = "GameSaveDataUtil.ProcDeleteAll.Data")]
26 #[parent(crate::system::object::Object)]
27 pub struct GameSaveDataUtil_ProcDeleteAll_Data {}
28
29 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedatautil/GameSaveDataUtil_ProcProcess_Modes.md"))]
30 #[repr(C)]
31 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
32 pub struct GameSaveDataUtil_ProcProcess_Modes {
33 pub value: i32,
34 }
35 impl ::unity::ClassIdentity for GameSaveDataUtil_ProcProcess_Modes {
36 const NAME: &'static str = "GameSaveDataUtil.ProcProcess.Modes";
37 const NAMESPACE: &'static str = "App";
38
39 fn class() -> ::unity::Class {
40 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
41 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
42 }
43 }
44 impl ::unity::IlType for GameSaveDataUtil_ProcProcess_Modes {
45 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
46 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
47 }
48 }
49 impl GameSaveDataUtil_ProcProcess_Modes {
50 pub fn read() -> Self {
51 Self { value: 0 }
52 }
53
54 pub fn write() -> Self {
55 Self { value: 1 }
56 }
57
58 pub fn delete() -> Self {
59 Self { value: 2 }
60 }
61
62 pub fn copy() -> Self {
63 Self { value: 3 }
64 }
65 }
66
67 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedatautil/GameSaveDataUtil_ProcProcess.md"))]
68 #[::unity::class(namespace = "App", name = "GameSaveDataUtil.ProcProcess")]
69 #[parent(crate::app::procinst::ProcInst)]
70 pub struct GameSaveDataUtil_ProcProcess {
71 #[offset(112)]
72 #[rename(name = "m_SaveData")]
73 pub m_save_data: crate::app::gamesavedata::GameSaveData,
74 #[offset(120)]
75 #[rename(name = "m_Mode")]
76 pub m_mode: crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes,
77 #[offset(128)]
78 #[rename(name = "m_ResultCallback")]
79 pub m_result_callback: crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult,
80 #[offset(136)]
81 #[rename(name = "m_ResultHeaderCallback")]
82 pub m_result_header_callback: crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader,
83 }
84
85 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedatautil/GameSaveDataUtil_ProcDeleteAll.md"))]
86 #[::unity::class(namespace = "App", name = "GameSaveDataUtil.ProcDeleteAll")]
87 #[parent(crate::app::procinst::ProcInst)]
88 pub struct GameSaveDataUtil_ProcDeleteAll {
89 #[offset(112)]
90 #[rename(name = "m_Data")]
91 pub m_data: crate::system::collections::generic::list_1::List_1<crate::app::gamesavedatautil::GameSaveDataUtil_ProcDeleteAll_Data>,
92 }
93
94 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedatautil/GameSaveDataUtil_ProcessResultWithHeader.md"))]
95 #[::unity::class(namespace = "App", name = "GameSaveDataUtil.ProcessResultWithHeader")]
96 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
97 pub struct GameSaveDataUtil_ProcessResultWithHeader {}
98
99 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/gamesavedatautil/GameSaveDataUtil_ProcessResult.md"))]
100 #[::unity::class(namespace = "App", name = "GameSaveDataUtil.ProcessResult")]
101 #[parent(crate::system::multicastdelegate::MulticastDelegate)]
102 pub struct GameSaveDataUtil_ProcessResult {}
103}
104
105#[cfg(feature = "app-gamesavedatautil-types")]
106pub use __types::*;
107
108#[cfg(feature = "app-gamesavedatautil")]
109impl GameSaveDataUtil {
110 #[doc = "`IsExist(crate::app::gamesavedata::GameSaveData_Types)` overload"]
111 pub fn is_exist(r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>) -> bool {
112 unsafe {
113 ::unity::il2cpp_call!((::unity::module_base()+0x22852f0usize)as*mut u8,bool;
114(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type))
115 }
116 }
117
118 #[doc = "`IsExist(crate::app::gamesavedata::GameSaveData_Types, i32)` overload"]
119 pub fn is_exist_2(
120 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
121 index: impl ::core::convert::Into<i32>,
122 ) -> bool {
123 unsafe {
124 ::unity::il2cpp_call!((::unity::module_base()+0x2285460usize)as*mut u8,bool;
125(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index))
126 }
127 }
128
129 #[doc = "`IsExist(::unity::Il2CppString)` overload"]
130 pub fn is_exist_3(path: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
131 unsafe {
132 ::unity::il2cpp_call!((::unity::module_base()+0x2285520usize)as*mut u8,bool;
133(::unity::Il2CppString)::core::convert::Into::into(path))
134 }
135 }
136
137 #[doc = "`ReadHeader(crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedataheader::GameSaveDataHeader)` overload"]
138 pub fn read_header(
139 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
140 index: impl ::core::convert::Into<i32>,
141 header: impl ::core::convert::Into<crate::app::gamesavedataheader::GameSaveDataHeader>,
142 ) -> bool {
143 unsafe {
144 ::unity::il2cpp_call!((::unity::module_base()+0x2285590usize)as*mut u8,bool;
145(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedataheader::GameSaveDataHeader)::core::convert::Into::into(header))
146 }
147 }
148
149 #[doc = "`Read(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)` overload"]
150 pub fn read(
151 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
152 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
153 index: impl ::core::convert::Into<i32>,
154 result_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult>,
155 ) -> () {
156 unsafe {
157 ::unity::il2cpp_call!((::unity::module_base()+0x2285730usize)as*mut u8,();
158(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)::core::convert::Into::into(result_callback))
159 }
160 }
161
162 #[doc = "`ReadGlobal(crate::app::procinst::ProcInst)` overload"]
163 pub fn read_global(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
164 unsafe {
165 ::unity::il2cpp_call!((::unity::module_base()+0x2285880usize)as*mut u8,();
166(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
167 }
168 }
169
170 #[doc = "`Write(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` overload"]
171 pub fn write(
172 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
173 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
174 index: impl ::core::convert::Into<i32>,
175 result_header_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader>,
176 ) -> () {
177 unsafe {
178 ::unity::il2cpp_call!((::unity::module_base()+0x2285890usize)as*mut u8,();
179(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)::core::convert::Into::into(result_header_callback))
180 }
181 }
182
183 #[doc = "`Delete(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)` overload"]
184 pub fn delete(
185 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
186 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
187 index: impl ::core::convert::Into<i32>,
188 result_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult>,
189 ) -> () {
190 unsafe {
191 ::unity::il2cpp_call!((::unity::module_base()+0x22858a0usize)as*mut u8,();
192(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)::core::convert::Into::into(result_callback))
193 }
194 }
195
196 #[doc = "`CommitTemporary(crate::app::procinst::ProcInst)` overload"]
197 pub fn commit_temporary(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
198 unsafe {
199 ::unity::il2cpp_call!((::unity::module_base()+0x22859f0usize)as*mut u8,();
200(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
201 }
202 }
203
204 #[doc = "`DeleteAll(crate::app::procinst::ProcInst)` overload"]
205 pub fn delete_all(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
206 unsafe {
207 ::unity::il2cpp_call!((::unity::module_base()+0x2285c50usize)as*mut u8,();
208(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
209 }
210 }
211
212 #[doc = "`Copy(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` overload"]
213 pub fn copy(
214 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
215 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
216 index: impl ::core::convert::Into<i32>,
217 from_type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
218 from_index: impl ::core::convert::Into<i32>,
219 result_header_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader>,
220 ) -> () {
221 unsafe {
222 ::unity::il2cpp_call!((::unity::module_base()+0x2285c60usize)as*mut u8,();
223(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(from_type),(i32)::core::convert::Into::into(from_index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)::core::convert::Into::into(result_header_callback))
224 }
225 }
226
227 #[doc = "`TryNotifyNormalizeContentsOccurred(crate::app::procinst::ProcInst)` overload"]
228 pub fn try_notify_normalize_contents_occurred(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
229 unsafe {
230 ::unity::il2cpp_call!((::unity::module_base()+0x2285dd0usize)as*mut u8,();
231(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
232 }
233 }
234}
235
236#[cfg(feature = "app-gamesavedatautil")]
237impl GameSaveDataUtil {
238 pub fn is_exist_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
240 }
241
242 pub fn is_exist_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
243 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
244 }
245
246 pub fn is_exist_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
247 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
248 }
249
250 pub fn read_header_method_info() -> &'static ::unity::il2cpp::MethodInfo {
251 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
252 }
253
254 pub fn read_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
256 }
257
258 pub fn read_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
260 }
261
262 pub fn write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
263 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
264 }
265
266 pub fn delete_method_info() -> &'static ::unity::il2cpp::MethodInfo {
267 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
268 }
269
270 pub fn commit_temporary_method_info() -> &'static ::unity::il2cpp::MethodInfo {
271 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
272 }
273
274 pub fn delete_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
275 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
276 }
277
278 pub fn copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
280 }
281
282 pub fn try_notify_normalize_contents_occurred_method_info() -> &'static ::unity::il2cpp::MethodInfo {
283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
284 }
285}
286
287#[cfg(feature = "app-gamesavedatautil")]
288pub trait IGameSaveDataUtil_ProcDeleteAll_DataMethods: IGameSaveDataUtil_ProcDeleteAll_Data {
289 #[doc = "`get_Handle()` overload"]
290 fn get_handle(self) -> crate::app::savedatahandle::SaveDataHandle {
291 unsafe {
292 let __receiver = <GameSaveDataUtil_ProcDeleteAll_Data as ::unity::FromIlInstance>::from_il_instance(
293 <Self as ::unity::SystemObject>::as_instance(self),
294 );
295 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a920usize)as*mut u8,crate::app::savedatahandle::SaveDataHandle;
296(GameSaveDataUtil_ProcDeleteAll_Data)__receiver)
297 }
298 }
299 #[doc = "`set_Handle(crate::app::savedatahandle::SaveDataHandle)` overload"]
300 fn set_handle(self, value: impl ::core::convert::Into<crate::app::savedatahandle::SaveDataHandle>) -> () {
301 unsafe {
302 let __receiver = <GameSaveDataUtil_ProcDeleteAll_Data as ::unity::FromIlInstance>::from_il_instance(
303 <Self as ::unity::SystemObject>::as_instance(self),
304 );
305 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a930usize)as*mut u8,();
306(GameSaveDataUtil_ProcDeleteAll_Data)__receiver,(crate::app::savedatahandle::SaveDataHandle)::core::convert::Into::into(value))
307 }
308 }
309 #[doc = "`.ctor()` overload"]
310 fn ctor(self) -> () {
311 unsafe {
312 let __receiver = <GameSaveDataUtil_ProcDeleteAll_Data as ::unity::FromIlInstance>::from_il_instance(
313 <Self as ::unity::SystemObject>::as_instance(self),
314 );
315 ::unity::il2cpp_call!((::unity::module_base()+0x1b3a940usize)as*mut u8,();
316(GameSaveDataUtil_ProcDeleteAll_Data)__receiver)
317 }
318 }
319}
320
321#[cfg(feature = "app-gamesavedatautil")]
322impl<__T: IGameSaveDataUtil_ProcDeleteAll_Data> IGameSaveDataUtil_ProcDeleteAll_DataMethods for __T {}
323
324#[cfg(feature = "app-gamesavedatautil")]
325impl GameSaveDataUtil_ProcDeleteAll_Data {
326 pub fn get_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
327 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
328 }
329
330 pub fn set_handle_method_info() -> &'static ::unity::il2cpp::MethodInfo {
331 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
332 }
333
334 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
335 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
336 }
337}
338
339#[cfg(feature = "app-gamesavedatautil")]
340impl GameSaveDataUtil_ProcDeleteAll_Data {
341 #[doc = "`.ctor()` — no args"]
342 pub fn new() -> Self {
343 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
344 panic!(
345 "{}
346::{}
347 failed to instantiate",
348 ::core::stringify!(GameSaveDataUtil_ProcDeleteAll_Data),
349 ::core::stringify!(new),
350 )
351 });
352 <Self as IGameSaveDataUtil_ProcDeleteAll_DataMethods>::ctor(this);
353 this
354 }
355}
356
357#[cfg(feature = "app-gamesavedatautil")]
358impl GameSaveDataUtil_ProcProcess {
359 #[doc = "`CreateBind(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)` overload"]
360 pub fn create_bind(
361 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
362 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
363 index: impl ::core::convert::Into<i32>,
364 mode: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes>,
365 result_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult>,
366 ) -> () {
367 unsafe {
368 ::unity::il2cpp_call!((::unity::module_base()+0x1e6cc20usize)as*mut u8,();
369(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes)::core::convert::Into::into(mode),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)::core::convert::Into::into(result_callback))
370 }
371 }
372
373 #[doc = "`CreateBindWrite(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` overload"]
374 pub fn create_bind_write(
375 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
376 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
377 index: impl ::core::convert::Into<i32>,
378 result_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader>,
379 ) -> () {
380 unsafe {
381 ::unity::il2cpp_call!((::unity::module_base()+0x1e6cf90usize)as*mut u8,();
382(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)::core::convert::Into::into(result_callback))
383 }
384 }
385
386 #[doc = "`CreateBindCopy(crate::app::procinst::ProcInst, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` overload"]
387 pub fn create_bind_copy(
388 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
389 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
390 index: impl ::core::convert::Into<i32>,
391 from_type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
392 from_index: impl ::core::convert::Into<i32>,
393 result_header_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader>,
394 ) -> () {
395 unsafe {
396 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d0f0usize)as*mut u8,();
397(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(from_type),(i32)::core::convert::Into::into(from_index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)::core::convert::Into::into(result_header_callback))
398 }
399 }
400
401 #[doc = "`CreateBindCommon(crate::app::procinst::ProcInst, crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess)` overload"]
402 pub fn create_bind_common(
403 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
404 p: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess>,
405 ) -> () {
406 unsafe {
407 ::unity::il2cpp_call!((::unity::module_base()+0x1e6cd90usize)as*mut u8,();
408(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess)::core::convert::Into::into(p))
409 }
410 }
411}
412
413#[cfg(feature = "app-gamesavedatautil")]
414pub trait IGameSaveDataUtil_ProcProcessMethods: IGameSaveDataUtil_ProcProcess {
415 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)` overload"]
416 fn ctor(
417 self,
418 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
419 index: impl ::core::convert::Into<i32>,
420 mode: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes>,
421 result_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult>,
422 ) -> () {
423 unsafe {
424 let __receiver =
425 <GameSaveDataUtil_ProcProcess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
426 ::unity::il2cpp_call!((::unity::module_base()+0x1e6ccc0usize)as*mut u8,();
427(GameSaveDataUtil_ProcProcess)__receiver,(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes)::core::convert::Into::into(mode),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)::core::convert::Into::into(result_callback))
428 }
429 }
430 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` overload"]
431 fn ctor_2(
432 self,
433 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
434 index: impl ::core::convert::Into<i32>,
435 result_header_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader>,
436 ) -> () {
437 unsafe {
438 let __receiver =
439 <GameSaveDataUtil_ProcProcess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
440 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d020usize)as*mut u8,();
441(GameSaveDataUtil_ProcProcess)__receiver,(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)::core::convert::Into::into(result_header_callback))
442 }
443 }
444 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` overload"]
445 fn ctor_3(
446 self,
447 r#type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
448 index: impl ::core::convert::Into<i32>,
449 from_type: impl ::core::convert::Into<crate::app::gamesavedata::GameSaveData_Types>,
450 from_index: impl ::core::convert::Into<i32>,
451 result_header_callback: impl ::core::convert::Into<crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader>,
452 ) -> () {
453 unsafe {
454 let __receiver =
455 <GameSaveDataUtil_ProcProcess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
456 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d190usize)as*mut u8,();
457(GameSaveDataUtil_ProcProcess)__receiver,(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(r#type),(i32)::core::convert::Into::into(index),(crate::app::gamesavedata::GameSaveData_Types)::core::convert::Into::into(from_type),(i32)::core::convert::Into::into(from_index),(crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)::core::convert::Into::into(result_header_callback))
458 }
459 }
460 #[doc = "`Exec()` overload"]
461 fn exec(self) -> () {
462 unsafe {
463 let __receiver =
464 <GameSaveDataUtil_ProcProcess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
465 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d280usize)as*mut u8,();
466(GameSaveDataUtil_ProcProcess)__receiver)
467 }
468 }
469 #[doc = "`Result()` overload"]
470 fn result(self) -> () {
471 unsafe {
472 let __receiver =
473 <GameSaveDataUtil_ProcProcess as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
474 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d2e0usize)as*mut u8,();
475(GameSaveDataUtil_ProcProcess)__receiver)
476 }
477 }
478}
479
480#[cfg(feature = "app-gamesavedatautil")]
481impl<__T: IGameSaveDataUtil_ProcProcess> IGameSaveDataUtil_ProcProcessMethods for __T {}
482
483#[cfg(feature = "app-gamesavedatautil")]
484impl GameSaveDataUtil_ProcProcess {
485 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
487 }
488
489 pub fn create_bind_write_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
491 }
492
493 pub fn create_bind_copy_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
495 }
496
497 pub fn create_bind_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
499 }
500
501 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
503 }
504
505 pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
507 }
508
509 pub fn ctor_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
511 }
512
513 pub fn exec_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
515 }
516
517 pub fn result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
519 }
520}
521
522#[cfg(feature = "app-gamesavedatautil")]
523impl GameSaveDataUtil_ProcProcess {
524 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult)` — overload selector"]
525 pub fn new(
526 r#type: crate::app::gamesavedata::GameSaveData_Types,
527 index: i32,
528 mode: crate::app::gamesavedatautil::GameSaveDataUtil_ProcProcess_Modes,
529 result_callback: crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResult,
530 ) -> Self {
531 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
532 panic!(
533 "{}
534::{}
535 failed to instantiate",
536 ::core::stringify!(GameSaveDataUtil_ProcProcess),
537 ::core::stringify!(new),
538 )
539 });
540 <Self as IGameSaveDataUtil_ProcProcessMethods>::ctor(this, r#type, index, mode, result_callback);
541 this
542 }
543
544 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` — overload selector"]
545 pub fn new_2(
546 r#type: crate::app::gamesavedata::GameSaveData_Types,
547 index: i32,
548 result_header_callback: crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader,
549 ) -> Self {
550 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
551 panic!(
552 "{}
553::{}
554 failed to instantiate",
555 ::core::stringify!(GameSaveDataUtil_ProcProcess),
556 ::core::stringify!(new_2),
557 )
558 });
559 <Self as IGameSaveDataUtil_ProcProcessMethods>::ctor_2(this, r#type, index, result_header_callback);
560 this
561 }
562
563 #[doc = "`.ctor(crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedata::GameSaveData_Types, i32, crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader)` — overload selector"]
564 pub fn new_3(
565 r#type: crate::app::gamesavedata::GameSaveData_Types,
566 index: i32,
567 from_type: crate::app::gamesavedata::GameSaveData_Types,
568 from_index: i32,
569 result_header_callback: crate::app::gamesavedatautil::GameSaveDataUtil_ProcessResultWithHeader,
570 ) -> Self {
571 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
572 panic!(
573 "{}
574::{}
575 failed to instantiate",
576 ::core::stringify!(GameSaveDataUtil_ProcProcess),
577 ::core::stringify!(new_3),
578 )
579 });
580 <Self as IGameSaveDataUtil_ProcProcessMethods>::ctor_3(this, r#type, index, from_type, from_index, result_header_callback);
581 this
582 }
583}
584
585#[cfg(feature = "app-gamesavedatautil")]
586impl GameSaveDataUtil_ProcDeleteAll {
587 #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
588 pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
589 unsafe {
590 ::unity::il2cpp_call!((::unity::module_base()+0x1e6c2f0usize)as*mut u8,();
591(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
592 }
593 }
594}
595
596#[cfg(feature = "app-gamesavedatautil")]
597pub trait IGameSaveDataUtil_ProcDeleteAllMethods: IGameSaveDataUtil_ProcDeleteAll {
598 #[doc = "`.ctor()` overload"]
599 fn ctor(self) -> () {
600 unsafe {
601 let __receiver =
602 <GameSaveDataUtil_ProcDeleteAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
603 ::unity::il2cpp_call!((::unity::module_base()+0x1e6c770usize)as*mut u8,();
604(GameSaveDataUtil_ProcDeleteAll)__receiver)
605 }
606 }
607 #[doc = "`PauseExitApp()` overload"]
608 fn pause_exit_app(self) -> () {
609 unsafe {
610 let __receiver =
611 <GameSaveDataUtil_ProcDeleteAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
612 ::unity::il2cpp_call!((::unity::module_base()+0x1e6c800usize)as*mut u8,();
613(GameSaveDataUtil_ProcDeleteAll)__receiver)
614 }
615 }
616 #[doc = "`ResumeExitApp()` overload"]
617 fn resume_exit_app(self) -> () {
618 unsafe {
619 let __receiver =
620 <GameSaveDataUtil_ProcDeleteAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
621 ::unity::il2cpp_call!((::unity::module_base()+0x1e6c870usize)as*mut u8,();
622(GameSaveDataUtil_ProcDeleteAll)__receiver)
623 }
624 }
625 #[doc = "`DeleteAll()` overload"]
626 fn delete_all(self) -> () {
627 unsafe {
628 let __receiver =
629 <GameSaveDataUtil_ProcDeleteAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630 ::unity::il2cpp_call!((::unity::module_base()+0x1e6c8e0usize)as*mut u8,();
631(GameSaveDataUtil_ProcDeleteAll)__receiver)
632 }
633 }
634 #[doc = "`IsRunning()` overload"]
635 fn is_running(self) -> bool {
636 unsafe {
637 let __receiver =
638 <GameSaveDataUtil_ProcDeleteAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
639 ::unity::il2cpp_call!((::unity::module_base()+0x1e6cab0usize)as*mut u8,bool;
640(GameSaveDataUtil_ProcDeleteAll)__receiver)
641 }
642 }
643 #[doc = "`WriteGlobal()` overload"]
644 fn write_global(self) -> () {
645 unsafe {
646 let __receiver =
647 <GameSaveDataUtil_ProcDeleteAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
648 ::unity::il2cpp_call!((::unity::module_base()+0x1e6cb70usize)as*mut u8,();
649(GameSaveDataUtil_ProcDeleteAll)__receiver)
650 }
651 }
652 #[doc = "`Result()` overload"]
653 fn result(self) -> () {
654 unsafe {
655 let __receiver =
656 <GameSaveDataUtil_ProcDeleteAll as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
657 ::unity::il2cpp_call!((::unity::module_base()+0x1e6cc10usize)as*mut u8,();
658(GameSaveDataUtil_ProcDeleteAll)__receiver)
659 }
660 }
661}
662
663#[cfg(feature = "app-gamesavedatautil")]
664impl<__T: IGameSaveDataUtil_ProcDeleteAll> IGameSaveDataUtil_ProcDeleteAllMethods for __T {}
665
666#[cfg(feature = "app-gamesavedatautil")]
667impl GameSaveDataUtil_ProcDeleteAll {
668 pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
669 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
670 }
671
672 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
673 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
674 }
675
676 pub fn pause_exit_app_method_info() -> &'static ::unity::il2cpp::MethodInfo {
677 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
678 }
679
680 pub fn resume_exit_app_method_info() -> &'static ::unity::il2cpp::MethodInfo {
681 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
682 }
683
684 pub fn delete_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
685 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
686 }
687
688 pub fn is_running_method_info() -> &'static ::unity::il2cpp::MethodInfo {
689 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
690 }
691
692 pub fn write_global_method_info() -> &'static ::unity::il2cpp::MethodInfo {
693 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
694 }
695
696 pub fn result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
697 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
698 }
699}
700
701#[cfg(feature = "app-gamesavedatautil")]
702impl GameSaveDataUtil_ProcDeleteAll {
703 #[doc = "`.ctor()` — no args"]
704 pub fn new() -> Self {
705 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
706 panic!(
707 "{}
708::{}
709 failed to instantiate",
710 ::core::stringify!(GameSaveDataUtil_ProcDeleteAll),
711 ::core::stringify!(new),
712 )
713 });
714 <Self as IGameSaveDataUtil_ProcDeleteAllMethods>::ctor(this);
715 this
716 }
717}
718
719#[cfg(feature = "app-gamesavedatautil")]
720pub trait IGameSaveDataUtil_ProcessResultWithHeaderMethods: IGameSaveDataUtil_ProcessResultWithHeader {
721 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
722 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
723 unsafe {
724 let __receiver = <GameSaveDataUtil_ProcessResultWithHeader as ::unity::FromIlInstance>::from_il_instance(
725 <Self as ::unity::SystemObject>::as_instance(self),
726 );
727 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d870usize)as*mut u8,();
728(GameSaveDataUtil_ProcessResultWithHeader)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
729 }
730 }
731 #[doc = "`Invoke(bool, crate::app::gamesavedataheader::GameSaveDataHeader)` overload"]
732 fn invoke(
733 self,
734 is_success: impl ::core::convert::Into<bool>,
735 header: impl ::core::convert::Into<crate::app::gamesavedataheader::GameSaveDataHeader>,
736 ) -> () {
737 unsafe {
738 let __receiver = <GameSaveDataUtil_ProcessResultWithHeader as ::unity::FromIlInstance>::from_il_instance(
739 <Self as ::unity::SystemObject>::as_instance(self),
740 );
741 {
742 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
743 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
744 panic!(
745 "unity: virtual slot {}
746 out of range (vtable len {}
747) on the runtime class behind {}
748 (method `{}
749`)",
750 13usize,
751 __vt.len(),
752 <GameSaveDataUtil_ProcessResultWithHeader as ::unity::ClassIdentity>::NAME,
753 "Invoke",
754 )
755 });
756 let __inner: extern "C" fn(
757 GameSaveDataUtil_ProcessResultWithHeader,
758 bool,
759 crate::app::gamesavedataheader::GameSaveDataHeader,
760 ::unity::OptionalMethod,
761 ) -> () = ::core::mem::transmute(__vi.method_ptr);
762 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
763 __inner(
764 __receiver,
765 ::core::convert::Into::into(is_success),
766 ::core::convert::Into::into(header),
767 __mi,
768 )
769 }
770 }
771 }
772}
773
774#[cfg(feature = "app-gamesavedatautil")]
775impl<__T: IGameSaveDataUtil_ProcessResultWithHeader> IGameSaveDataUtil_ProcessResultWithHeaderMethods for __T {}
776
777#[cfg(feature = "app-gamesavedatautil")]
778impl GameSaveDataUtil_ProcessResultWithHeader {
779 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
780 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
781 }
782
783 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
784 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
785 }
786}
787
788#[cfg(feature = "app-gamesavedatautil")]
789impl GameSaveDataUtil_ProcessResultWithHeader {
790 #[doc = "Direct (non-virtual) call to `GameSaveDataUtil_ProcessResultWithHeader`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
791 pub unsafe fn invoke(
792 this: impl ::core::convert::Into<::unity::IlInstance>,
793 is_success: bool,
794 header: crate::app::gamesavedataheader::GameSaveDataHeader,
795 ) -> () {
796 let __mi = Self::invoke_method_info();
797 let __inner: extern "C" fn(::unity::IlInstance, bool, crate::app::gamesavedataheader::GameSaveDataHeader, ::unity::OptionalMethod) -> () =
798 ::core::mem::transmute(__mi.method_ptr);
799 __inner(this.into(), is_success, header, ::core::option::Option::None)
800 }
801}
802
803#[cfg(feature = "app-gamesavedatautil")]
804impl GameSaveDataUtil_ProcessResultWithHeader {
805 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
806 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
807 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
808 panic!(
809 "{}
810::{}
811 failed to instantiate",
812 ::core::stringify!(GameSaveDataUtil_ProcessResultWithHeader),
813 ::core::stringify!(new),
814 )
815 });
816 <Self as IGameSaveDataUtil_ProcessResultWithHeaderMethods>::ctor(this, object, method);
817 this
818 }
819}
820
821#[cfg(feature = "app-gamesavedatautil")]
822pub trait IGameSaveDataUtil_ProcessResultMethods: IGameSaveDataUtil_ProcessResult {
823 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` overload"]
824 fn ctor(self, object: impl ::core::convert::Into<crate::system::object::Object>, method: impl ::core::convert::Into<::unity::IntPtr>) -> () {
825 unsafe {
826 let __receiver =
827 <GameSaveDataUtil_ProcessResult as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
828 ::unity::il2cpp_call!((::unity::module_base()+0x1e6d7a0usize)as*mut u8,();
829(GameSaveDataUtil_ProcessResult)__receiver,(crate::system::object::Object)::core::convert::Into::into(object),(::unity::IntPtr)::core::convert::Into::into(method))
830 }
831 }
832 #[doc = "`Invoke(bool)` overload"]
833 fn invoke(self, is_success: impl ::core::convert::Into<bool>) -> () {
834 unsafe {
835 let __receiver =
836 <GameSaveDataUtil_ProcessResult as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
837 {
838 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
839 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
840 panic!(
841 "unity: virtual slot {}
842 out of range (vtable len {}
843) on the runtime class behind {}
844 (method `{}
845`)",
846 13usize,
847 __vt.len(),
848 <GameSaveDataUtil_ProcessResult as ::unity::ClassIdentity>::NAME,
849 "Invoke",
850 )
851 });
852 let __inner: extern "C" fn(GameSaveDataUtil_ProcessResult, bool, ::unity::OptionalMethod) -> () =
853 ::core::mem::transmute(__vi.method_ptr);
854 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
855 __inner(__receiver, ::core::convert::Into::into(is_success), __mi)
856 }
857 }
858 }
859}
860
861#[cfg(feature = "app-gamesavedatautil")]
862impl<__T: IGameSaveDataUtil_ProcessResult> IGameSaveDataUtil_ProcessResultMethods for __T {}
863
864#[cfg(feature = "app-gamesavedatautil")]
865impl GameSaveDataUtil_ProcessResult {
866 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
867 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
868 }
869
870 pub fn invoke_method_info() -> &'static ::unity::il2cpp::MethodInfo {
871 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
872 }
873}
874
875#[cfg(feature = "app-gamesavedatautil")]
876impl GameSaveDataUtil_ProcessResult {
877 #[doc = "Direct (non-virtual) call to `GameSaveDataUtil_ProcessResult`'s own `Invoke`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
878 pub unsafe fn invoke(this: impl ::core::convert::Into<::unity::IlInstance>, is_success: bool) -> () {
879 let __mi = Self::invoke_method_info();
880 let __inner: extern "C" fn(::unity::IlInstance, bool, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
881 __inner(this.into(), is_success, ::core::option::Option::None)
882 }
883}
884
885#[cfg(feature = "app-gamesavedatautil")]
886impl GameSaveDataUtil_ProcessResult {
887 #[doc = "`.ctor(crate::system::object::Object, ::unity::IntPtr)` — overload selector"]
888 pub fn new(object: crate::system::object::Object, method: ::unity::IntPtr) -> Self {
889 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
890 panic!(
891 "{}
892::{}
893 failed to instantiate",
894 ::core::stringify!(GameSaveDataUtil_ProcessResult),
895 ::core::stringify!(new),
896 )
897 });
898 <Self as IGameSaveDataUtil_ProcessResultMethods>::ctor(this, object, method);
899 this
900 }
901}
902
903#[cfg(feature = "app-gamesavedatautil")]
904#[doc(hidden)]
905pub mod prelude {
906 pub use super::{
907 GameSaveDataUtil, GameSaveDataUtil_ProcDeleteAll, GameSaveDataUtil_ProcDeleteAll_Data, GameSaveDataUtil_ProcProcess,
908 GameSaveDataUtil_ProcProcess_Modes, GameSaveDataUtil_ProcessResult, GameSaveDataUtil_ProcessResultWithHeader, IGameSaveDataUtil,
909 IGameSaveDataUtil_ProcDeleteAll, IGameSaveDataUtil_ProcDeleteAllMethods, IGameSaveDataUtil_ProcDeleteAll_Data,
910 IGameSaveDataUtil_ProcDeleteAll_DataMethods, IGameSaveDataUtil_ProcProcess, IGameSaveDataUtil_ProcProcessMethods,
911 IGameSaveDataUtil_ProcessResult, IGameSaveDataUtil_ProcessResultMethods, IGameSaveDataUtil_ProcessResultWithHeader,
912 IGameSaveDataUtil_ProcessResultWithHeaderMethods,
913 };
914 #[cfg(feature = "app-procinst")]
915 pub use crate::app::procinst::IProcInstMethods;
916 #[cfg(feature = "system-delegate")]
917 pub use crate::system::delegate::IDelegateMethods;
918 #[cfg(feature = "system-multicastdelegate")]
919 pub use crate::system::multicastdelegate::IMulticastDelegateMethods;
920 #[cfg(feature = "system-object")]
921 pub use crate::system::object::IObjectMethods;
922 #[cfg(feature = "system-enum")]
923 pub use crate::system::r#enum::IEnumMethods;
924 #[cfg(feature = "system-valuetype")]
925 pub use crate::system::valuetype::IValueTypeMethods;
926 pub use crate::{
927 app::procinst::IProcInst,
928 system::{delegate::IDelegate, multicastdelegate::IMulticastDelegate, object::IObject, r#enum::IEnum, valuetype::IValueType},
929 };
930}