Skip to main content

engage/generated/app/
mapdeploybitimage.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapdeploybitimage-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::mapimagecorebit::{IMapImageCoreBit, MapImageCoreBit},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapdeploybitimage/MapDeployBitImage.md"))]
14    #[::unity::class(namespace = "App", name = "MapDeployBitImage")]
15    #[parent(crate::app::mapimagecorebit::MapImageCoreBit)]
16    pub struct MapDeployBitImage {
17        #[offset(28)]
18        #[rename(name = "m_Changed")]
19        pub m_changed: bool,
20    }
21}
22
23#[cfg(feature = "app-mapdeploybitimage-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-mapdeploybitimage")]
27pub trait IMapDeployBitImageMethods: IMapDeployBitImage {
28    #[doc = "`get_Display()` overload"]
29    fn get_display(self) -> crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy> {
30        unsafe {
31            let __receiver = <MapDeployBitImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
32            ::unity::il2cpp_call!((::unity::module_base()+0x29c3770usize)as*mut u8,crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy> ;
33(MapDeployBitImage)__receiver)
34        }
35    }
36    #[doc = "`set_Display(crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy>)` overload"]
37    fn set_display(
38        self,
39        value: impl ::core::convert::Into<crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy>>,
40    ) -> () {
41        unsafe {
42            let __receiver = <MapDeployBitImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x29c3780usize)as*mut u8,();
44(MapDeployBitImage)__receiver,(crate::app::mapdeploytemplate_1::MapDeployTemplate_1_DisplayType<crate::app::mapdeploy::MapDeploy>)::core::convert::Into::into(value))
45        }
46    }
47    #[doc = "`TrySet(i32, i32)` overload"]
48    fn try_set(self, x: impl ::core::convert::Into<i32>, z: impl ::core::convert::Into<i32>) -> () {
49        unsafe {
50            let __receiver = <MapDeployBitImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51            ::unity::il2cpp_call!((::unity::module_base()+0x29c3790usize)as*mut u8,();
52(MapDeployBitImage)__receiver,(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z))
53        }
54    }
55    #[doc = "`TryClear()` overload"]
56    fn try_clear(self) -> () {
57        unsafe {
58            let __receiver = <MapDeployBitImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59            ::unity::il2cpp_call!((::unity::module_base()+0x29c37e0usize)as*mut u8,();
60(MapDeployBitImage)__receiver)
61        }
62    }
63    #[doc = "`Get(crate::app::unit::Unit)` overload"]
64    fn get(self, unit: impl ::core::convert::Into<crate::app::unit::Unit>) -> bool {
65        unsafe {
66            let __receiver = <MapDeployBitImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
67            ::unity::il2cpp_call!((::unity::module_base()+0x29c3820usize)as*mut u8,bool;
68(MapDeployBitImage)__receiver,(crate::app::unit::Unit)::core::convert::Into::into(unit))
69        }
70    }
71    #[doc = "`.ctor()` overload"]
72    fn ctor(self) -> () {
73        unsafe {
74            let __receiver = <MapDeployBitImage as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
75            ::unity::il2cpp_call!((::unity::module_base()+0x29c3690usize)as*mut u8,();
76(MapDeployBitImage)__receiver)
77        }
78    }
79}
80
81#[cfg(feature = "app-mapdeploybitimage")]
82impl<__T: IMapDeployBitImage> IMapDeployBitImageMethods for __T {}
83
84#[cfg(feature = "app-mapdeploybitimage")]
85impl MapDeployBitImage {
86    pub fn get_display_method_info() -> &'static ::unity::il2cpp::MethodInfo {
87        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
88    }
89
90    pub fn set_display_method_info() -> &'static ::unity::il2cpp::MethodInfo {
91        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
92    }
93
94    pub fn try_set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
95        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
96    }
97
98    pub fn try_clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
99        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
100    }
101
102    pub fn get_method_info() -> &'static ::unity::il2cpp::MethodInfo {
103        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
104    }
105
106    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
107        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
108    }
109}
110
111#[cfg(feature = "app-mapdeploybitimage")]
112impl MapDeployBitImage {
113    #[doc = "`.ctor()` — no args"]
114    pub fn new() -> Self {
115        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
116            panic!(
117                "{}
118::{}
119 failed to instantiate",
120                ::core::stringify!(MapDeployBitImage),
121                ::core::stringify!(new),
122            )
123        });
124        <Self as IMapDeployBitImageMethods>::ctor(this);
125        this
126    }
127}
128
129#[cfg(feature = "app-mapdeploybitimage")]
130#[doc(hidden)]
131pub mod prelude {
132    pub use super::{IMapDeployBitImage, IMapDeployBitImageMethods, MapDeployBitImage};
133    #[cfg(feature = "app-mapimagecorebit")]
134    pub use crate::app::mapimagecorebit::IMapImageCoreBitMethods;
135    #[cfg(feature = "system-object")]
136    pub use crate::system::object::IObjectMethods;
137    pub use crate::{app::mapimagecorebit::IMapImageCoreBit, system::object::IObject};
138}