engage/generated/app/
mapbattledebug.rs1#[cfg(feature = "app-mapbattledebug-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::singletonmonobehaviour_1::{ISingletonMonoBehaviour_1, SingletonMonoBehaviour_1},
10 system::object::{IObject, Object},
11 unity_engine::{
12 behaviour::{Behaviour, IBehaviour},
13 component::{Component, IComponent},
14 monobehaviour::{IMonoBehaviour, MonoBehaviour},
15 object_2::{IObject_2, Object_2},
16 },
17 };
18
19 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapbattledebug/MapBattleDebug.md"))]
20 #[::unity::class(namespace = "App", name = "MapBattleDebug")]
21 #[parent(crate::app::singletonmonobehaviour_1::SingletonMonoBehaviour_1<crate::app::mapbattledebug::MapBattleDebug>)]
22 pub struct MapBattleDebug {}
23}
24
25#[cfg(feature = "app-mapbattledebug-types")]
26pub use __types::*;
27
28#[cfg(feature = "app-mapbattledebug")]
29pub trait IMapBattleDebugMethods: IMapBattleDebug {
30 #[doc = "`.ctor()` overload"]
31 fn ctor(self) -> () {
32 unsafe {
33 let __receiver = <MapBattleDebug as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
34 ::unity::il2cpp_call!((::unity::module_base()+0x1f03a00usize)as*mut u8,();
35(MapBattleDebug)__receiver)
36 }
37 }
38}
39
40#[cfg(feature = "app-mapbattledebug")]
41impl<__T: IMapBattleDebug> IMapBattleDebugMethods for __T {}
42
43#[cfg(feature = "app-mapbattledebug")]
44impl MapBattleDebug {
45 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
46 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
47 }
48}
49
50#[cfg(feature = "app-mapbattledebug")]
51impl MapBattleDebug {
52 #[doc = "`.ctor()` — no args"]
53 pub fn new() -> Self {
54 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
55 panic!(
56 "{}
57::{}
58 failed to instantiate",
59 ::core::stringify!(MapBattleDebug),
60 ::core::stringify!(new),
61 )
62 });
63 <Self as IMapBattleDebugMethods>::ctor(this);
64 this
65 }
66}
67
68#[cfg(feature = "app-mapbattledebug")]
69#[doc(hidden)]
70pub mod prelude {
71 pub use super::{IMapBattleDebug, IMapBattleDebugMethods, MapBattleDebug};
72 #[cfg(feature = "app-singletonmonobehaviour_1")]
73 pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
74 #[cfg(feature = "system-object")]
75 pub use crate::system::object::IObjectMethods;
76 #[cfg(feature = "unity_engine-behaviour")]
77 pub use crate::unity_engine::behaviour::IBehaviourMethods;
78 #[cfg(feature = "unity_engine-component")]
79 pub use crate::unity_engine::component::IComponentMethods;
80 #[cfg(feature = "unity_engine-monobehaviour")]
81 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
82 #[cfg(feature = "unity_engine-object_2")]
83 pub use crate::unity_engine::object_2::IObject_2Methods;
84 pub use crate::{
85 app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
86 system::object::IObject,
87 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
88 };
89}