1#[cfg(feature = "app-nexprofile-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 singletonclass_1::{ISingletonClass_1, SingletonClass_1},
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/nexprofile/NexProfile.md"))]
21 #[::unity::class(namespace = "App", name = "NexProfile")]
22 #[parent(crate::app::singletonclass_1::SingletonClass_1<crate::app::nexprofile::NexProfile>)]
23 pub struct NexProfile {
24 #[offset(28)]
25 #[rename(name = "m_LastResult")]
26 pub m_last_result: crate::app::nexprofile::NexProfile_Results,
27 #[offset(32)]
28 #[rename(name = "m_LastResultData")]
29 pub m_last_result_data: crate::app::profilecard::ProfileCard,
30 }
31
32 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/nexprofile/NexProfile_Results.md"))]
33 #[repr(C)]
34 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
35 pub struct NexProfile_Results {
36 pub value: i32,
37 }
38 impl ::unity::ClassIdentity for NexProfile_Results {
39 const NAME: &'static str = "NexProfile.Results";
40 const NAMESPACE: &'static str = "App";
41
42 fn class() -> ::unity::Class {
43 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
44 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
45 }
46 }
47 impl ::unity::IlType for NexProfile_Results {
48 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
49 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
50 }
51 }
52 impl NexProfile_Results {
53 pub fn failed() -> Self {
54 Self { value: 0 }
55 }
56
57 pub fn failed_not_found() -> Self {
58 Self { value: 1 }
59 }
60
61 pub fn failed_permission_denied() -> Self {
62 Self { value: 2 }
63 }
64
65 pub fn cancelled() -> Self {
66 Self { value: 3 }
67 }
68
69 pub fn succeeded() -> Self {
70 Self { value: 4 }
71 }
72 }
73
74 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/nexprofile/NexProfile_ServerSequence.md"))]
75 #[::unity::class(namespace = "App", name = "NexProfile.ServerSequence")]
76 #[parent(crate::app::procinst::ProcInst)]
77 pub struct NexProfile_ServerSequence {
78 #[static_field]
79 #[rename(name = "BufferSizeMax")]
80 pub buffer_size_max: i32,
81 #[offset(112)]
82 #[rename(name = "m_Mode")]
83 pub m_mode: crate::app::nexprofile::NexProfile_ServerSequence_Mode,
84 #[offset(120)]
85 #[rename(name = "m_PrincipalID")]
86 pub m_principal_id: u64,
87 #[offset(128)]
88 #[rename(name = "m_Profile")]
89 pub m_profile: crate::app::profilecard::ProfileCard,
90 #[offset(136)]
91 #[rename(name = "m_DataID")]
92 pub m_data_id: u64,
93 }
94
95 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/nexprofile/NexProfile_ServerSequence_Mode.md"))]
96 #[repr(C)]
97 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
98 pub struct NexProfile_ServerSequence_Mode {
99 pub value: i32,
100 }
101 impl ::unity::ClassIdentity for NexProfile_ServerSequence_Mode {
102 const NAME: &'static str = "NexProfile.ServerSequence.Mode";
103 const NAMESPACE: &'static str = "App";
104
105 fn class() -> ::unity::Class {
106 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
107 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
108 }
109 }
110 impl ::unity::IlType for NexProfile_ServerSequence_Mode {
111 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
112 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
113 }
114 }
115 impl NexProfile_ServerSequence_Mode {
116 pub fn upload() -> Self {
117 Self { value: 0 }
118 }
119
120 pub fn download() -> Self {
121 Self { value: 1 }
122 }
123 }
124
125 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/nexprofile/NexProfile_ServerSequence_Label.md"))]
126 #[repr(C)]
127 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
128 pub struct NexProfile_ServerSequence_Label {
129 pub value: i32,
130 }
131 impl ::unity::ClassIdentity for NexProfile_ServerSequence_Label {
132 const NAME: &'static str = "NexProfile.ServerSequence.Label";
133 const NAMESPACE: &'static str = "App";
134
135 fn class() -> ::unity::Class {
136 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
137 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
138 }
139 }
140 impl ::unity::IlType for NexProfile_ServerSequence_Label {
141 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
142 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
143 }
144 }
145 impl NexProfile_ServerSequence_Label {
146 pub fn upload() -> Self {
147 Self { value: 0 }
148 }
149
150 pub fn upload_new() -> Self {
151 Self { value: 1 }
152 }
153
154 pub fn upload_change() -> Self {
155 Self { value: 2 }
156 }
157
158 pub fn upload_change_meta() -> Self {
159 Self { value: 3 }
160 }
161
162 pub fn download() -> Self {
163 Self { value: 4 }
164 }
165
166 pub fn succeeded() -> Self {
167 Self { value: 5 }
168 }
169
170 pub fn error() -> Self {
171 Self { value: 6 }
172 }
173
174 pub fn end() -> Self {
175 Self { value: 7 }
176 }
177 }
178}
179
180#[cfg(feature = "app-nexprofile-types")]
181pub use __types::*;
182
183#[cfg(feature = "app-nexprofile")]
184pub trait INexProfileMethods: INexProfile {
185 #[doc = "`OnCreate()` overload"]
186 fn on_create(self) -> () {
187 unsafe {
188 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
189 {
190 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
191 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
192 panic!(
193 "unity: virtual slot {}
194 out of range (vtable len {}
195) on the runtime class behind {}
196 (method `{}
197`)",
198 5usize,
199 __vt.len(),
200 <NexProfile as ::unity::ClassIdentity>::NAME,
201 "OnCreate",
202 )
203 });
204 let __inner: extern "C" fn(NexProfile, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
205 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
206 __inner(__receiver, __mi)
207 }
208 }
209 }
210 #[doc = "`OnDispose()` overload"]
211 fn on_dispose(self) -> () {
212 unsafe {
213 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214 {
215 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
216 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
217 panic!(
218 "unity: virtual slot {}
219 out of range (vtable len {}
220) on the runtime class behind {}
221 (method `{}
222`)",
223 6usize,
224 __vt.len(),
225 <NexProfile as ::unity::ClassIdentity>::NAME,
226 "OnDispose",
227 )
228 });
229 let __inner: extern "C" fn(NexProfile, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
230 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
231 __inner(__receiver, __mi)
232 }
233 }
234 }
235 #[doc = "`Upload(crate::app::procinst::ProcInst, crate::app::profilecard::ProfileCard)` overload"]
236 fn upload(
237 self,
238 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
239 profile: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
240 ) -> bool {
241 unsafe {
242 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243 ::unity::il2cpp_call!((::unity::module_base()+0x1f15ee0usize)as*mut u8,bool;
244(NexProfile)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(profile))
245 }
246 }
247 #[doc = "`Download(crate::app::procinst::ProcInst, u64)` overload"]
248 fn download(self, super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>, principal_id: impl ::core::convert::Into<u64>) -> bool {
249 unsafe {
250 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
251 ::unity::il2cpp_call!((::unity::module_base()+0x1f15f30usize)as*mut u8,bool;
252(NexProfile)__receiver,(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(u64)::core::convert::Into::into(principal_id))
253 }
254 }
255 #[doc = "`get_Result()` overload"]
256 fn get_result(self) -> crate::app::nexprofile::NexProfile_Results {
257 unsafe {
258 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
259 ::unity::il2cpp_call!((::unity::module_base()+0x1f15f80usize)as*mut u8,crate::app::nexprofile::NexProfile_Results;
260(NexProfile)__receiver)
261 }
262 }
263 #[doc = "`get_ResultData()` overload"]
264 fn get_result_data(self) -> crate::app::profilecard::ProfileCard {
265 unsafe {
266 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
267 ::unity::il2cpp_call!((::unity::module_base()+0x1f15f90usize)as*mut u8,crate::app::profilecard::ProfileCard;
268(NexProfile)__receiver)
269 }
270 }
271 #[doc = "`ClearResult()` overload"]
272 fn clear_result(self) -> () {
273 unsafe {
274 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
275 ::unity::il2cpp_call!((::unity::module_base()+0x1f15ec0usize)as*mut u8,();
276(NexProfile)__receiver)
277 }
278 }
279 #[doc = "`.ctor()` overload"]
280 fn ctor(self) -> () {
281 unsafe {
282 let __receiver = <NexProfile as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
283 ::unity::il2cpp_call!((::unity::module_base()+0x1f15fa0usize)as*mut u8,();
284(NexProfile)__receiver)
285 }
286 }
287}
288
289#[cfg(feature = "app-nexprofile")]
290impl<__T: INexProfile> INexProfileMethods for __T {}
291
292#[cfg(feature = "app-nexprofile")]
293impl NexProfile {
294 pub fn on_create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
296 }
297
298 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
300 }
301
302 pub fn upload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
304 }
305
306 pub fn download_method_info() -> &'static ::unity::il2cpp::MethodInfo {
307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
308 }
309
310 pub fn get_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
311 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
312 }
313
314 pub fn get_result_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
315 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
316 }
317
318 pub fn clear_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
319 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
320 }
321
322 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
323 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
324 }
325}
326
327#[cfg(feature = "app-nexprofile")]
328impl NexProfile {
329 #[doc = "Direct (non-virtual) call to `NexProfile`'s own `OnCreate`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
330 pub unsafe fn on_create(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
331 let __mi = Self::on_create_method_info();
332 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
333 __inner(this.into(), ::core::option::Option::None)
334 }
335
336 #[doc = "Direct (non-virtual) call to `NexProfile`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
337 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
338 let __mi = Self::on_dispose_method_info();
339 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
340 __inner(this.into(), ::core::option::Option::None)
341 }
342}
343
344#[cfg(feature = "app-nexprofile")]
345impl NexProfile {
346 #[doc = "`.ctor()` — no args"]
347 pub fn new() -> Self {
348 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
349 panic!(
350 "{}
351::{}
352 failed to instantiate",
353 ::core::stringify!(NexProfile),
354 ::core::stringify!(new),
355 )
356 });
357 <Self as INexProfileMethods>::ctor(this);
358 this
359 }
360}
361
362#[cfg(feature = "app-nexprofile")]
363impl NexProfile_ServerSequence {
364 #[doc = "`CreateBindDownload(crate::app::procinst::ProcInst, u64)` overload"]
365 pub fn create_bind_download(
366 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
367 principal_id: impl ::core::convert::Into<u64>,
368 ) -> () {
369 unsafe {
370 ::unity::il2cpp_call!((::unity::module_base()+0x20a6880usize)as*mut u8,();
371(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(u64)::core::convert::Into::into(principal_id))
372 }
373 }
374
375 #[doc = "`CreateBindUpload(crate::app::procinst::ProcInst, crate::app::profilecard::ProfileCard)` overload"]
376 pub fn create_bind_upload(
377 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
378 profile: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
379 ) -> () {
380 unsafe {
381 ::unity::il2cpp_call!((::unity::module_base()+0x20a7450usize)as*mut u8,();
382(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(profile))
383 }
384 }
385
386 #[doc = "`CreateBindImpl(crate::app::procinst::ProcInst, crate::app::nexprofile::NexProfile_ServerSequence_Mode, u64, crate::app::profilecard::ProfileCard)` overload"]
387 pub fn create_bind_impl(
388 super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
389 mode: impl ::core::convert::Into<crate::app::nexprofile::NexProfile_ServerSequence_Mode>,
390 principal_id: impl ::core::convert::Into<u64>,
391 profile: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
392 ) -> () {
393 unsafe {
394 ::unity::il2cpp_call!((::unity::module_base()+0x20a6890usize)as*mut u8,();
395(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(crate::app::nexprofile::NexProfile_ServerSequence_Mode)::core::convert::Into::into(mode),(u64)::core::convert::Into::into(principal_id),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(profile))
396 }
397 }
398}
399
400#[cfg(feature = "app-nexprofile")]
401pub trait INexProfile_ServerSequenceMethods: INexProfile_ServerSequence {
402 #[doc = "`.ctor(crate::app::nexprofile::NexProfile_ServerSequence_Mode, u64, crate::app::profilecard::ProfileCard)` overload"]
403 fn ctor(
404 self,
405 mode: impl ::core::convert::Into<crate::app::nexprofile::NexProfile_ServerSequence_Mode>,
406 principal_id: impl ::core::convert::Into<u64>,
407 profile: impl ::core::convert::Into<crate::app::profilecard::ProfileCard>,
408 ) -> () {
409 unsafe {
410 let __receiver =
411 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412 ::unity::il2cpp_call!((::unity::module_base()+0x20a5560usize)as*mut u8,();
413(NexProfile_ServerSequence)__receiver,(crate::app::nexprofile::NexProfile_ServerSequence_Mode)::core::convert::Into::into(mode),(u64)::core::convert::Into::into(principal_id),(crate::app::profilecard::ProfileCard)::core::convert::Into::into(profile))
414 }
415 }
416 #[doc = "`Login()` overload"]
417 fn login(self) -> () {
418 unsafe {
419 let __receiver =
420 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
421 ::unity::il2cpp_call!((::unity::module_base()+0x20a55c0usize)as*mut u8,();
422(NexProfile_ServerSequence)__receiver)
423 }
424 }
425 #[doc = "`Postlogin()` overload"]
426 fn postlogin(self) -> () {
427 unsafe {
428 let __receiver =
429 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
430 ::unity::il2cpp_call!((::unity::module_base()+0x20a5630usize)as*mut u8,();
431(NexProfile_ServerSequence)__receiver)
432 }
433 }
434 #[doc = "`Branch()` overload"]
435 fn branch(self) -> () {
436 unsafe {
437 let __receiver =
438 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
439 ::unity::il2cpp_call!((::unity::module_base()+0x20a57a0usize)as*mut u8,();
440(NexProfile_ServerSequence)__receiver)
441 }
442 }
443 #[doc = "`UploadBranch()` overload"]
444 fn upload_branch(self) -> () {
445 unsafe {
446 let __receiver =
447 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
448 ::unity::il2cpp_call!((::unity::module_base()+0x20a5860usize)as*mut u8,();
449(NexProfile_ServerSequence)__receiver)
450 }
451 }
452 #[doc = "`UploadNew()` overload"]
453 fn upload_new(self) -> () {
454 unsafe {
455 let __receiver =
456 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
457 ::unity::il2cpp_call!((::unity::module_base()+0x20a5a60usize)as*mut u8,();
458(NexProfile_ServerSequence)__receiver)
459 }
460 }
461 #[doc = "`Change()` overload"]
462 fn change(self) -> () {
463 unsafe {
464 let __receiver =
465 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
466 ::unity::il2cpp_call!((::unity::module_base()+0x20a5e10usize)as*mut u8,();
467(NexProfile_ServerSequence)__receiver)
468 }
469 }
470 #[doc = "`ChangeMeta()` overload"]
471 fn change_meta(self) -> () {
472 unsafe {
473 let __receiver =
474 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
475 ::unity::il2cpp_call!((::unity::module_base()+0x20a6040usize)as*mut u8,();
476(NexProfile_ServerSequence)__receiver)
477 }
478 }
479 #[doc = "`SerializeData(*mut::unity::Array<u8>, *mutu32)` overload"]
480 fn serialize_data(self) -> (::unity::Array<u8>, u32) {
481 unsafe {
482 let __receiver =
483 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
484 let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Array<u8>>::uninit();
485 let mut __out_1 = ::core::mem::MaybeUninit::<u32>::uninit();
486 ::unity::il2cpp_call!((::unity::module_base()+0x20a5cf0usize)as*mut u8,();
487(NexProfile_ServerSequence)__receiver,(*mut::unity::Array<u8>)__out_0.as_mut_ptr(),(*mut u32)__out_1.as_mut_ptr());
488 (__out_0.assume_init(), __out_1.assume_init())
489 }
490 }
491 #[doc = "`Download()` overload"]
492 fn download(self) -> () {
493 unsafe {
494 let __receiver =
495 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
496 ::unity::il2cpp_call!((::unity::module_base()+0x20a6270usize)as*mut u8,();
497(NexProfile_ServerSequence)__receiver)
498 }
499 }
500 #[doc = "`DeserializeData(::unity::Array<u8>)` overload"]
501 fn deserialize_data(self, data: impl ::core::convert::Into<::unity::Array<u8>>) -> crate::app::profilecard::ProfileCard {
502 unsafe {
503 let __receiver =
504 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
505 ::unity::il2cpp_call!((::unity::module_base()+0x20a6580usize)as*mut u8,crate::app::profilecard::ProfileCard;
506(NexProfile_ServerSequence)__receiver,(::unity::Array<u8>)::core::convert::Into::into(data))
507 }
508 }
509 #[doc = "`Succeeded()` overload"]
510 fn succeeded(self) -> () {
511 unsafe {
512 let __receiver =
513 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
514 ::unity::il2cpp_call!((::unity::module_base()+0x20a6620usize)as*mut u8,();
515(NexProfile_ServerSequence)__receiver)
516 }
517 }
518 #[doc = "`SetError(crate::app::neterror::NetError_App)` overload"]
519 fn set_error(self, error: impl ::core::convert::Into<crate::app::neterror::NetError_App>) -> () {
520 unsafe {
521 let __receiver =
522 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
523 ::unity::il2cpp_call!((::unity::module_base()+0x20a59f0usize)as*mut u8,();
524(NexProfile_ServerSequence)__receiver,(crate::app::neterror::NetError_App)::core::convert::Into::into(error))
525 }
526 }
527 #[doc = "`SetErrorNotFound()` overload"]
528 fn set_error_not_found(self) -> () {
529 unsafe {
530 let __receiver =
531 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
532 ::unity::il2cpp_call!((::unity::module_base()+0x20a6710usize)as*mut u8,();
533(NexProfile_ServerSequence)__receiver)
534 }
535 }
536 #[doc = "`SetErrorPermissionDenied()` overload"]
537 fn set_error_permission_denied(self) -> () {
538 unsafe {
539 let __receiver =
540 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
541 ::unity::il2cpp_call!((::unity::module_base()+0x20a6790usize)as*mut u8,();
542(NexProfile_ServerSequence)__receiver)
543 }
544 }
545 #[doc = "`Error()` overload"]
546 fn error(self) -> () {
547 unsafe {
548 let __receiver =
549 <NexProfile_ServerSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
550 ::unity::il2cpp_call!((::unity::module_base()+0x20a6810usize)as*mut u8,();
551(NexProfile_ServerSequence)__receiver)
552 }
553 }
554}
555
556#[cfg(feature = "app-nexprofile")]
557impl<__T: INexProfile_ServerSequence> INexProfile_ServerSequenceMethods for __T {}
558
559#[cfg(feature = "app-nexprofile")]
560impl NexProfile_ServerSequence {
561 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
562 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
563 }
564
565 pub fn login_method_info() -> &'static ::unity::il2cpp::MethodInfo {
566 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
567 }
568
569 pub fn postlogin_method_info() -> &'static ::unity::il2cpp::MethodInfo {
570 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
571 }
572
573 pub fn branch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
574 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
575 }
576
577 pub fn upload_branch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
578 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
579 }
580
581 pub fn upload_new_method_info() -> &'static ::unity::il2cpp::MethodInfo {
582 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
583 }
584
585 pub fn change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
586 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
587 }
588
589 pub fn change_meta_method_info() -> &'static ::unity::il2cpp::MethodInfo {
590 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
591 }
592
593 pub fn serialize_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
594 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
595 }
596
597 pub fn download_method_info() -> &'static ::unity::il2cpp::MethodInfo {
598 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
599 }
600
601 pub fn deserialize_data_method_info() -> &'static ::unity::il2cpp::MethodInfo {
602 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
603 }
604
605 pub fn succeeded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
606 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
607 }
608
609 pub fn set_error_method_info() -> &'static ::unity::il2cpp::MethodInfo {
610 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
611 }
612
613 pub fn set_error_not_found_method_info() -> &'static ::unity::il2cpp::MethodInfo {
614 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
615 }
616
617 pub fn set_error_permission_denied_method_info() -> &'static ::unity::il2cpp::MethodInfo {
618 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
619 }
620
621 pub fn error_method_info() -> &'static ::unity::il2cpp::MethodInfo {
622 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
623 }
624
625 pub fn create_bind_download_method_info() -> &'static ::unity::il2cpp::MethodInfo {
626 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
627 }
628
629 pub fn create_bind_upload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
630 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
631 }
632
633 pub fn create_bind_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
634 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
635 }
636}
637
638#[cfg(feature = "app-nexprofile")]
639impl NexProfile_ServerSequence {
640 #[doc = "`.ctor(crate::app::nexprofile::NexProfile_ServerSequence_Mode, u64, crate::app::profilecard::ProfileCard)` — overload selector"]
641 pub fn new(
642 mode: crate::app::nexprofile::NexProfile_ServerSequence_Mode,
643 principal_id: u64,
644 profile: crate::app::profilecard::ProfileCard,
645 ) -> Self {
646 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
647 panic!(
648 "{}
649::{}
650 failed to instantiate",
651 ::core::stringify!(NexProfile_ServerSequence),
652 ::core::stringify!(new),
653 )
654 });
655 <Self as INexProfile_ServerSequenceMethods>::ctor(this, mode, principal_id, profile);
656 this
657 }
658}
659
660#[cfg(feature = "app-nexprofile")]
661#[doc(hidden)]
662pub mod prelude {
663 pub use super::{
664 INexProfile, INexProfileMethods, INexProfile_ServerSequence, INexProfile_ServerSequenceMethods, NexProfile, NexProfile_Results,
665 NexProfile_ServerSequence, NexProfile_ServerSequence_Label, NexProfile_ServerSequence_Mode,
666 };
667 #[cfg(feature = "app-procinst")]
668 pub use crate::app::procinst::IProcInstMethods;
669 #[cfg(feature = "app-singletonclass_1")]
670 pub use crate::app::singletonclass_1::ISingletonClass_1Methods;
671 #[cfg(feature = "system-object")]
672 pub use crate::system::object::IObjectMethods;
673 #[cfg(feature = "system-enum")]
674 pub use crate::system::r#enum::IEnumMethods;
675 #[cfg(feature = "system-valuetype")]
676 pub use crate::system::valuetype::IValueTypeMethods;
677 pub use crate::{
678 app::{procinst::IProcInst, singletonclass_1::ISingletonClass_1},
679 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
680 };
681}