Skip to main content

engage/generated/app/
relayprofilesequence.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-relayprofilesequence-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            basicdialogitem::{BasicDialogItem, IBasicDialogItem},
11            basicdialogitemyes::{BasicDialogItemYes, IBasicDialogItemYes},
12            basicmenuitem::{BasicMenuItem, IBasicMenuItem},
13            procinst::{IProcInst, ProcInst},
14        },
15        system::{
16            object::{IObject, Object},
17            r#enum::{Enum, IEnum},
18            valuetype::{IValueType, ValueType},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayprofilesequence/RelayProfileSequence_UploadSequence.md"))]
23    #[::unity::class(namespace = "App", name = "RelayProfileSequence.UploadSequence")]
24    #[parent(crate::app::procinst::ProcInst)]
25    pub struct RelayProfileSequence_UploadSequence {
26        #[offset(112)]
27        #[rename(name = "m_Profile")]
28        pub m_profile: crate::app::profilecard::ProfileCard,
29    }
30
31    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayprofilesequence/RelayProfileSequence_DownloadSequence_Label.md"))]
32    #[repr(C)]
33    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
34    pub struct RelayProfileSequence_DownloadSequence_Label {
35        pub value: i32,
36    }
37    impl ::unity::ClassIdentity for RelayProfileSequence_DownloadSequence_Label {
38        const NAME: &'static str = "RelayProfileSequence.DownloadSequence.Label";
39        const NAMESPACE: &'static str = "App";
40
41        fn class() -> ::unity::Class {
42            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
43            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
44        }
45    }
46    impl ::unity::IlType for RelayProfileSequence_DownloadSequence_Label {
47        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
48            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
49        }
50    }
51    impl RelayProfileSequence_DownloadSequence_Label {
52        pub fn download() -> Self {
53            Self { value: 0 }
54        }
55
56        pub fn sanitize() -> Self {
57            Self { value: 1 }
58        }
59
60        pub fn save() -> Self {
61            Self { value: 2 }
62        }
63
64        pub fn end() -> Self {
65            Self { value: 3 }
66        }
67    }
68
69    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayprofilesequence/RelayProfileSequence_DownloadSequence_DownloadYesNoDialog.md"))]
70    #[::unity::class(namespace = "App", name = "RelayProfileSequence.DownloadSequence.DownloadYesNoDialog")]
71    #[parent(crate::system::object::Object)]
72    pub struct RelayProfileSequence_DownloadSequence_DownloadYesNoDialog {}
73
74    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayprofilesequence/RelayProfileSequence_DownloadSequence.md"))]
75    #[::unity::class(namespace = "App", name = "RelayProfileSequence.DownloadSequence")]
76    #[parent(crate::app::procinst::ProcInst)]
77    pub struct RelayProfileSequence_DownloadSequence {
78        #[offset(112)]
79        #[rename(name = "m_PrincipalId")]
80        pub m_principal_id: u64,
81        #[offset(120)]
82        #[rename(name = "m_PlayerIds")]
83        pub m_player_ids: crate::system::collections::generic::list_1::List_1<u64>,
84        #[offset(128)]
85        #[rename(name = "m_PlayerIdIndex")]
86        pub m_player_id_index: i32,
87        #[offset(136)]
88        #[rename(name = "m_Profiles")]
89        pub m_profiles: crate::system::collections::generic::list_1::List_1<crate::app::profilecard::ProfileCard>,
90    }
91
92    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayprofilesequence/RelayProfileSequence.md"))]
93    #[::unity::class(namespace = "App", name = "RelayProfileSequence")]
94    #[parent(crate::system::object::Object)]
95    pub struct RelayProfileSequence {}
96
97    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/relayprofilesequence/RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem.md"))]
98    #[::unity::class(namespace = "App", name = "RelayProfileSequence.DownloadSequence.DownloadYesNoDialog.YesItem")]
99    #[parent(crate::app::basicdialogitemyes::BasicDialogItemYes)]
100    pub struct RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem {
101        #[offset(112)]
102        #[rename(name = "m_DecideCallback")]
103        pub m_decide_callback: crate::system::action::Action,
104    }
105}
106
107#[cfg(feature = "app-relayprofilesequence-types")]
108pub use __types::*;
109
110#[cfg(feature = "app-relayprofilesequence")]
111impl RelayProfileSequence_UploadSequence {
112    #[doc = "`CreateBind(crate::app::procinst::ProcInst)` overload"]
113    pub fn create_bind(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
114        unsafe {
115            ::unity::il2cpp_call!((::unity::module_base()+0x1b07940usize)as*mut u8,();
116(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
117        }
118    }
119}
120
121#[cfg(feature = "app-relayprofilesequence")]
122pub trait IRelayProfileSequence_UploadSequenceMethods: IRelayProfileSequence_UploadSequence {
123    #[doc = "`.ctor()` overload"]
124    fn ctor(self) -> () {
125        unsafe {
126            let __receiver = <RelayProfileSequence_UploadSequence as ::unity::FromIlInstance>::from_il_instance(
127                <Self as ::unity::SystemObject>::as_instance(self),
128            );
129            ::unity::il2cpp_call!((::unity::module_base()+0x1b07770usize)as*mut u8,();
130(RelayProfileSequence_UploadSequence)__receiver)
131        }
132    }
133    #[doc = "`Sanitize()` overload"]
134    fn sanitize(self) -> () {
135        unsafe {
136            let __receiver = <RelayProfileSequence_UploadSequence as ::unity::FromIlInstance>::from_il_instance(
137                <Self as ::unity::SystemObject>::as_instance(self),
138            );
139            ::unity::il2cpp_call!((::unity::module_base()+0x1b07810usize)as*mut u8,();
140(RelayProfileSequence_UploadSequence)__receiver)
141        }
142    }
143    #[doc = "`Upload()` overload"]
144    fn upload(self) -> () {
145        unsafe {
146            let __receiver = <RelayProfileSequence_UploadSequence as ::unity::FromIlInstance>::from_il_instance(
147                <Self as ::unity::SystemObject>::as_instance(self),
148            );
149            ::unity::il2cpp_call!((::unity::module_base()+0x1b078b0usize)as*mut u8,();
150(RelayProfileSequence_UploadSequence)__receiver)
151        }
152    }
153}
154
155#[cfg(feature = "app-relayprofilesequence")]
156impl<__T: IRelayProfileSequence_UploadSequence> IRelayProfileSequence_UploadSequenceMethods for __T {}
157
158#[cfg(feature = "app-relayprofilesequence")]
159impl RelayProfileSequence_UploadSequence {
160    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
161        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
162    }
163
164    pub fn sanitize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
165        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
166    }
167
168    pub fn upload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
169        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
170    }
171
172    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
173        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
174    }
175}
176
177#[cfg(feature = "app-relayprofilesequence")]
178impl RelayProfileSequence_UploadSequence {
179    #[doc = "`.ctor()` — no args"]
180    pub fn new() -> Self {
181        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
182            panic!(
183                "{}
184::{}
185 failed to instantiate",
186                ::core::stringify!(RelayProfileSequence_UploadSequence),
187                ::core::stringify!(new),
188            )
189        });
190        <Self as IRelayProfileSequence_UploadSequenceMethods>::ctor(this);
191        this
192    }
193}
194
195#[cfg(feature = "app-relayprofilesequence")]
196impl RelayProfileSequence_DownloadSequence_DownloadYesNoDialog {
197    #[doc = "`CreateBind(crate::app::procinst::ProcInst, ::unity::Il2CppString, crate::system::action::Action)` overload"]
198    pub fn create_bind(
199        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
200        mess: impl ::core::convert::Into<::unity::Il2CppString>,
201        decide_callback: impl ::core::convert::Into<crate::system::action::Action>,
202    ) -> () {
203        unsafe {
204            ::unity::il2cpp_call!((::unity::module_base()+0x1b7bcd0usize)as*mut u8,();
205(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(::unity::Il2CppString)::core::convert::Into::into(mess),(crate::system::action::Action)::core::convert::Into::into(decide_callback))
206        }
207    }
208}
209
210#[cfg(feature = "app-relayprofilesequence")]
211pub trait IRelayProfileSequence_DownloadSequence_DownloadYesNoDialogMethods: IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog {
212    #[doc = "`.ctor()` overload"]
213    fn ctor(self) -> () {
214        unsafe {
215            let __receiver = <RelayProfileSequence_DownloadSequence_DownloadYesNoDialog as ::unity::FromIlInstance>::from_il_instance(
216                <Self as ::unity::SystemObject>::as_instance(self),
217            );
218            ::unity::il2cpp_call!((::unity::module_base()+0x1b7bd60usize)as*mut u8,();
219(RelayProfileSequence_DownloadSequence_DownloadYesNoDialog)__receiver)
220        }
221    }
222}
223
224#[cfg(feature = "app-relayprofilesequence")]
225impl<__T: IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog> IRelayProfileSequence_DownloadSequence_DownloadYesNoDialogMethods for __T {}
226
227#[cfg(feature = "app-relayprofilesequence")]
228impl RelayProfileSequence_DownloadSequence_DownloadYesNoDialog {
229    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
230        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
231    }
232
233    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
234        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
235    }
236}
237
238#[cfg(feature = "app-relayprofilesequence")]
239impl RelayProfileSequence_DownloadSequence_DownloadYesNoDialog {
240    #[doc = "`.ctor()` — no args"]
241    pub fn new() -> Self {
242        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
243            panic!(
244                "{}
245::{}
246 failed to instantiate",
247                ::core::stringify!(RelayProfileSequence_DownloadSequence_DownloadYesNoDialog),
248                ::core::stringify!(new),
249            )
250        });
251        <Self as IRelayProfileSequence_DownloadSequence_DownloadYesNoDialogMethods>::ctor(this);
252        this
253    }
254}
255
256#[cfg(feature = "app-relayprofilesequence")]
257impl RelayProfileSequence_DownloadSequence {
258    #[doc = "`CreateBind(crate::app::procinst::ProcInst, u64, crate::system::collections::generic::list_1::List_1<u64>)` overload"]
259    pub fn create_bind(
260        super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>,
261        principal_id: impl ::core::convert::Into<u64>,
262        player_ids: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<u64>>,
263    ) -> () {
264        unsafe {
265            ::unity::il2cpp_call!((::unity::module_base()+0x1b070e0usize)as*mut u8,();
266(crate::app::procinst::ProcInst)::core::convert::Into::into(super_),(u64)::core::convert::Into::into(principal_id),(crate::system::collections::generic::list_1::List_1<u64>)::core::convert::Into::into(player_ids))
267        }
268    }
269}
270
271#[cfg(feature = "app-relayprofilesequence")]
272pub trait IRelayProfileSequence_DownloadSequenceMethods: IRelayProfileSequence_DownloadSequence {
273    #[doc = "`.ctor(u64, crate::system::collections::generic::list_1::List_1<u64>)` overload"]
274    fn ctor(
275        self,
276        principal_id: impl ::core::convert::Into<u64>,
277        player_ids: impl ::core::convert::Into<crate::system::collections::generic::list_1::List_1<u64>>,
278    ) -> () {
279        unsafe {
280            let __receiver = <RelayProfileSequence_DownloadSequence as ::unity::FromIlInstance>::from_il_instance(
281                <Self as ::unity::SystemObject>::as_instance(self),
282            );
283            ::unity::il2cpp_call!((::unity::module_base()+0x1b067c0usize)as*mut u8,();
284(RelayProfileSequence_DownloadSequence)__receiver,(u64)::core::convert::Into::into(principal_id),(crate::system::collections::generic::list_1::List_1<u64>)::core::convert::Into::into(player_ids))
285        }
286    }
287    #[doc = "`Download()` overload"]
288    fn download(self) -> () {
289        unsafe {
290            let __receiver = <RelayProfileSequence_DownloadSequence as ::unity::FromIlInstance>::from_il_instance(
291                <Self as ::unity::SystemObject>::as_instance(self),
292            );
293            ::unity::il2cpp_call!((::unity::module_base()+0x1b06880usize)as*mut u8,();
294(RelayProfileSequence_DownloadSequence)__receiver)
295        }
296    }
297    #[doc = "`Postdownload()` overload"]
298    fn postdownload(self) -> () {
299        unsafe {
300            let __receiver = <RelayProfileSequence_DownloadSequence as ::unity::FromIlInstance>::from_il_instance(
301                <Self as ::unity::SystemObject>::as_instance(self),
302            );
303            ::unity::il2cpp_call!((::unity::module_base()+0x1b06a10usize)as*mut u8,();
304(RelayProfileSequence_DownloadSequence)__receiver)
305        }
306    }
307    #[doc = "`NextPlayer()` overload"]
308    fn next_player(self) -> () {
309        unsafe {
310            let __receiver = <RelayProfileSequence_DownloadSequence as ::unity::FromIlInstance>::from_il_instance(
311                <Self as ::unity::SystemObject>::as_instance(self),
312            );
313            ::unity::il2cpp_call!((::unity::module_base()+0x1b06bc0usize)as*mut u8,();
314(RelayProfileSequence_DownloadSequence)__receiver)
315        }
316    }
317    #[doc = "`Sanitize()` overload"]
318    fn sanitize(self) -> () {
319        unsafe {
320            let __receiver = <RelayProfileSequence_DownloadSequence as ::unity::FromIlInstance>::from_il_instance(
321                <Self as ::unity::SystemObject>::as_instance(self),
322            );
323            ::unity::il2cpp_call!((::unity::module_base()+0x1b06bd0usize)as*mut u8,();
324(RelayProfileSequence_DownloadSequence)__receiver)
325        }
326    }
327    #[doc = "`ConfirmSave()` overload"]
328    fn confirm_save(self) -> () {
329        unsafe {
330            let __receiver = <RelayProfileSequence_DownloadSequence as ::unity::FromIlInstance>::from_il_instance(
331                <Self as ::unity::SystemObject>::as_instance(self),
332            );
333            ::unity::il2cpp_call!((::unity::module_base()+0x1b06da0usize)as*mut u8,();
334(RelayProfileSequence_DownloadSequence)__receiver)
335        }
336    }
337    #[doc = "`Save()` overload"]
338    fn save(self) -> () {
339        unsafe {
340            let __receiver = <RelayProfileSequence_DownloadSequence as ::unity::FromIlInstance>::from_il_instance(
341                <Self as ::unity::SystemObject>::as_instance(self),
342            );
343            ::unity::il2cpp_call!((::unity::module_base()+0x1b06ef0usize)as*mut u8,();
344(RelayProfileSequence_DownloadSequence)__receiver)
345        }
346    }
347}
348
349#[cfg(feature = "app-relayprofilesequence")]
350impl<__T: IRelayProfileSequence_DownloadSequence> IRelayProfileSequence_DownloadSequenceMethods for __T {}
351
352#[cfg(feature = "app-relayprofilesequence")]
353impl RelayProfileSequence_DownloadSequence {
354    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
355        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
356    }
357
358    pub fn download_method_info() -> &'static ::unity::il2cpp::MethodInfo {
359        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
360    }
361
362    pub fn postdownload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
363        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
364    }
365
366    pub fn next_player_method_info() -> &'static ::unity::il2cpp::MethodInfo {
367        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
368    }
369
370    pub fn sanitize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
371        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
372    }
373
374    pub fn confirm_save_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
376    }
377
378    pub fn save_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
380    }
381
382    pub fn create_bind_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
384    }
385}
386
387#[cfg(feature = "app-relayprofilesequence")]
388impl RelayProfileSequence_DownloadSequence {
389    #[doc = "`.ctor(u64, crate::system::collections::generic::list_1::List_1<u64>)` — overload selector"]
390    pub fn new(principal_id: u64, player_ids: crate::system::collections::generic::list_1::List_1<u64>) -> Self {
391        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
392            panic!(
393                "{}
394::{}
395 failed to instantiate",
396                ::core::stringify!(RelayProfileSequence_DownloadSequence),
397                ::core::stringify!(new),
398            )
399        });
400        <Self as IRelayProfileSequence_DownloadSequenceMethods>::ctor(this, principal_id, player_ids);
401        this
402    }
403}
404
405#[cfg(feature = "app-relayprofilesequence")]
406impl RelayProfileSequence {
407    #[doc = "`CreateBindUpload(crate::app::procinst::ProcInst)` overload"]
408    pub fn create_bind_upload(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
409        unsafe {
410            ::unity::il2cpp_call!((::unity::module_base()+0x2001ce0usize)as*mut u8,();
411(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
412        }
413    }
414
415    #[doc = "`CreateBindDownload(crate::app::procinst::ProcInst)` overload"]
416    pub fn create_bind_download(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
417        unsafe {
418            ::unity::il2cpp_call!((::unity::module_base()+0x2001cf0usize)as*mut u8,();
419(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
420        }
421    }
422
423    #[doc = "`GetPrincipalId()` overload"]
424    pub fn get_principal_id() -> u64 {
425        unsafe {
426            ::unity::il2cpp_call!((::unity::module_base()+0x2001e20usize)as*mut u8,u64;
427            )
428        }
429    }
430
431    #[doc = "`GetPlayerIds()` overload"]
432    pub fn get_player_ids() -> crate::system::collections::generic::list_1::List_1<u64> {
433        unsafe {
434            ::unity::il2cpp_call!((::unity::module_base()+0x2001ec0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<u64> ;
435            )
436        }
437    }
438}
439
440#[cfg(feature = "app-relayprofilesequence")]
441pub trait IRelayProfileSequenceMethods: IRelayProfileSequence {
442    #[doc = "`.ctor()` overload"]
443    fn ctor(self) -> () {
444        unsafe {
445            let __receiver = <RelayProfileSequence as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
446            ::unity::il2cpp_call!((::unity::module_base()+0x2001f40usize)as*mut u8,();
447(RelayProfileSequence)__receiver)
448        }
449    }
450}
451
452#[cfg(feature = "app-relayprofilesequence")]
453impl<__T: IRelayProfileSequence> IRelayProfileSequenceMethods for __T {}
454
455#[cfg(feature = "app-relayprofilesequence")]
456impl RelayProfileSequence {
457    pub fn create_bind_upload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
459    }
460
461    pub fn create_bind_download_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
463    }
464
465    pub fn get_principal_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
467    }
468
469    pub fn get_player_ids_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
471    }
472
473    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
475    }
476}
477
478#[cfg(feature = "app-relayprofilesequence")]
479impl RelayProfileSequence {
480    #[doc = "`.ctor()` — no args"]
481    pub fn new() -> Self {
482        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
483            panic!(
484                "{}
485::{}
486 failed to instantiate",
487                ::core::stringify!(RelayProfileSequence),
488                ::core::stringify!(new),
489            )
490        });
491        <Self as IRelayProfileSequenceMethods>::ctor(this);
492        this
493    }
494}
495
496#[cfg(feature = "app-relayprofilesequence")]
497pub trait IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItemMethods:
498    IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem
499{
500    #[doc = "`.ctor(crate::system::action::Action)` overload"]
501    fn ctor(self, decide_callback: impl ::core::convert::Into<crate::system::action::Action>) -> () {
502        unsafe {
503            let __receiver = <RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem as ::unity::FromIlInstance>::from_il_instance(
504                <Self as ::unity::SystemObject>::as_instance(self),
505            );
506            ::unity::il2cpp_call!((::unity::module_base()+0x3ed92d0usize)as*mut u8,();
507(RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem)__receiver,(crate::system::action::Action)::core::convert::Into::into(decide_callback))
508        }
509    }
510    #[doc = "`ACall()` overload"]
511    fn a_call(self) -> crate::app::basicmenu::BasicMenu_Result {
512        unsafe {
513            let __receiver = <RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem as ::unity::FromIlInstance>::from_il_instance(
514                <Self as ::unity::SystemObject>::as_instance(self),
515            );
516            {
517                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
518                let __vi = *__vt.get(18usize).unwrap_or_else(|| {
519                    panic!(
520                        "unity: virtual slot {}
521 out of range (vtable len {}
522) on the runtime class behind {}
523 (method `{}
524`)",
525                        18usize,
526                        __vt.len(),
527                        <RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem as ::unity::ClassIdentity>::NAME,
528                        "ACall",
529                    )
530                });
531                let __inner: extern "C" fn(
532                    RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem,
533                    ::unity::OptionalMethod,
534                ) -> crate::app::basicmenu::BasicMenu_Result = ::core::mem::transmute(__vi.method_ptr);
535                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
536                __inner(__receiver, __mi)
537            }
538        }
539    }
540}
541
542#[cfg(feature = "app-relayprofilesequence")]
543impl<__T: IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem>
544    IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItemMethods for __T
545{
546}
547
548#[cfg(feature = "app-relayprofilesequence")]
549impl RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem {
550    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
551        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
552    }
553
554    pub fn a_call_method_info() -> &'static ::unity::il2cpp::MethodInfo {
555        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
556    }
557}
558
559#[cfg(feature = "app-relayprofilesequence")]
560impl RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem {
561    #[doc = "Direct (non-virtual) call to `RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem`'s own `ACall`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
562    pub unsafe fn a_call(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::app::basicmenu::BasicMenu_Result {
563        let __mi = Self::a_call_method_info();
564        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::app::basicmenu::BasicMenu_Result =
565            ::core::mem::transmute(__mi.method_ptr);
566        __inner(this.into(), ::core::option::Option::None)
567    }
568}
569
570#[cfg(feature = "app-relayprofilesequence")]
571impl RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem {
572    #[doc = "`.ctor(crate::system::action::Action)` — overload selector"]
573    pub fn new(decide_callback: crate::system::action::Action) -> Self {
574        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
575            panic!(
576                "{}
577::{}
578 failed to instantiate",
579                ::core::stringify!(RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem),
580                ::core::stringify!(new),
581            )
582        });
583        <Self as IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItemMethods>::ctor(this, decide_callback);
584        this
585    }
586}
587
588#[cfg(feature = "app-relayprofilesequence")]
589#[doc(hidden)]
590pub mod prelude {
591    pub use super::{
592        IRelayProfileSequence, IRelayProfileSequenceMethods, IRelayProfileSequence_DownloadSequence, IRelayProfileSequence_DownloadSequenceMethods,
593        IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog, IRelayProfileSequence_DownloadSequence_DownloadYesNoDialogMethods,
594        IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem,
595        IRelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItemMethods, IRelayProfileSequence_UploadSequence,
596        IRelayProfileSequence_UploadSequenceMethods, RelayProfileSequence, RelayProfileSequence_DownloadSequence,
597        RelayProfileSequence_DownloadSequence_DownloadYesNoDialog, RelayProfileSequence_DownloadSequence_DownloadYesNoDialog_YesItem,
598        RelayProfileSequence_DownloadSequence_Label, RelayProfileSequence_UploadSequence,
599    };
600    #[cfg(feature = "app-basicdialogitem")]
601    pub use crate::app::basicdialogitem::IBasicDialogItemMethods;
602    #[cfg(feature = "app-basicdialogitemyes")]
603    pub use crate::app::basicdialogitemyes::IBasicDialogItemYesMethods;
604    #[cfg(feature = "app-basicmenuitem")]
605    pub use crate::app::basicmenuitem::IBasicMenuItemMethods;
606    #[cfg(feature = "app-procinst")]
607    pub use crate::app::procinst::IProcInstMethods;
608    #[cfg(feature = "system-object")]
609    pub use crate::system::object::IObjectMethods;
610    #[cfg(feature = "system-enum")]
611    pub use crate::system::r#enum::IEnumMethods;
612    #[cfg(feature = "system-valuetype")]
613    pub use crate::system::valuetype::IValueTypeMethods;
614    pub use crate::{
615        app::{basicdialogitem::IBasicDialogItem, basicdialogitemyes::IBasicDialogItemYes, basicmenuitem::IBasicMenuItem, procinst::IProcInst},
616        system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
617    };
618}