Skip to main content

engage/generated/root/
akauxsendvalue.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akauxsendvalue-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/root/akauxsendvalue/AkAuxSendValue.md"))]
11    #[::unity::class(namespace = "", name = "AkAuxSendValue")]
12    #[parent(crate::system::object::Object)]
13    pub struct AkAuxSendValue {
14        #[offset(16)]
15        #[rename(name = "swigCPtr")]
16        pub swig_c_ptr: ::unity::IntPtr,
17        #[offset(24)]
18        #[rename(name = "swigCMemOwn")]
19        pub swig_c_mem_own: bool,
20    }
21}
22
23#[cfg(feature = "root-akauxsendvalue-types")]
24pub use __types::*;
25
26#[cfg(feature = "root-akauxsendvalue")]
27impl AkAuxSendValue {
28    #[doc = "`getCPtr(crate::root::akauxsendvalue::AkAuxSendValue)` overload"]
29    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akauxsendvalue::AkAuxSendValue>) -> ::unity::IntPtr {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2bd13a0usize)as*mut u8, ::unity::IntPtr;
32(crate::root::akauxsendvalue::AkAuxSendValue)::core::convert::Into::into(obj))
33        }
34    }
35
36    #[doc = "`GetSizeOf()` overload"]
37    pub fn get_size_of() -> i32 {
38        unsafe {
39            ::unity::il2cpp_call!((::unity::module_base()+0x2bd1ad0usize)as*mut u8,i32;
40            )
41        }
42    }
43}
44
45#[cfg(feature = "root-akauxsendvalue")]
46pub trait IAkAuxSendValueMethods: IAkAuxSendValue {
47    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
48    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
49        unsafe {
50            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51            ::unity::il2cpp_call!((::unity::module_base()+0x2bd0a90usize)as*mut u8,();
52(AkAuxSendValue)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
53        }
54    }
55    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
56    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
57        unsafe {
58            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
59            {
60                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
61                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
62                    panic!(
63                        "unity: virtual slot {}
64 out of range (vtable len {}
65) on the runtime class behind {}
66 (method `{}
67`)",
68                        5usize,
69                        __vt.len(),
70                        <AkAuxSendValue as ::unity::ClassIdentity>::NAME,
71                        "setCPtr",
72                    )
73                });
74                let __inner: extern "C" fn(AkAuxSendValue, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
75                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
76                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
77            }
78        }
79    }
80    #[doc = "`Finalize()` overload"]
81    fn finalize(self) -> () {
82        unsafe {
83            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
84            {
85                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
86                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
87                    panic!(
88                        "unity: virtual slot {}
89 out of range (vtable len {}
90) on the runtime class behind {}
91 (method `{}
92`)",
93                        1usize,
94                        __vt.len(),
95                        <AkAuxSendValue as ::unity::ClassIdentity>::NAME,
96                        "Finalize",
97                    )
98                });
99                let __inner: extern "C" fn(AkAuxSendValue, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
100                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
101                __inner(__receiver, __mi)
102            }
103        }
104    }
105    #[doc = "`Dispose()` overload"]
106    fn dispose(self) -> () {
107        unsafe {
108            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            {
110                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
111                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
112                    panic!(
113                        "unity: virtual slot {}
114 out of range (vtable len {}
115) on the runtime class behind {}
116 (method `{}
117`)",
118                        6usize,
119                        __vt.len(),
120                        <AkAuxSendValue as ::unity::ClassIdentity>::NAME,
121                        "Dispose",
122                    )
123                });
124                let __inner: extern "C" fn(AkAuxSendValue, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
125                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
126                __inner(__receiver, __mi)
127            }
128        }
129    }
130    #[doc = "`set_listenerID(u64)` overload"]
131    fn set_listener_id(self, value: impl ::core::convert::Into<u64>) -> () {
132        unsafe {
133            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134            ::unity::il2cpp_call!((::unity::module_base()+0x2bd1630usize)as*mut u8,();
135(AkAuxSendValue)__receiver,(u64)::core::convert::Into::into(value))
136        }
137    }
138    #[doc = "`get_listenerID()` overload"]
139    fn get_listener_id(self) -> u64 {
140        unsafe {
141            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142            ::unity::il2cpp_call!((::unity::module_base()+0x2bd16b0usize)as*mut u8,u64;
143(AkAuxSendValue)__receiver)
144        }
145    }
146    #[doc = "`set_auxBusID(u32)` overload"]
147    fn set_aux_bus_id(self, value: impl ::core::convert::Into<u32>) -> () {
148        unsafe {
149            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150            ::unity::il2cpp_call!((::unity::module_base()+0x2bd1720usize)as*mut u8,();
151(AkAuxSendValue)__receiver,(u32)::core::convert::Into::into(value))
152        }
153    }
154    #[doc = "`get_auxBusID()` overload"]
155    fn get_aux_bus_id(self) -> u32 {
156        unsafe {
157            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158            ::unity::il2cpp_call!((::unity::module_base()+0x2bd17a0usize)as*mut u8,u32;
159(AkAuxSendValue)__receiver)
160        }
161    }
162    #[doc = "`set_fControlValue(f32)` overload"]
163    fn set_f_control_value(self, value: impl ::core::convert::Into<f32>) -> () {
164        unsafe {
165            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166            ::unity::il2cpp_call!((::unity::module_base()+0x2bd1810usize)as*mut u8,();
167(AkAuxSendValue)__receiver,(f32)::core::convert::Into::into(value))
168        }
169    }
170    #[doc = "`get_fControlValue()` overload"]
171    fn get_f_control_value(self) -> f32 {
172        unsafe {
173            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174            ::unity::il2cpp_call!((::unity::module_base()+0x2bd1890usize)as*mut u8,f32;
175(AkAuxSendValue)__receiver)
176        }
177    }
178    #[doc = "`Set(crate::unity_engine::gameobject::GameObject, u32, f32)` overload"]
179    fn set(
180        self,
181        listener: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
182        id: impl ::core::convert::Into<u32>,
183        value: impl ::core::convert::Into<f32>,
184    ) -> () {
185        unsafe {
186            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
187            ::unity::il2cpp_call!((::unity::module_base()+0x2bd1900usize)as*mut u8,();
188(AkAuxSendValue)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(listener),(u32)::core::convert::Into::into(id),(f32)::core::convert::Into::into(value))
189        }
190    }
191    #[doc = "`IsSame(crate::unity_engine::gameobject::GameObject, u32)` overload"]
192    fn is_same(self, listener: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>, id: impl ::core::convert::Into<u32>) -> bool {
193        unsafe {
194            let __receiver = <AkAuxSendValue as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
195            ::unity::il2cpp_call!((::unity::module_base()+0x2bd19f0usize)as*mut u8,bool;
196(AkAuxSendValue)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(listener),(u32)::core::convert::Into::into(id))
197        }
198    }
199}
200
201#[cfg(feature = "root-akauxsendvalue")]
202impl<__T: IAkAuxSendValue> IAkAuxSendValueMethods for __T {}
203
204#[cfg(feature = "root-akauxsendvalue")]
205impl AkAuxSendValue {
206    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
208    }
209
210    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
211        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
212    }
213
214    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
215        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
216    }
217
218    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
219        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
220    }
221
222    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
223        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
224    }
225
226    pub fn set_listener_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
227        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
228    }
229
230    pub fn get_listener_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
231        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
232    }
233
234    pub fn set_aux_bus_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
235        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
236    }
237
238    pub fn get_aux_bus_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
239        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
240    }
241
242    pub fn set_f_control_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
243        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
244    }
245
246    pub fn get_f_control_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
247        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
248    }
249
250    pub fn set_method_info() -> &'static ::unity::il2cpp::MethodInfo {
251        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
252    }
253
254    pub fn is_same_method_info() -> &'static ::unity::il2cpp::MethodInfo {
255        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
256    }
257
258    pub fn get_size_of_method_info() -> &'static ::unity::il2cpp::MethodInfo {
259        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
260    }
261}
262
263#[cfg(feature = "root-akauxsendvalue")]
264impl AkAuxSendValue {
265    #[doc = "Direct (non-virtual) call to `AkAuxSendValue`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
266    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
267        let __mi = Self::set_c_ptr_method_info();
268        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
269        __inner(this.into(), c_ptr, ::core::option::Option::None)
270    }
271
272    #[doc = "Direct (non-virtual) call to `AkAuxSendValue`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
273    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
274        let __mi = Self::finalize_method_info();
275        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
276        __inner(this.into(), ::core::option::Option::None)
277    }
278
279    #[doc = "Direct (non-virtual) call to `AkAuxSendValue`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
280    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
281        let __mi = Self::dispose_method_info();
282        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
283        __inner(this.into(), ::core::option::Option::None)
284    }
285}
286
287#[cfg(feature = "root-akauxsendvalue")]
288impl AkAuxSendValue {
289    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
290    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
291        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
292            panic!(
293                "{}
294::{}
295 failed to instantiate",
296                ::core::stringify!(AkAuxSendValue),
297                ::core::stringify!(new),
298            )
299        });
300        <Self as IAkAuxSendValueMethods>::ctor(this, c_ptr, c_memory_own);
301        this
302    }
303}
304
305#[cfg(feature = "root-akauxsendvalue")]
306#[doc(hidden)]
307pub mod prelude {
308    pub use super::{AkAuxSendValue, IAkAuxSendValue, IAkAuxSendValueMethods};
309    pub use crate::system::object::IObject;
310    #[cfg(feature = "system-object")]
311    pub use crate::system::object::IObjectMethods;
312}