engage/generated/app/
mapdeploylandimage.rs1#[cfg(feature = "app-mapdeploylandimage-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/mapdeploylandimage/MapDeployLandImage.md"))]
17 #[::unity::class(namespace = "App", name = "MapDeployLandImage")]
18 #[parent(crate::app::mapdeploybitimage::MapDeployBitImage)]
19 pub struct MapDeployLandImage {}
20}
21
22#[cfg(feature = "app-mapdeploylandimage-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-mapdeploylandimage")]
26pub trait IMapDeployLandImageMethods: IMapDeployLandImage {
27 #[doc = "`.ctor()` overload"]
28 fn ctor(self) -> () {
29 unsafe {
30 let __receiver = <MapDeployLandImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31 ::unity::il2cpp_call!((::unity::module_base()+0x29c3b80usize)as*mut u8,();
32(MapDeployLandImage)__receiver)
33 }
34 }
35}
36
37#[cfg(feature = "app-mapdeploylandimage")]
38impl<__T: IMapDeployLandImage> IMapDeployLandImageMethods for __T {}
39
40#[cfg(feature = "app-mapdeploylandimage")]
41impl MapDeployLandImage {
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-mapdeploylandimage")]
48impl MapDeployLandImage {
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!(MapDeployLandImage),
57 ::core::stringify!(new),
58 )
59 });
60 <Self as IMapDeployLandImageMethods>::ctor(this);
61 this
62 }
63}
64
65#[cfg(feature = "app-mapdeploylandimage")]
66#[doc(hidden)]
67pub mod prelude {
68 pub use super::{IMapDeployLandImage, IMapDeployLandImageMethods, MapDeployLandImage};
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}