Skip to main content

engage/generated/app/
interpolatorrotationcurve.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "app-interpolatorrotationcurve-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/app/interpolatorrotationcurve/InterpolatorRotationCurve.md"))]
11    #[::unity::class(namespace = "App", name = "InterpolatorRotationCurve")]
12    #[parent(crate::system::object::Object)]
13    pub struct InterpolatorRotationCurve {
14        #[offset(28)]
15        #[rename(name = "m_time")]
16        pub m_time: f32,
17        #[offset(32)]
18        #[rename(name = "m_term")]
19        pub m_term: f32,
20    }
21}
22
23#[cfg(feature = "app-interpolatorrotationcurve-types")]
24pub use __types::*;
25
26#[cfg(feature = "app-interpolatorrotationcurve")]
27pub trait IInterpolatorRotationCurveMethods: IInterpolatorRotationCurve {
28    #[doc = "`get_Value()` overload"]
29    fn get_value(self) -> f32 {
30        unsafe {
31            let __receiver =
32                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
33            ::unity::il2cpp_call!((::unity::module_base()+0x2794e40usize)as*mut u8,f32;
34(InterpolatorRotationCurve)__receiver)
35        }
36    }
37    #[doc = "`set_Value(f32)` overload"]
38    fn set_value(self, value: impl ::core::convert::Into<f32>) -> () {
39        unsafe {
40            let __receiver =
41                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
42            ::unity::il2cpp_call!((::unity::module_base()+0x2794e50usize)as*mut u8,();
43(InterpolatorRotationCurve)__receiver,(f32)::core::convert::Into::into(value))
44        }
45    }
46    #[doc = "`get_Prev()` overload"]
47    fn get_prev(self) -> f32 {
48        unsafe {
49            let __receiver =
50                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51            ::unity::il2cpp_call!((::unity::module_base()+0x2794e60usize)as*mut u8,f32;
52(InterpolatorRotationCurve)__receiver)
53        }
54    }
55    #[doc = "`set_Prev(f32)` overload"]
56    fn set_prev(self, value: impl ::core::convert::Into<f32>) -> () {
57        unsafe {
58            let __receiver =
59                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
60            ::unity::il2cpp_call!((::unity::module_base()+0x2794e70usize)as*mut u8,();
61(InterpolatorRotationCurve)__receiver,(f32)::core::convert::Into::into(value))
62        }
63    }
64    #[doc = "`get_Next()` overload"]
65    fn get_next(self) -> f32 {
66        unsafe {
67            let __receiver =
68                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69            ::unity::il2cpp_call!((::unity::module_base()+0x2794e80usize)as*mut u8,f32;
70(InterpolatorRotationCurve)__receiver)
71        }
72    }
73    #[doc = "`set_Next(f32)` overload"]
74    fn set_next(self, value: impl ::core::convert::Into<f32>) -> () {
75        unsafe {
76            let __receiver =
77                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
78            ::unity::il2cpp_call!((::unity::module_base()+0x2794e90usize)as*mut u8,();
79(InterpolatorRotationCurve)__receiver,(f32)::core::convert::Into::into(value))
80        }
81    }
82    #[doc = "`get_IsEnd()` overload"]
83    fn get_is_end(self) -> bool {
84        unsafe {
85            let __receiver =
86                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
87            ::unity::il2cpp_call!((::unity::module_base()+0x2794ea0usize)as*mut u8,bool;
88(InterpolatorRotationCurve)__receiver)
89        }
90    }
91    #[doc = "`get_Curve()` overload"]
92    fn get_curve(self) -> crate::unity_engine::animationcurve::AnimationCurve {
93        unsafe {
94            let __receiver =
95                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
96            ::unity::il2cpp_call!((::unity::module_base()+0x2794ec0usize)as*mut u8,crate::unity_engine::animationcurve::AnimationCurve;
97(InterpolatorRotationCurve)__receiver)
98        }
99    }
100    #[doc = "`.ctor(crate::unity_engine::animationcurve::AnimationCurve)` overload"]
101    fn ctor(self, animation_curve: impl ::core::convert::Into<crate::unity_engine::animationcurve::AnimationCurve>) -> () {
102        unsafe {
103            let __receiver =
104                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
105            ::unity::il2cpp_call!((::unity::module_base()+0x2794ed0usize)as*mut u8,();
106(InterpolatorRotationCurve)__receiver,(crate::unity_engine::animationcurve::AnimationCurve)::core::convert::Into::into(animation_curve))
107        }
108    }
109    #[doc = "`Set(f32, f32)` overload"]
110    fn set(self, value: impl ::core::convert::Into<f32>, time: impl ::core::convert::Into<f32>) -> () {
111        unsafe {
112            let __receiver =
113                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
114            ::unity::il2cpp_call!((::unity::module_base()+0x2794f10usize)as*mut u8,();
115(InterpolatorRotationCurve)__receiver,(f32)::core::convert::Into::into(value),(f32)::core::convert::Into::into(time))
116        }
117    }
118    #[doc = "`Tick()` overload"]
119    fn tick(self) -> () {
120        unsafe {
121            let __receiver =
122                <InterpolatorRotationCurve as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
123            ::unity::il2cpp_call!((::unity::module_base()+0x2794fd0usize)as*mut u8,();
124(InterpolatorRotationCurve)__receiver)
125        }
126    }
127}
128
129#[cfg(feature = "app-interpolatorrotationcurve")]
130impl<__T: IInterpolatorRotationCurve> IInterpolatorRotationCurveMethods for __T {}
131
132#[cfg(feature = "app-interpolatorrotationcurve")]
133impl InterpolatorRotationCurve {
134    pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
135        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
136    }
137
138    pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
139        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
140    }
141
142    pub fn get_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
143        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
144    }
145
146    pub fn set_prev_method_info() -> &'static ::unity::il2cpp::MethodInfo {
147        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
148    }
149
150    pub fn get_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
151        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
152    }
153
154    pub fn set_next_method_info() -> &'static ::unity::il2cpp::MethodInfo {
155        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
156    }
157
158    pub fn get_is_end_method_info() -> &'static ::unity::il2cpp::MethodInfo {
159        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
160    }
161
162    pub fn get_curve_method_info() -> &'static ::unity::il2cpp::MethodInfo {
163        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
164    }
165
166    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
167        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
168    }
169
170    pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
171        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
172    }
173
174    pub fn tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
176    }
177}
178
179#[cfg(feature = "app-interpolatorrotationcurve")]
180impl InterpolatorRotationCurve {
181    #[doc = "`.ctor(crate::unity_engine::animationcurve::AnimationCurve)` — overload selector"]
182    pub fn new(animation_curve: crate::unity_engine::animationcurve::AnimationCurve) -> Self {
183        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
184            panic!(
185                "{}
186::{}
187 failed to instantiate",
188                ::core::stringify!(InterpolatorRotationCurve),
189                ::core::stringify!(new),
190            )
191        });
192        <Self as IInterpolatorRotationCurveMethods>::ctor(this, animation_curve);
193        this
194    }
195}
196
197#[cfg(feature = "app-interpolatorrotationcurve")]
198#[doc(hidden)]
199pub mod prelude {
200    pub use super::{IInterpolatorRotationCurve, IInterpolatorRotationCurveMethods, InterpolatorRotationCurve};
201    pub use crate::system::object::IObject;
202    #[cfg(feature = "system-object")]
203    pub use crate::system::object::IObjectMethods;
204}