Skip to main content

engage/generated/app/
debugchapterrecordmenu.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-debugchapterrecordmenu-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/debugchapterrecordmenu/DebugChapterRecordMenu.md"))]
11    #[::unity::class(namespace = "App", name = "DebugChapterRecordMenu")]
12    #[parent(crate::system::object::Object)]
13    pub struct DebugChapterRecordMenu {}
14}
15
16#[cfg(feature = "app-debugchapterrecordmenu-types")]
17pub use __types::*;
18
19#[cfg(feature = "app-debugchapterrecordmenu")]
20pub trait IDebugChapterRecordMenuMethods: IDebugChapterRecordMenu {
21    #[doc = "`.ctor()` overload"]
22    fn ctor(self) -> () {
23        unsafe {
24            let __receiver =
25                <DebugChapterRecordMenu as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
26            ::unity::il2cpp_call!((::unity::module_base()+0x2a02960usize)as*mut u8,();
27(DebugChapterRecordMenu)__receiver)
28        }
29    }
30}
31
32#[cfg(feature = "app-debugchapterrecordmenu")]
33impl<__T: IDebugChapterRecordMenu> IDebugChapterRecordMenuMethods for __T {}
34
35#[cfg(feature = "app-debugchapterrecordmenu")]
36impl DebugChapterRecordMenu {
37    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
38        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
39    }
40}
41
42#[cfg(feature = "app-debugchapterrecordmenu")]
43impl DebugChapterRecordMenu {
44    #[doc = "`.ctor()` — no args"]
45    pub fn new() -> Self {
46        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
47            panic!(
48                "{}
49::{}
50 failed to instantiate",
51                ::core::stringify!(DebugChapterRecordMenu),
52                ::core::stringify!(new),
53            )
54        });
55        <Self as IDebugChapterRecordMenuMethods>::ctor(this);
56        this
57    }
58}
59
60#[cfg(feature = "app-debugchapterrecordmenu")]
61#[doc(hidden)]
62pub mod prelude {
63    pub use super::{DebugChapterRecordMenu, IDebugChapterRecordMenu, IDebugChapterRecordMenuMethods};
64    pub use crate::system::object::IObject;
65    #[cfg(feature = "system-object")]
66    pub use crate::system::object::IObjectMethods;
67}