Skip to main content

engage/generated/app/
mappanelhistory.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-mappanelhistory-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        app::singletonmonobehaviour_1::{ISingletonMonoBehaviour_1, SingletonMonoBehaviour_1},
10        root::mappanelbase_1::{IMapPanelBase_1, MapPanelBase_1},
11        system::object::{IObject, Object},
12        unity_engine::{
13            behaviour::{Behaviour, IBehaviour},
14            component::{Component, IComponent},
15            monobehaviour::{IMonoBehaviour, MonoBehaviour},
16            object_2::{IObject_2, Object_2},
17        },
18    };
19
20    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/mappanelhistory/MapPanelHistory.md"))]
21    #[::unity::class(namespace = "App", name = "MapPanelHistory")]
22    #[parent(crate::root::mappanelbase_1::MapPanelBase_1<crate::app::mappanelhistory::MapPanelHistory>)]
23    pub struct MapPanelHistory {
24        #[offset(64)]
25        #[rename(name = "m_Hash")]
26        pub m_hash: i32,
27    }
28}
29
30#[cfg(feature = "app-mappanelhistory-types")]
31pub use __types::*;
32
33#[cfg(feature = "app-mappanelhistory")]
34pub trait IMapPanelHistoryMethods: IMapPanelHistory {
35    #[doc = "`Update()` overload"]
36    fn update(self) -> () {
37        unsafe {
38            let __receiver = <MapPanelHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
39            ::unity::il2cpp_call!((::unity::module_base()+0x2351c10usize)as*mut u8,();
40(MapPanelHistory)__receiver)
41        }
42    }
43    #[doc = "`AddVertex(crate::app::mapimagehistory::MapImageHistory_HeatMap, i32, i32, crate::app::force::Force_Type, crate::unity_engine::color::Color)` overload"]
44    fn add_vertex(
45        self,
46        map: impl ::core::convert::Into<crate::app::mapimagehistory::MapImageHistory_HeatMap>,
47        x: impl ::core::convert::Into<i32>,
48        z: impl ::core::convert::Into<i32>,
49        force: impl ::core::convert::Into<crate::app::force::Force_Type>,
50        color: impl ::core::convert::Into<crate::unity_engine::color::Color>,
51    ) -> () {
52        unsafe {
53            let __receiver = <MapPanelHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
54            ::unity::il2cpp_call!((::unity::module_base()+0x2351ca0usize)as*mut u8,();
55(MapPanelHistory)__receiver,(crate::app::mapimagehistory::MapImageHistory_HeatMap)::core::convert::Into::into(map),(i32)::core::convert::Into::into(x),(i32)::core::convert::Into::into(z),(crate::app::force::Force_Type)::core::convert::Into::into(force),(crate::unity_engine::color::Color)::core::convert::Into::into(color))
56        }
57    }
58    #[doc = "`SetVertex()` overload"]
59    fn set_vertex(self) -> () {
60        unsafe {
61            let __receiver = <MapPanelHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
62            ::unity::il2cpp_call!((::unity::module_base()+0x2351c90usize)as*mut u8,();
63(MapPanelHistory)__receiver)
64        }
65    }
66    #[doc = "`.ctor()` overload"]
67    fn ctor(self) -> () {
68        unsafe {
69            let __receiver = <MapPanelHistory as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
70            ::unity::il2cpp_call!((::unity::module_base()+0x23523d0usize)as*mut u8,();
71(MapPanelHistory)__receiver)
72        }
73    }
74}
75
76#[cfg(feature = "app-mappanelhistory")]
77impl<__T: IMapPanelHistory> IMapPanelHistoryMethods for __T {}
78
79#[cfg(feature = "app-mappanelhistory")]
80impl MapPanelHistory {
81    pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
82        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
83    }
84
85    pub fn add_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
86        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
87    }
88
89    pub fn set_vertex_method_info() -> &'static ::unity::il2cpp::MethodInfo {
90        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
91    }
92
93    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
94        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
95    }
96}
97
98#[cfg(feature = "app-mappanelhistory")]
99impl MapPanelHistory {
100    #[doc = "`.ctor()` — no args"]
101    pub fn new() -> Self {
102        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
103            panic!(
104                "{}
105::{}
106 failed to instantiate",
107                ::core::stringify!(MapPanelHistory),
108                ::core::stringify!(new),
109            )
110        });
111        <Self as IMapPanelHistoryMethods>::ctor(this);
112        this
113    }
114}
115
116#[cfg(feature = "app-mappanelhistory")]
117#[doc(hidden)]
118pub mod prelude {
119    pub use super::{IMapPanelHistory, IMapPanelHistoryMethods, MapPanelHistory};
120    #[cfg(feature = "app-singletonmonobehaviour_1")]
121    pub use crate::app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1Methods;
122    #[cfg(feature = "root-mappanelbase_1")]
123    pub use crate::root::mappanelbase_1::IMapPanelBase_1Methods;
124    #[cfg(feature = "system-object")]
125    pub use crate::system::object::IObjectMethods;
126    #[cfg(feature = "unity_engine-behaviour")]
127    pub use crate::unity_engine::behaviour::IBehaviourMethods;
128    #[cfg(feature = "unity_engine-component")]
129    pub use crate::unity_engine::component::IComponentMethods;
130    #[cfg(feature = "unity_engine-monobehaviour")]
131    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
132    #[cfg(feature = "unity_engine-object_2")]
133    pub use crate::unity_engine::object_2::IObject_2Methods;
134    pub use crate::{
135        app::singletonmonobehaviour_1::ISingletonMonoBehaviour_1,
136        root::mappanelbase_1::IMapPanelBase_1,
137        system::object::IObject,
138        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
139    };
140}