Skip to main content

engage/generated/combat/
layer.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "combat-layer-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/layer/Layer_Shift.md"))]
11    #[::unity::class(namespace = "Combat", name = "Layer.Shift")]
12    #[parent(crate::system::object::Object)]
13    pub struct Layer_Shift {
14        #[static_field]
15        #[rename(name = "contact")]
16        pub contact: i32,
17    }
18
19    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/layer/Layer_Mask.md"))]
20    #[::unity::class(namespace = "Combat", name = "Layer.Mask")]
21    #[parent(crate::system::object::Object)]
22    pub struct Layer_Mask {}
23
24    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/combat/layer/Layer.md"))]
25    #[::unity::class(namespace = "Combat", name = "Layer")]
26    #[parent(crate::system::object::Object)]
27    pub struct Layer {}
28}
29
30#[cfg(feature = "combat-layer-types")]
31pub use __types::*;
32
33#[cfg(feature = "combat-layer")]
34impl Layer_Shift {
35    #[doc = "`get_Renderer()` overload"]
36    pub fn get_renderer() -> i32 {
37        unsafe {
38            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6cf0usize)as*mut u8,i32;
39            )
40        }
41    }
42
43    #[doc = "`set_Renderer(i32)` overload"]
44    pub fn set_renderer(value: impl ::core::convert::Into<i32>) -> () {
45        unsafe {
46            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6d40usize)as*mut u8,();
47(i32)::core::convert::Into::into(value))
48        }
49    }
50
51    #[doc = "`get_Character()` overload"]
52    pub fn get_character() -> i32 {
53        unsafe {
54            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6da0usize)as*mut u8,i32;
55            )
56        }
57    }
58
59    #[doc = "`set_Character(i32)` overload"]
60    pub fn set_character(value: impl ::core::convert::Into<i32>) -> () {
61        unsafe {
62            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6df0usize)as*mut u8,();
63(i32)::core::convert::Into::into(value))
64        }
65    }
66
67    #[doc = "`get_Invisible()` overload"]
68    pub fn get_invisible() -> i32 {
69        unsafe {
70            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6e50usize)as*mut u8,i32;
71            )
72        }
73    }
74
75    #[doc = "`set_Invisible(i32)` overload"]
76    pub fn set_invisible(value: impl ::core::convert::Into<i32>) -> () {
77        unsafe {
78            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6ea0usize)as*mut u8,();
79(i32)::core::convert::Into::into(value))
80        }
81    }
82
83    #[doc = "`get_Ground()` overload"]
84    pub fn get_ground() -> i32 {
85        unsafe {
86            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6f00usize)as*mut u8,i32;
87            )
88        }
89    }
90
91    #[doc = "`set_Ground(i32)` overload"]
92    pub fn set_ground(value: impl ::core::convert::Into<i32>) -> () {
93        unsafe {
94            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6f50usize)as*mut u8,();
95(i32)::core::convert::Into::into(value))
96        }
97    }
98
99    #[doc = "`get_Shadow()` overload"]
100    pub fn get_shadow() -> i32 {
101        unsafe {
102            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6fb0usize)as*mut u8,i32;
103            )
104        }
105    }
106
107    #[doc = "`set_Shadow(i32)` overload"]
108    pub fn set_shadow(value: impl ::core::convert::Into<i32>) -> () {
109        unsafe {
110            ::unity::il2cpp_call!((::unity::module_base()+0x1fd7000usize)as*mut u8,();
111(i32)::core::convert::Into::into(value))
112        }
113    }
114
115    #[doc = "`get_Border()` overload"]
116    pub fn get_border() -> i32 {
117        unsafe {
118            ::unity::il2cpp_call!((::unity::module_base()+0x1fd7060usize)as*mut u8,i32;
119            )
120        }
121    }
122
123    #[doc = "`set_Border(i32)` overload"]
124    pub fn set_border(value: impl ::core::convert::Into<i32>) -> () {
125        unsafe {
126            ::unity::il2cpp_call!((::unity::module_base()+0x1fd70b0usize)as*mut u8,();
127(i32)::core::convert::Into::into(value))
128        }
129    }
130
131    #[doc = "`get_RedBorder()` overload"]
132    pub fn get_red_border() -> i32 {
133        unsafe {
134            ::unity::il2cpp_call!((::unity::module_base()+0x1fd7110usize)as*mut u8,i32;
135            )
136        }
137    }
138
139    #[doc = "`set_RedBorder(i32)` overload"]
140    pub fn set_red_border(value: impl ::core::convert::Into<i32>) -> () {
141        unsafe {
142            ::unity::il2cpp_call!((::unity::module_base()+0x1fd7160usize)as*mut u8,();
143(i32)::core::convert::Into::into(value))
144        }
145    }
146
147    #[doc = "`get_ArrowsBeforeHit()` overload"]
148    pub fn get_arrows_before_hit() -> i32 {
149        unsafe {
150            ::unity::il2cpp_call!((::unity::module_base()+0x1fd71c0usize)as*mut u8,i32;
151            )
152        }
153    }
154
155    #[doc = "`get_ArrowsAfterHit()` overload"]
156    pub fn get_arrows_after_hit() -> i32 {
157        unsafe {
158            ::unity::il2cpp_call!((::unity::module_base()+0x1fd7210usize)as*mut u8,i32;
159            )
160        }
161    }
162
163    #[doc = "`Initialize()` overload"]
164    pub fn initialize() -> () {
165        unsafe {
166            ::unity::il2cpp_call!((::unity::module_base()+0x1fd7260usize)as*mut u8,();
167            )
168        }
169    }
170}
171
172#[cfg(feature = "combat-layer")]
173impl Layer_Shift {
174    pub fn get_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
176    }
177
178    pub fn set_renderer_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
180    }
181
182    pub fn get_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
184    }
185
186    pub fn set_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
188    }
189
190    pub fn get_invisible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
192    }
193
194    pub fn set_invisible_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
196    }
197
198    pub fn get_ground_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
200    }
201
202    pub fn set_ground_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
204    }
205
206    pub fn get_shadow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
208    }
209
210    pub fn set_shadow_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
212    }
213
214    pub fn get_border_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
216    }
217
218    pub fn set_border_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
220    }
221
222    pub fn get_red_border_method_info() -> &'static ::unity::il2cpp::MethodInfo {
223        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
224    }
225
226    pub fn set_red_border_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
228    }
229
230    pub fn get_arrows_before_hit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
232    }
233
234    pub fn get_arrows_after_hit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
235        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
236    }
237
238    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
240    }
241}
242
243#[cfg(feature = "combat-layer")]
244impl Layer_Mask {
245    #[doc = "`get_Ground()` overload"]
246    pub fn get_ground() -> i32 {
247        unsafe {
248            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6590usize)as*mut u8,i32;
249            )
250        }
251    }
252
253    #[doc = "`set_Ground(i32)` overload"]
254    pub fn set_ground(value: impl ::core::convert::Into<i32>) -> () {
255        unsafe {
256            ::unity::il2cpp_call!((::unity::module_base()+0x1fd65e0usize)as*mut u8,();
257(i32)::core::convert::Into::into(value))
258        }
259    }
260
261    #[doc = "`get_Objects()` overload"]
262    pub fn get_objects() -> i32 {
263        unsafe {
264            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6640usize)as*mut u8,i32;
265            )
266        }
267    }
268
269    #[doc = "`set_Objects(i32)` overload"]
270    pub fn set_objects(value: impl ::core::convert::Into<i32>) -> () {
271        unsafe {
272            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6690usize)as*mut u8,();
273(i32)::core::convert::Into::into(value))
274        }
275    }
276
277    #[doc = "`get_Border()` overload"]
278    pub fn get_border() -> i32 {
279        unsafe {
280            ::unity::il2cpp_call!((::unity::module_base()+0x1fd66f0usize)as*mut u8,i32;
281            )
282        }
283    }
284
285    #[doc = "`set_Border(i32)` overload"]
286    pub fn set_border(value: impl ::core::convert::Into<i32>) -> () {
287        unsafe {
288            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6740usize)as*mut u8,();
289(i32)::core::convert::Into::into(value))
290        }
291    }
292
293    #[doc = "`get_Camera()` overload"]
294    pub fn get_camera() -> i32 {
295        unsafe {
296            ::unity::il2cpp_call!((::unity::module_base()+0x1fd67a0usize)as*mut u8,i32;
297            )
298        }
299    }
300
301    #[doc = "`set_Camera(i32)` overload"]
302    pub fn set_camera(value: impl ::core::convert::Into<i32>) -> () {
303        unsafe {
304            ::unity::il2cpp_call!((::unity::module_base()+0x1fd67f0usize)as*mut u8,();
305(i32)::core::convert::Into::into(value))
306        }
307    }
308
309    #[doc = "`get_Hideable()` overload"]
310    pub fn get_hideable() -> i32 {
311        unsafe {
312            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6850usize)as*mut u8,i32;
313            )
314        }
315    }
316
317    #[doc = "`set_Hideable(i32)` overload"]
318    pub fn set_hideable(value: impl ::core::convert::Into<i32>) -> () {
319        unsafe {
320            ::unity::il2cpp_call!((::unity::module_base()+0x1fd68a0usize)as*mut u8,();
321(i32)::core::convert::Into::into(value))
322        }
323    }
324
325    #[doc = "`Initialize()` overload"]
326    pub fn initialize() -> () {
327        unsafe {
328            ::unity::il2cpp_call!((::unity::module_base()+0x1fd6900usize)as*mut u8,();
329            )
330        }
331    }
332}
333
334#[cfg(feature = "combat-layer")]
335impl Layer_Mask {
336    pub fn get_ground_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
338    }
339
340    pub fn set_ground_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
342    }
343
344    pub fn get_objects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
346    }
347
348    pub fn set_objects_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
350    }
351
352    pub fn get_border_method_info() -> &'static ::unity::il2cpp::MethodInfo {
353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
354    }
355
356    pub fn set_border_method_info() -> &'static ::unity::il2cpp::MethodInfo {
357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
358    }
359
360    pub fn get_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
362    }
363
364    pub fn set_camera_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
366    }
367
368    pub fn get_hideable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
370    }
371
372    pub fn set_hideable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
374    }
375
376    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
377        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
378    }
379}
380
381#[cfg(feature = "combat-layer")]
382impl Layer {
383    #[doc = "`CollidesTo(crate::unity_engine::collider::Collider, i32)` overload"]
384    pub fn collides_to(c: impl ::core::convert::Into<crate::unity_engine::collider::Collider>, mask: impl ::core::convert::Into<i32>) -> bool {
385        unsafe {
386            ::unity::il2cpp_call!((::unity::module_base()+0x1be05e0usize)as*mut u8,bool;
387(crate::unity_engine::collider::Collider)::core::convert::Into::into(c),(i32)::core::convert::Into::into(mask))
388        }
389    }
390
391    #[doc = "`Initialize()` overload"]
392    pub fn initialize() -> () {
393        unsafe {
394            ::unity::il2cpp_call!((::unity::module_base()+0x1be0620usize)as*mut u8,();
395            )
396        }
397    }
398}
399
400#[cfg(feature = "combat-layer")]
401impl Layer {
402    pub fn collides_to_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
404    }
405
406    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
408    }
409}
410
411#[cfg(feature = "combat-layer")]
412#[doc(hidden)]
413pub mod prelude {
414    pub use super::{ILayer, ILayer_Mask, ILayer_Shift, Layer, Layer_Mask, Layer_Shift};
415    pub use crate::system::object::IObject;
416    #[cfg(feature = "system-object")]
417    pub use crate::system::object::IObjectMethods;
418}