Skip to main content

engage/generated/app/
mapimagesightfield.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mapimagesightfield-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::{
10            mapimagecorebit::{IMapImageCoreBit, MapImageCoreBit},
11            mapimagesightcore::{IMapImageSightCore, MapImageSightCore},
12        },
13        system::object::{IObject, Object},
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mapimagesightfield/MapImageSightField.md"))]
17    #[::unity::class(namespace = "App", name = "MapImageSightField")]
18    #[parent(crate::app::mapimagesightcore::MapImageSightCore)]
19    pub struct MapImageSightField {}
20}
21
22#[cfg(feature = "app-mapimagesightfield-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-mapimagesightfield")]
26pub trait IMapImageSightFieldMethods: IMapImageSightField {
27    #[doc = "`.ctor()` overload"]
28    fn ctor(self) -> () {
29        unsafe {
30            let __receiver = <MapImageSightField as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31            ::unity::il2cpp_call!((::unity::module_base()+0x20629e0usize)as*mut u8,();
32(MapImageSightField)__receiver)
33        }
34    }
35}
36
37#[cfg(feature = "app-mapimagesightfield")]
38impl<__T: IMapImageSightField> IMapImageSightFieldMethods for __T {}
39
40#[cfg(feature = "app-mapimagesightfield")]
41impl MapImageSightField {
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-mapimagesightfield")]
48impl MapImageSightField {
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!(MapImageSightField),
57                ::core::stringify!(new),
58            )
59        });
60        <Self as IMapImageSightFieldMethods>::ctor(this);
61        this
62    }
63}
64
65#[cfg(feature = "app-mapimagesightfield")]
66#[doc(hidden)]
67pub mod prelude {
68    pub use super::{IMapImageSightField, IMapImageSightFieldMethods, MapImageSightField};
69    #[cfg(feature = "app-mapimagecorebit")]
70    pub use crate::app::mapimagecorebit::IMapImageCoreBitMethods;
71    #[cfg(feature = "app-mapimagesightcore")]
72    pub use crate::app::mapimagesightcore::IMapImageSightCoreMethods;
73    #[cfg(feature = "system-object")]
74    pub use crate::system::object::IObjectMethods;
75    pub use crate::{
76        app::{mapimagecorebit::IMapImageCoreBit, mapimagesightcore::IMapImageSightCore},
77        system::object::IObject,
78    };
79}