Skip to main content

engage/generated/app/
targetselectinspector.rs

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