Skip to main content

engage/generated/nn/hid/
gesture.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "nn-hid-gesture-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/nn/hid/gesture/Gesture.md"))]
11    #[::unity::class(namespace = "nn.hid", name = "Gesture")]
12    #[parent(crate::system::object::Object)]
13    pub struct Gesture {
14        #[static_field]
15        #[rename(name = "PointCountMax")]
16        pub point_count_max: i32,
17        #[static_field]
18        #[rename(name = "StateCountMax")]
19        pub state_count_max: i32,
20    }
21}
22
23#[cfg(feature = "nn-hid-gesture-types")]
24pub use __types::*;
25
26#[cfg(feature = "nn-hid-gesture")]
27impl Gesture {
28    #[doc = "`Initialize()` overload"]
29    pub fn initialize() -> () {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x25219e0usize)as*mut u8,();
32            )
33        }
34    }
35
36    #[doc = "`GetStates(::unity::Array<crate::nn::hid::gesturestate::GestureState>, i32)` overload"]
37    pub fn get_states(
38        p_out_values: impl ::core::convert::Into<::unity::Array<crate::nn::hid::gesturestate::GestureState>>,
39        count: impl ::core::convert::Into<i32>,
40    ) -> i32 {
41        unsafe {
42            ::unity::il2cpp_call!((::unity::module_base()+0x25219f0usize)as*mut u8,i32;
43(::unity::Array<crate::nn::hid::gesturestate::GestureState>)::core::convert::Into::into(p_out_values),(i32)::core::convert::Into::into(count))
44        }
45    }
46}
47
48#[cfg(feature = "nn-hid-gesture")]
49impl Gesture {
50    pub fn initialize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
51        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
52    }
53
54    pub fn get_states_method_info() -> &'static ::unity::il2cpp::MethodInfo {
55        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
56    }
57}
58
59#[cfg(feature = "nn-hid-gesture")]
60#[doc(hidden)]
61pub mod prelude {
62    pub use super::{Gesture, IGesture};
63    pub use crate::system::object::IObject;
64    #[cfg(feature = "system-object")]
65    pub use crate::system::object::IObjectMethods;
66}