engage/generated/app/
mapdeployattackimage.rs1#[cfg(feature = "app-mapdeployattackimage-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 mapdeploybitimage::{IMapDeployBitImage, MapDeployBitImage},
11 mapimagecorebit::{IMapImageCoreBit, MapImageCoreBit},
12 },
13 system::object::{IObject, Object},
14 };
15
16 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapdeployattackimage/MapDeployAttackImage.md"))]
17 #[::unity::class(namespace = "App", name = "MapDeployAttackImage")]
18 #[parent(crate::app::mapdeploybitimage::MapDeployBitImage)]
19 pub struct MapDeployAttackImage {}
20}
21
22#[cfg(feature = "app-mapdeployattackimage-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-mapdeployattackimage")]
26pub trait IMapDeployAttackImageMethods: IMapDeployAttackImage {
27 #[doc = "`.ctor()` overload"]
28 fn ctor(self) -> () {
29 unsafe {
30 let __receiver = <MapDeployAttackImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31 ::unity::il2cpp_call!((::unity::module_base()+0x29c3700usize)as*mut u8,();
32(MapDeployAttackImage)__receiver)
33 }
34 }
35}
36
37#[cfg(feature = "app-mapdeployattackimage")]
38impl<__T: IMapDeployAttackImage> IMapDeployAttackImageMethods for __T {}
39
40#[cfg(feature = "app-mapdeployattackimage")]
41impl MapDeployAttackImage {
42 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
43 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
44 }
45}
46
47#[cfg(feature = "app-mapdeployattackimage")]
48impl MapDeployAttackImage {
49 #[doc = "`.ctor()` — no args"]
50 pub fn new() -> Self {
51 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
52 panic!(
53 "{}
54::{}
55 failed to instantiate",
56 ::core::stringify!(MapDeployAttackImage),
57 ::core::stringify!(new),
58 )
59 });
60 <Self as IMapDeployAttackImageMethods>::ctor(this);
61 this
62 }
63}
64
65#[cfg(feature = "app-mapdeployattackimage")]
66#[doc(hidden)]
67pub mod prelude {
68 pub use super::{IMapDeployAttackImage, IMapDeployAttackImageMethods, MapDeployAttackImage};
69 #[cfg(feature = "app-mapdeploybitimage")]
70 pub use crate::app::mapdeploybitimage::IMapDeployBitImageMethods;
71 #[cfg(feature = "app-mapimagecorebit")]
72 pub use crate::app::mapimagecorebit::IMapImageCoreBitMethods;
73 #[cfg(feature = "system-object")]
74 pub use crate::system::object::IObjectMethods;
75 pub use crate::{
76 app::{mapdeploybitimage::IMapDeployBitImage, mapimagecorebit::IMapImageCoreBit},
77 system::object::IObject,
78 };
79}