engage/generated/app/
unitcommandprepareinspector.rs1#[cfg(feature = "app-unitcommandprepareinspector-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/unitcommandprepareinspector/UnitCommandPrepareInspector.md"))]
18 #[::unity::class(namespace = "App", name = "UnitCommandPrepareInspector")]
19 #[parent(crate::app::personinspector::PersonInspector)]
20 pub struct UnitCommandPrepareInspector {}
21}
22
23#[cfg(feature = "app-unitcommandprepareinspector-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-unitcommandprepareinspector")]
27pub trait IUnitCommandPrepareInspectorMethods: IUnitCommandPrepareInspector {
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 <UnitCommandPrepareInspector as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
33 ::unity::il2cpp_call!((::unity::module_base()+0x1f73a20usize)as*mut u8,();
34(UnitCommandPrepareInspector)__receiver,(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>)::core::convert::Into::into(args))
35 }
36 }
37}
38
39#[cfg(feature = "app-unitcommandprepareinspector")]
40impl<__T: IUnitCommandPrepareInspector> IUnitCommandPrepareInspectorMethods for __T {}
41
42#[cfg(feature = "app-unitcommandprepareinspector")]
43impl UnitCommandPrepareInspector {
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-unitcommandprepareinspector")]
50impl UnitCommandPrepareInspector {
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!(UnitCommandPrepareInspector),
59 ::core::stringify!(new),
60 )
61 });
62 <Self as IUnitCommandPrepareInspectorMethods>::ctor(this, args);
63 this
64 }
65}
66
67#[cfg(feature = "app-unitcommandprepareinspector")]
68#[doc(hidden)]
69pub mod prelude {
70 pub use super::{IUnitCommandPrepareInspector, IUnitCommandPrepareInspectorMethods, UnitCommandPrepareInspector};
71 #[cfg(feature = "app-mapinspector")]
72 pub use crate::app::mapinspector::IMapInspectorMethods;
73 #[cfg(feature = "app-personinspector")]
74 pub use crate::app::personinspector::IPersonInspectorMethods;
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::{mapinspector::IMapInspector, personinspector::IPersonInspector, scriptutil::IScriptUtil},
81 system::object::IObject,
82 };
83}