Skip to main content

engage/generated/root/
akambientlargemodepositioner.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akambientlargemodepositioner-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            behaviour::{Behaviour, IBehaviour},
12            component::{Component, IComponent},
13            monobehaviour::{IMonoBehaviour, MonoBehaviour},
14            object_2::{IObject_2, Object_2},
15        },
16    };
17
18    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akambientlargemodepositioner/AkAmbientLargeModePositioner.md"))]
19    #[::unity::class(namespace = "", name = "AkAmbientLargeModePositioner")]
20    #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
21    pub struct AkAmbientLargeModePositioner {}
22}
23
24#[cfg(feature = "root-akambientlargemodepositioner-types")]
25pub use __types::*;
26
27#[cfg(feature = "root-akambientlargemodepositioner")]
28pub trait IAkAmbientLargeModePositionerMethods: IAkAmbientLargeModePositioner {
29    #[doc = "`get_Position()` overload"]
30    fn get_position(self) -> crate::unity_engine::vector3::Vector3 {
31        unsafe {
32            let __receiver =
33                <AkAmbientLargeModePositioner as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
34            ::unity::il2cpp_call!((::unity::module_base()+0x2bcd760usize)as*mut u8,crate::unity_engine::vector3::Vector3;
35(AkAmbientLargeModePositioner)__receiver)
36        }
37    }
38    #[doc = "`get_Forward()` overload"]
39    fn get_forward(self) -> crate::unity_engine::vector3::Vector3 {
40        unsafe {
41            let __receiver =
42                <AkAmbientLargeModePositioner as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x2bcd780usize)as*mut u8,crate::unity_engine::vector3::Vector3;
44(AkAmbientLargeModePositioner)__receiver)
45        }
46    }
47    #[doc = "`get_Up()` overload"]
48    fn get_up(self) -> crate::unity_engine::vector3::Vector3 {
49        unsafe {
50            let __receiver =
51                <AkAmbientLargeModePositioner as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
52            ::unity::il2cpp_call!((::unity::module_base()+0x2bcd7a0usize)as*mut u8,crate::unity_engine::vector3::Vector3;
53(AkAmbientLargeModePositioner)__receiver)
54        }
55    }
56    #[doc = "`.ctor()` overload"]
57    fn ctor(self) -> () {
58        unsafe {
59            let __receiver =
60                <AkAmbientLargeModePositioner as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
61            ::unity::il2cpp_call!((::unity::module_base()+0x2bcda00usize)as*mut u8,();
62(AkAmbientLargeModePositioner)__receiver)
63        }
64    }
65}
66
67#[cfg(feature = "root-akambientlargemodepositioner")]
68impl<__T: IAkAmbientLargeModePositioner> IAkAmbientLargeModePositionerMethods for __T {}
69
70#[cfg(feature = "root-akambientlargemodepositioner")]
71impl AkAmbientLargeModePositioner {
72    pub fn get_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
73        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
74    }
75
76    pub fn get_forward_method_info() -> &'static ::unity::il2cpp::MethodInfo {
77        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
78    }
79
80    pub fn get_up_method_info() -> &'static ::unity::il2cpp::MethodInfo {
81        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
82    }
83
84    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
85        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
86    }
87}
88
89#[cfg(feature = "root-akambientlargemodepositioner")]
90impl AkAmbientLargeModePositioner {
91    #[doc = "`.ctor()` — no args"]
92    pub fn new() -> Self {
93        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
94            panic!(
95                "{}
96::{}
97 failed to instantiate",
98                ::core::stringify!(AkAmbientLargeModePositioner),
99                ::core::stringify!(new),
100            )
101        });
102        <Self as IAkAmbientLargeModePositionerMethods>::ctor(this);
103        this
104    }
105}
106
107#[cfg(feature = "root-akambientlargemodepositioner")]
108#[doc(hidden)]
109pub mod prelude {
110    pub use super::{AkAmbientLargeModePositioner, IAkAmbientLargeModePositioner, IAkAmbientLargeModePositionerMethods};
111    #[cfg(feature = "system-object")]
112    pub use crate::system::object::IObjectMethods;
113    #[cfg(feature = "unity_engine-behaviour")]
114    pub use crate::unity_engine::behaviour::IBehaviourMethods;
115    #[cfg(feature = "unity_engine-component")]
116    pub use crate::unity_engine::component::IComponentMethods;
117    #[cfg(feature = "unity_engine-monobehaviour")]
118    pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
119    #[cfg(feature = "unity_engine-object_2")]
120    pub use crate::unity_engine::object_2::IObject_2Methods;
121    pub use crate::{
122        system::object::IObject,
123        unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
124    };
125}