Skip to main content

engage/generated/app/
unitcommandinterruptinspector.rs

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