engage/generated/app/
mapdeploysupportforunitimage.rs1#[cfg(feature = "app-mapdeploysupportforunitimage-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/mapdeploysupportforunitimage/MapDeploySupportForUnitImage.md"))]
17 #[::unity::class(namespace = "App", name = "MapDeploySupportForUnitImage")]
18 #[parent(crate::app::mapdeploybitimage::MapDeployBitImage)]
19 pub struct MapDeploySupportForUnitImage {}
20}
21
22#[cfg(feature = "app-mapdeploysupportforunitimage-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-mapdeploysupportforunitimage")]
26pub trait IMapDeploySupportForUnitImageMethods: IMapDeploySupportForUnitImage {
27 #[doc = "`.ctor()` overload"]
28 fn ctor(self) -> () {
29 unsafe {
30 let __receiver =
31 <MapDeploySupportForUnitImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32 ::unity::il2cpp_call!((::unity::module_base()+0x29c3f60usize)as*mut u8,();
33(MapDeploySupportForUnitImage)__receiver)
34 }
35 }
36}
37
38#[cfg(feature = "app-mapdeploysupportforunitimage")]
39impl<__T: IMapDeploySupportForUnitImage> IMapDeploySupportForUnitImageMethods for __T {}
40
41#[cfg(feature = "app-mapdeploysupportforunitimage")]
42impl MapDeploySupportForUnitImage {
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-mapdeploysupportforunitimage")]
49impl MapDeploySupportForUnitImage {
50 #[doc = "`.ctor()` — no args"]
51 pub fn new() -> Self {
52 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
53 panic!(
54 "{}
55::{}
56 failed to instantiate",
57 ::core::stringify!(MapDeploySupportForUnitImage),
58 ::core::stringify!(new),
59 )
60 });
61 <Self as IMapDeploySupportForUnitImageMethods>::ctor(this);
62 this
63 }
64}
65
66#[cfg(feature = "app-mapdeploysupportforunitimage")]
67#[doc(hidden)]
68pub mod prelude {
69 pub use super::{IMapDeploySupportForUnitImage, IMapDeploySupportForUnitImageMethods, MapDeploySupportForUnitImage};
70 #[cfg(feature = "app-mapdeploybitimage")]
71 pub use crate::app::mapdeploybitimage::IMapDeployBitImageMethods;
72 #[cfg(feature = "app-mapimagecorebit")]
73 pub use crate::app::mapimagecorebit::IMapImageCoreBitMethods;
74 #[cfg(feature = "system-object")]
75 pub use crate::system::object::IObjectMethods;
76 pub use crate::{
77 app::{mapdeploybitimage::IMapDeployBitImage, mapimagecorebit::IMapImageCoreBit},
78 system::object::IObject,
79 };
80}