Skip to main content

engage/generated/root_motion/final_ik/
fullbodybipedik.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root_motion-final_ik-fullbodybipedik-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        root_motion::{
10            final_ik::ik::{IIK, IK},
11            solvermanager::{ISolverManager, SolverManager},
12        },
13        system::object::{IObject, Object},
14        unity_engine::{
15            behaviour::{Behaviour, IBehaviour},
16            component::{Component, IComponent},
17            monobehaviour::{IMonoBehaviour, MonoBehaviour},
18            object_2::{IObject_2, Object_2},
19        },
20    };
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root_motion/final_ik/fullbodybipedik/FullBodyBipedIK.md"))]
23    #[::unity::class(namespace = "RootMotion.FinalIK", name = "FullBodyBipedIK")]
24    #[parent(crate::root_motion::final_ik::ik::IK)]
25    pub struct FullBodyBipedIK {
26        #[offset(56)]
27        #[rename(name = "references")]
28        pub references_field: crate::root_motion::bipedreferences::BipedReferences,
29        #[offset(64)]
30        #[rename(name = "solver")]
31        pub solver: crate::root_motion::final_ik::iksolverfullbodybiped::IKSolverFullBodyBiped,
32    }
33}
34
35#[cfg(feature = "root_motion-final_ik-fullbodybipedik-types")]
36pub use __types::*;
37
38#[cfg(feature = "root_motion-final_ik-fullbodybipedik")]
39pub trait IFullBodyBipedIKMethods: IFullBodyBipedIK {
40    #[doc = "`OpenUserManual()` overload"]
41    fn open_user_manual(self) -> () {
42        unsafe {
43            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
44            {
45                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
46                let __vi = *__vt.get(8usize).unwrap_or_else(|| {
47                    panic!(
48                        "unity: virtual slot {}
49 out of range (vtable len {}
50) on the runtime class behind {}
51 (method `{}
52`)",
53                        8usize,
54                        __vt.len(),
55                        <FullBodyBipedIK as ::unity::ClassIdentity>::NAME,
56                        "OpenUserManual",
57                    )
58                });
59                let __inner: extern "C" fn(FullBodyBipedIK, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
60                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
61                __inner(__receiver, __mi)
62            }
63        }
64    }
65    #[doc = "`OpenScriptReference()` overload"]
66    fn open_script_reference(self) -> () {
67        unsafe {
68            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
69            {
70                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
71                let __vi = *__vt.get(9usize).unwrap_or_else(|| {
72                    panic!(
73                        "unity: virtual slot {}
74 out of range (vtable len {}
75) on the runtime class behind {}
76 (method `{}
77`)",
78                        9usize,
79                        __vt.len(),
80                        <FullBodyBipedIK as ::unity::ClassIdentity>::NAME,
81                        "OpenScriptReference",
82                    )
83                });
84                let __inner: extern "C" fn(FullBodyBipedIK, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
85                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
86                __inner(__receiver, __mi)
87            }
88        }
89    }
90    #[doc = "`OpenSetupTutorial()` overload"]
91    fn open_setup_tutorial(self) -> () {
92        unsafe {
93            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
94            ::unity::il2cpp_call!((::unity::module_base()+0x22760a0usize)as*mut u8,();
95(FullBodyBipedIK)__receiver)
96        }
97    }
98    #[doc = "`OpenInspectorTutorial()` overload"]
99    fn open_inspector_tutorial(self) -> () {
100        unsafe {
101            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102            ::unity::il2cpp_call!((::unity::module_base()+0x22760f0usize)as*mut u8,();
103(FullBodyBipedIK)__receiver)
104        }
105    }
106    #[doc = "`SupportGroup()` overload"]
107    fn support_group(self) -> () {
108        unsafe {
109            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
110            ::unity::il2cpp_call!((::unity::module_base()+0x2276140usize)as*mut u8,();
111(FullBodyBipedIK)__receiver)
112        }
113    }
114    #[doc = "`ASThread()` overload"]
115    fn as_thread(self) -> () {
116        unsafe {
117            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
118            ::unity::il2cpp_call!((::unity::module_base()+0x2276190usize)as*mut u8,();
119(FullBodyBipedIK)__receiver)
120        }
121    }
122    #[doc = "`SetReferences(crate::root_motion::bipedreferences::BipedReferences, crate::unity_engine::transform::Transform)` overload"]
123    fn set_references(
124        self,
125        references: impl ::core::convert::Into<crate::root_motion::bipedreferences::BipedReferences>,
126        root_node: impl ::core::convert::Into<crate::unity_engine::transform::Transform>,
127    ) -> () {
128        unsafe {
129            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
130            ::unity::il2cpp_call!((::unity::module_base()+0x22761e0usize)as*mut u8,();
131(FullBodyBipedIK)__receiver,(crate::root_motion::bipedreferences::BipedReferences)::core::convert::Into::into(references),(crate::unity_engine::transform::Transform)::core::convert::Into::into(root_node))
132        }
133    }
134    #[doc = "`GetIKSolver()` overload"]
135    fn get_ik_solver(self) -> crate::root_motion::final_ik::iksolver::IKSolver {
136        unsafe {
137            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
138            {
139                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
140                let __vi = *__vt.get(7usize).unwrap_or_else(|| {
141                    panic!(
142                        "unity: virtual slot {}
143 out of range (vtable len {}
144) on the runtime class behind {}
145 (method `{}
146`)",
147                        7usize,
148                        __vt.len(),
149                        <FullBodyBipedIK as ::unity::ClassIdentity>::NAME,
150                        "GetIKSolver",
151                    )
152                });
153                let __inner: extern "C" fn(FullBodyBipedIK, ::unity::OptionalMethod) -> crate::root_motion::final_ik::iksolver::IKSolver =
154                    ::core::mem::transmute(__vi.method_ptr);
155                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
156                __inner(__receiver, __mi)
157            }
158        }
159    }
160    #[doc = "`ReferencesError(*mut::unity::Il2CppString)` overload"]
161    fn references_error(self) -> (bool, ::unity::Il2CppString) {
162        unsafe {
163            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164            let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
165            let __ret = {
166                ::unity::il2cpp_call!((::unity::module_base()+0x2276230usize)as*mut u8,bool;
167(FullBodyBipedIK)__receiver,(*mut::unity::Il2CppString)__out_0.as_mut_ptr())
168            };
169            (__ret, __out_0.assume_init())
170        }
171    }
172    #[doc = "`ReferencesWarning(*mut::unity::Il2CppString)` overload"]
173    fn references_warning(self) -> (bool, ::unity::Il2CppString) {
174        unsafe {
175            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
176            let mut __out_0 = ::core::mem::MaybeUninit::<::unity::Il2CppString>::uninit();
177            let __ret = {
178                ::unity::il2cpp_call!((::unity::module_base()+0x2276400usize)as*mut u8,bool;
179(FullBodyBipedIK)__receiver,(*mut::unity::Il2CppString)__out_0.as_mut_ptr())
180            };
181            (__ret, __out_0.assume_init())
182        }
183    }
184    #[doc = "`Reinitiate()` overload"]
185    fn reinitiate(self) -> () {
186        unsafe {
187            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
188            ::unity::il2cpp_call!((::unity::module_base()+0x2276670usize)as*mut u8,();
189(FullBodyBipedIK)__receiver)
190        }
191    }
192    #[doc = "`AutoDetectReferences()` overload"]
193    fn auto_detect_references(self) -> () {
194        unsafe {
195            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
196            ::unity::il2cpp_call!((::unity::module_base()+0x22766b0usize)as*mut u8,();
197(FullBodyBipedIK)__receiver)
198        }
199    }
200    #[doc = "`.ctor()` overload"]
201    fn ctor(self) -> () {
202        unsafe {
203            let __receiver = <FullBodyBipedIK as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
204            ::unity::il2cpp_call!((::unity::module_base()+0x2275f50usize)as*mut u8,();
205(FullBodyBipedIK)__receiver)
206        }
207    }
208}
209
210#[cfg(feature = "root_motion-final_ik-fullbodybipedik")]
211impl<__T: IFullBodyBipedIK> IFullBodyBipedIKMethods for __T {}
212
213#[cfg(feature = "root_motion-final_ik-fullbodybipedik")]
214impl FullBodyBipedIK {
215    pub fn open_user_manual_method_info() -> &'static ::unity::il2cpp::MethodInfo {
216        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
217    }
218
219    pub fn open_script_reference_method_info() -> &'static ::unity::il2cpp::MethodInfo {
220        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
221    }
222
223    pub fn open_setup_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
224        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
225    }
226
227    pub fn open_inspector_tutorial_method_info() -> &'static ::unity::il2cpp::MethodInfo {
228        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
229    }
230
231    pub fn support_group_method_info() -> &'static ::unity::il2cpp::MethodInfo {
232        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
233    }
234
235    pub fn as_thread_method_info() -> &'static ::unity::il2cpp::MethodInfo {
236        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
237    }
238
239    pub fn set_references_method_info() -> &'static ::unity::il2cpp::MethodInfo {
240        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
241    }
242
243    pub fn get_ik_solver_method_info() -> &'static ::unity::il2cpp::MethodInfo {
244        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
245    }
246
247    pub fn references_error_method_info() -> &'static ::unity::il2cpp::MethodInfo {
248        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
249    }
250
251    pub fn references_warning_method_info() -> &'static ::unity::il2cpp::MethodInfo {
252        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
253    }
254
255    pub fn reinitiate_method_info() -> &'static ::unity::il2cpp::MethodInfo {
256        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
257    }
258
259    pub fn auto_detect_references_method_info() -> &'static ::unity::il2cpp::MethodInfo {
260        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
261    }
262
263    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
265    }
266}
267
268#[cfg(feature = "root_motion-final_ik-fullbodybipedik")]
269impl FullBodyBipedIK {
270    #[doc = "Direct (non-virtual) call to `FullBodyBipedIK`'s own `OpenUserManual`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
271    pub unsafe fn open_user_manual(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
272        let __mi = Self::open_user_manual_method_info();
273        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
274        __inner(this.into(), ::core::option::Option::None)
275    }
276
277    #[doc = "Direct (non-virtual) call to `FullBodyBipedIK`'s own `OpenScriptReference`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
278    pub unsafe fn open_script_reference(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
279        let __mi = Self::open_script_reference_method_info();
280        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
281        __inner(this.into(), ::core::option::Option::None)
282    }
283
284    #[doc = "Direct (non-virtual) call to `FullBodyBipedIK`'s own `GetIKSolver`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
285    pub unsafe fn get_ik_solver(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::root_motion::final_ik::iksolver::IKSolver {
286        let __mi = Self::get_ik_solver_method_info();
287        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::root_motion::final_ik::iksolver::IKSolver =
288            ::core::mem::transmute(__mi.method_ptr);
289        __inner(this.into(), ::core::option::Option::None)
290    }
291}
292
293#[cfg(feature = "root_motion-final_ik-fullbodybipedik")]
294impl FullBodyBipedIK {
295    #[doc = "`.ctor()` — no args"]
296    pub fn new() -> Self {
297        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
298            panic!(
299                "{}
300::{}
301 failed to instantiate",
302                ::core::stringify!(FullBodyBipedIK),
303                ::core::stringify!(new),
304            )
305        });
306        <Self as IFullBodyBipedIKMethods>::ctor(this);
307        this
308    }
309}
310
311#[cfg(feature = "root_motion-final_ik-fullbodybipedik")]
312#[doc(hidden)]
313pub mod prelude {
314    pub use super::{FullBodyBipedIK, IFullBodyBipedIK, IFullBodyBipedIKMethods};
315    #[cfg(feature = "root_motion-final_ik-ik")]
316    pub use crate::root_motion::final_ik::ik::IIKMethods;
317    #[cfg(feature = "root_motion-solvermanager")]
318    pub use crate::root_motion::solvermanager::ISolverManagerMethods;
319    #[cfg(feature = "system-object")]
320    pub use crate::system::object::IObjectMethods;
321    #[cfg(feature = "unity_engine-behaviour")]
322    pub use crate::unity_engine::behaviour::IBehaviourMethods;
323    #[cfg(feature = "unity_engine-component")]
324    pub use crate::unity_engine::component::IComponentMethods;
325    #[cfg(feature = "unity_engine-monobehaviour")]
326    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
327    #[cfg(feature = "unity_engine-object_2")]
328    pub use crate::unity_engine::object_2::IObject_2Methods;
329    pub use crate::{
330        root_motion::{
331            final_ik::ik::{IIK, IK},
332            solvermanager::ISolverManager,
333        },
334        system::object::IObject,
335        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
336    };
337}