Skip to main content

engage/generated/app/
debugsavedatamenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-debugsavedatamenu-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/debugsavedatamenu/DebugSaveDataMenu.md"))]
11    #[::unity::class(namespace = "App", name = "DebugSaveDataMenu")]
12    #[parent(crate::system::object::Object)]
13    pub struct DebugSaveDataMenu {}
14}
15
16#[cfg(feature = "app-debugsavedatamenu-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-debugsavedatamenu")]
20impl DebugSaveDataMenu {
21    #[doc = "`CreateBindSave(crate::app::procinst::ProcInst)` overload"]
22    pub fn create_bind_save(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
23        unsafe {
24            ::unity::il2cpp_call!((::unity::module_base()+0x2a100f0usize)as*mut u8,();
25(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
26        }
27    }
28
29    #[doc = "`CreateBindLoad(crate::app::procinst::ProcInst)` overload"]
30    pub fn create_bind_load(super_: impl ::core::convert::Into<crate::app::procinst::ProcInst>) -> () {
31        unsafe {
32            ::unity::il2cpp_call!((::unity::module_base()+0x2a10100usize)as*mut u8,();
33(crate::app::procinst::ProcInst)::core::convert::Into::into(super_))
34        }
35    }
36}
37
38#[cfg(feature = "app-debugsavedatamenu")]
39pub trait IDebugSaveDataMenuMethods: IDebugSaveDataMenu {
40    #[doc = "`.ctor()` overload"]
41    fn ctor(self) -> () {
42        unsafe {
43            let __receiver = <DebugSaveDataMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
44            ::unity::il2cpp_call!((::unity::module_base()+0x2a10110usize)as*mut u8,();
45(DebugSaveDataMenu)__receiver)
46        }
47    }
48}
49
50#[cfg(feature = "app-debugsavedatamenu")]
51impl<__T: IDebugSaveDataMenu> IDebugSaveDataMenuMethods for __T {}
52
53#[cfg(feature = "app-debugsavedatamenu")]
54impl DebugSaveDataMenu {
55    pub fn create_bind_save_method_info() -> &'static ::unity::il2cpp::MethodInfo {
56        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
57    }
58
59    pub fn create_bind_load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
60        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
61    }
62
63    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
64        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
65    }
66}
67
68#[cfg(feature = "app-debugsavedatamenu")]
69impl DebugSaveDataMenu {
70    #[doc = "`.ctor()` — no args"]
71    pub fn new() -> Self {
72        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
73            panic!(
74                "{}
75::{}
76 failed to instantiate",
77                ::core::stringify!(DebugSaveDataMenu),
78                ::core::stringify!(new),
79            )
80        });
81        <Self as IDebugSaveDataMenuMethods>::ctor(this);
82        this
83    }
84}
85
86#[cfg(feature = "app-debugsavedatamenu")]
87#[doc(hidden)]
88pub mod prelude {
89    pub use super::{DebugSaveDataMenu, IDebugSaveDataMenu, IDebugSaveDataMenuMethods};
90    pub use crate::system::object::IObject;
91    #[cfg(feature = "system-object")]
92    pub use crate::system::object::IObjectMethods;
93}