Skip to main content

engage/generated/app/
meshgroundpaintdata.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-meshgroundpaintdata-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        system::object::{IObject, Object},
10        unity_engine::{
11            object_2::{IObject_2, Object_2},
12            scriptableobject::{IScriptableObject, ScriptableObject},
13        },
14    };
15
16    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/meshgroundpaintdata/MeshGroundPaintData.md"))]
17    #[::unity::class(namespace = "App", name = "MeshGroundPaintData")]
18    #[parent(crate::unity_engine::scriptableobject::ScriptableObject)]
19    pub struct MeshGroundPaintData {}
20}
21
22#[cfg(feature = "app-meshgroundpaintdata-types")]
23pub use __types::*;
24
25#[cfg(feature = "app-meshgroundpaintdata")]
26pub trait IMeshGroundPaintDataMethods: IMeshGroundPaintData {
27    #[doc = "`get_IsCustomSize()` overload"]
28    fn get_is_custom_size(self) -> bool {
29        unsafe {
30            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
31            ::unity::il2cpp_call!((::unity::module_base()+0x25d2420usize)as*mut u8,bool;
32(MeshGroundPaintData)__receiver)
33        }
34    }
35    #[doc = "`set_IsCustomSize(bool)` overload"]
36    fn set_is_custom_size(self, value: impl ::core::convert::Into<bool>) -> () {
37        unsafe {
38            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
39            ::unity::il2cpp_call!((::unity::module_base()+0x25d2430usize)as*mut u8,();
40(MeshGroundPaintData)__receiver,(bool)::core::convert::Into::into(value))
41        }
42    }
43    #[doc = "`get_Names()` overload"]
44    fn get_names(self) -> ::unity::Array<::unity::Il2CppString> {
45        unsafe {
46            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
47            ::unity::il2cpp_call!((::unity::module_base()+0x25d2440usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
48(MeshGroundPaintData)__receiver)
49        }
50    }
51    #[doc = "`set_Names(::unity::Array<::unity::Il2CppString>)` overload"]
52    fn set_names(self, value: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
53        unsafe {
54            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
55            ::unity::il2cpp_call!((::unity::module_base()+0x25d2450usize)as*mut u8,();
56(MeshGroundPaintData)__receiver,(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(value))
57        }
58    }
59    #[doc = "`get_SplitCount()` overload"]
60    fn get_split_count(self) -> crate::unity_engine::vector2int::Vector2Int {
61        unsafe {
62            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
63            ::unity::il2cpp_call!((::unity::module_base()+0x25d2460usize)as*mut u8,crate::unity_engine::vector2int::Vector2Int;
64(MeshGroundPaintData)__receiver)
65        }
66    }
67    #[doc = "`set_SplitCount(crate::unity_engine::vector2int::Vector2Int)` overload"]
68    fn set_split_count(self, value: impl ::core::convert::Into<crate::unity_engine::vector2int::Vector2Int>) -> () {
69        unsafe {
70            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
71            ::unity::il2cpp_call!((::unity::module_base()+0x25d2470usize)as*mut u8,();
72(MeshGroundPaintData)__receiver,(crate::unity_engine::vector2int::Vector2Int)::core::convert::Into::into(value))
73        }
74    }
75    #[doc = "`get_Size()` overload"]
76    fn get_size(self) -> crate::unity_engine::vector2::Vector2 {
77        unsafe {
78            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
79            ::unity::il2cpp_call!((::unity::module_base()+0x25d2480usize)as*mut u8,crate::unity_engine::vector2::Vector2;
80(MeshGroundPaintData)__receiver)
81        }
82    }
83    #[doc = "`set_Size(crate::unity_engine::vector2::Vector2)` overload"]
84    fn set_size(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
85        unsafe {
86            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x25d2490usize)as*mut u8,();
88(MeshGroundPaintData)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
89        }
90    }
91    #[doc = "`get_Offset()` overload"]
92    fn get_offset(self) -> crate::unity_engine::vector2::Vector2 {
93        unsafe {
94            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
95            ::unity::il2cpp_call!((::unity::module_base()+0x25d24a0usize)as*mut u8,crate::unity_engine::vector2::Vector2;
96(MeshGroundPaintData)__receiver)
97        }
98    }
99    #[doc = "`set_Offset(crate::unity_engine::vector2::Vector2)` overload"]
100    fn set_offset(self, value: impl ::core::convert::Into<crate::unity_engine::vector2::Vector2>) -> () {
101        unsafe {
102            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
103            ::unity::il2cpp_call!((::unity::module_base()+0x25d24b0usize)as*mut u8,();
104(MeshGroundPaintData)__receiver,(crate::unity_engine::vector2::Vector2)::core::convert::Into::into(value))
105        }
106    }
107    #[doc = "`get_IndexList()` overload"]
108    fn get_index_list(self) -> ::unity::Array<i32> {
109        unsafe {
110            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
111            ::unity::il2cpp_call!((::unity::module_base()+0x25d24c0usize)as*mut u8, ::unity::Array<i32> ;
112(MeshGroundPaintData)__receiver)
113        }
114    }
115    #[doc = "`set_IndexList(::unity::Array<i32>)` overload"]
116    fn set_index_list(self, value: impl ::core::convert::Into<::unity::Array<i32>>) -> () {
117        unsafe {
118            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
119            ::unity::il2cpp_call!((::unity::module_base()+0x25d24d0usize)as*mut u8,();
120(MeshGroundPaintData)__receiver,(::unity::Array<i32>)::core::convert::Into::into(value))
121        }
122    }
123    #[doc = "`GetName(f32, f32)` overload"]
124    fn get_name(self, x: impl ::core::convert::Into<f32>, y: impl ::core::convert::Into<f32>) -> ::unity::Il2CppString {
125        unsafe {
126            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x25d24e0usize)as*mut u8, ::unity::Il2CppString;
128(MeshGroundPaintData)__receiver,(f32)::core::convert::Into::into(x),(f32)::core::convert::Into::into(y))
129        }
130    }
131    #[doc = "`.ctor()` overload"]
132    fn ctor(self) -> () {
133        unsafe {
134            let __receiver = <MeshGroundPaintData as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135            ::unity::il2cpp_call!((::unity::module_base()+0x25d25c0usize)as*mut u8,();
136(MeshGroundPaintData)__receiver)
137        }
138    }
139}
140
141#[cfg(feature = "app-meshgroundpaintdata")]
142impl<__T: IMeshGroundPaintData> IMeshGroundPaintDataMethods for __T {}
143
144#[cfg(feature = "app-meshgroundpaintdata")]
145impl MeshGroundPaintData {
146    pub fn get_is_custom_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
148    }
149
150    pub fn set_is_custom_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
152    }
153
154    pub fn get_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
156    }
157
158    pub fn set_names_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
160    }
161
162    pub fn get_split_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
164    }
165
166    pub fn set_split_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
168    }
169
170    pub fn get_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
172    }
173
174    pub fn set_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
176    }
177
178    pub fn get_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
180    }
181
182    pub fn set_offset_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
184    }
185
186    pub fn get_index_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
188    }
189
190    pub fn set_index_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
192    }
193
194    pub fn get_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
196    }
197
198    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
200    }
201}
202
203#[cfg(feature = "app-meshgroundpaintdata")]
204impl MeshGroundPaintData {
205    #[doc = "`.ctor()` — no args"]
206    pub fn new() -> Self {
207        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
208            panic!(
209                "{}
210::{}
211 failed to instantiate",
212                ::core::stringify!(MeshGroundPaintData),
213                ::core::stringify!(new),
214            )
215        });
216        <Self as IMeshGroundPaintDataMethods>::ctor(this);
217        this
218    }
219}
220
221#[cfg(feature = "app-meshgroundpaintdata")]
222#[doc(hidden)]
223pub mod prelude {
224    pub use super::{IMeshGroundPaintData, IMeshGroundPaintDataMethods, MeshGroundPaintData};
225    #[cfg(feature = "system-object")]
226    pub use crate::system::object::IObjectMethods;
227    #[cfg(feature = "unity_engine-object_2")]
228    pub use crate::unity_engine::object_2::IObject_2Methods;
229    #[cfg(feature = "unity_engine-scriptableobject")]
230    pub use crate::unity_engine::scriptableobject::IScriptableObjectMethods;
231    pub use crate::{
232        system::object::IObject,
233        unity_engine::{object_2::IObject_2, scriptableobject::IScriptableObject},
234    };
235}