Skip to main content

engage/generated/root/
akdevicesettings.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akdevicesettings-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/akdevicesettings/AkDeviceSettings.md"))]
11    #[::unity::class(namespace = "", name = "AkDeviceSettings")]
12    #[parent(crate::system::object::Object)]
13    pub struct AkDeviceSettings {
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-akdevicesettings-types")]
24pub use __types::*;
25
26#[cfg(feature = "root-akdevicesettings")]
27impl AkDeviceSettings {
28    #[doc = "`getCPtr(crate::root::akdevicesettings::AkDeviceSettings)` overload"]
29    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akdevicesettings::AkDeviceSettings>) -> ::unity::IntPtr {
30        unsafe {
31            ::unity::il2cpp_call!((::unity::module_base()+0x2f16d80usize)as*mut u8, ::unity::IntPtr;
32(crate::root::akdevicesettings::AkDeviceSettings)::core::convert::Into::into(obj))
33        }
34    }
35}
36
37#[cfg(feature = "root-akdevicesettings")]
38pub trait IAkDeviceSettingsMethods: IAkDeviceSettings {
39    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
40    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
41        unsafe {
42            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43            ::unity::il2cpp_call!((::unity::module_base()+0x2f16d40usize)as*mut u8,();
44(AkDeviceSettings)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
45        }
46    }
47    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
48    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
49        unsafe {
50            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
51            {
52                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
53                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
54                    panic!(
55                        "unity: virtual slot {}
56 out of range (vtable len {}
57) on the runtime class behind {}
58 (method `{}
59`)",
60                        5usize,
61                        __vt.len(),
62                        <AkDeviceSettings as ::unity::ClassIdentity>::NAME,
63                        "setCPtr",
64                    )
65                });
66                let __inner: extern "C" fn(AkDeviceSettings, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
67                    ::core::mem::transmute(__vi.method_ptr);
68                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
69                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
70            }
71        }
72    }
73    #[doc = "`Finalize()` overload"]
74    fn finalize(self) -> () {
75        unsafe {
76            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
77            {
78                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
79                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
80                    panic!(
81                        "unity: virtual slot {}
82 out of range (vtable len {}
83) on the runtime class behind {}
84 (method `{}
85`)",
86                        1usize,
87                        __vt.len(),
88                        <AkDeviceSettings as ::unity::ClassIdentity>::NAME,
89                        "Finalize",
90                    )
91                });
92                let __inner: extern "C" fn(AkDeviceSettings, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
93                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
94                __inner(__receiver, __mi)
95            }
96        }
97    }
98    #[doc = "`Dispose()` overload"]
99    fn dispose(self) -> () {
100        unsafe {
101            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
102            {
103                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
104                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
105                    panic!(
106                        "unity: virtual slot {}
107 out of range (vtable len {}
108) on the runtime class behind {}
109 (method `{}
110`)",
111                        6usize,
112                        __vt.len(),
113                        <AkDeviceSettings as ::unity::ClassIdentity>::NAME,
114                        "Dispose",
115                    )
116                });
117                let __inner: extern "C" fn(AkDeviceSettings, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
118                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
119                __inner(__receiver, __mi)
120            }
121        }
122    }
123    #[doc = "`set_pIOMemory(::unity::IntPtr)` overload"]
124    fn set_p_io_memory(self, value: impl ::core::convert::Into<::unity::IntPtr>) -> () {
125        unsafe {
126            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
127            ::unity::il2cpp_call!((::unity::module_base()+0x2f17010usize)as*mut u8,();
128(AkDeviceSettings)__receiver,(::unity::IntPtr)::core::convert::Into::into(value))
129        }
130    }
131    #[doc = "`get_pIOMemory()` overload"]
132    fn get_p_io_memory(self) -> ::unity::IntPtr {
133        unsafe {
134            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
135            ::unity::il2cpp_call!((::unity::module_base()+0x2f17090usize)as*mut u8, ::unity::IntPtr;
136(AkDeviceSettings)__receiver)
137        }
138    }
139    #[doc = "`set_uIOMemorySize(u32)` overload"]
140    fn set_u_io_memory_size(self, value: impl ::core::convert::Into<u32>) -> () {
141        unsafe {
142            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
143            ::unity::il2cpp_call!((::unity::module_base()+0x2f118f0usize)as*mut u8,();
144(AkDeviceSettings)__receiver,(u32)::core::convert::Into::into(value))
145        }
146    }
147    #[doc = "`get_uIOMemorySize()` overload"]
148    fn get_u_io_memory_size(self) -> u32 {
149        unsafe {
150            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
151            ::unity::il2cpp_call!((::unity::module_base()+0x2f17100usize)as*mut u8,u32;
152(AkDeviceSettings)__receiver)
153        }
154    }
155    #[doc = "`set_uIOMemoryAlignment(u32)` overload"]
156    fn set_u_io_memory_alignment(self, value: impl ::core::convert::Into<u32>) -> () {
157        unsafe {
158            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
159            ::unity::il2cpp_call!((::unity::module_base()+0x2f17170usize)as*mut u8,();
160(AkDeviceSettings)__receiver,(u32)::core::convert::Into::into(value))
161        }
162    }
163    #[doc = "`get_uIOMemoryAlignment()` overload"]
164    fn get_u_io_memory_alignment(self) -> u32 {
165        unsafe {
166            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
167            ::unity::il2cpp_call!((::unity::module_base()+0x2f171f0usize)as*mut u8,u32;
168(AkDeviceSettings)__receiver)
169        }
170    }
171    #[doc = "`set_ePoolAttributes(u32)` overload"]
172    fn set_e_pool_attributes(self, value: impl ::core::convert::Into<u32>) -> () {
173        unsafe {
174            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
175            ::unity::il2cpp_call!((::unity::module_base()+0x2f17260usize)as*mut u8,();
176(AkDeviceSettings)__receiver,(u32)::core::convert::Into::into(value))
177        }
178    }
179    #[doc = "`get_ePoolAttributes()` overload"]
180    fn get_e_pool_attributes(self) -> u32 {
181        unsafe {
182            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
183            ::unity::il2cpp_call!((::unity::module_base()+0x2f172e0usize)as*mut u8,u32;
184(AkDeviceSettings)__receiver)
185        }
186    }
187    #[doc = "`set_uGranularity(u32)` overload"]
188    fn set_u_granularity(self, value: impl ::core::convert::Into<u32>) -> () {
189        unsafe {
190            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
191            ::unity::il2cpp_call!((::unity::module_base()+0x2f17350usize)as*mut u8,();
192(AkDeviceSettings)__receiver,(u32)::core::convert::Into::into(value))
193        }
194    }
195    #[doc = "`get_uGranularity()` overload"]
196    fn get_u_granularity(self) -> u32 {
197        unsafe {
198            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
199            ::unity::il2cpp_call!((::unity::module_base()+0x2f173d0usize)as*mut u8,u32;
200(AkDeviceSettings)__receiver)
201        }
202    }
203    #[doc = "`set_uSchedulerTypeFlags(u32)` overload"]
204    fn set_u_scheduler_type_flags(self, value: impl ::core::convert::Into<u32>) -> () {
205        unsafe {
206            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
207            ::unity::il2cpp_call!((::unity::module_base()+0x2f17440usize)as*mut u8,();
208(AkDeviceSettings)__receiver,(u32)::core::convert::Into::into(value))
209        }
210    }
211    #[doc = "`get_uSchedulerTypeFlags()` overload"]
212    fn get_u_scheduler_type_flags(self) -> u32 {
213        unsafe {
214            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
215            ::unity::il2cpp_call!((::unity::module_base()+0x2f174c0usize)as*mut u8,u32;
216(AkDeviceSettings)__receiver)
217        }
218    }
219    #[doc = "`set_threadProperties(crate::root::akthreadproperties::AkThreadProperties)` overload"]
220    fn set_thread_properties(self, value: impl ::core::convert::Into<crate::root::akthreadproperties::AkThreadProperties>) -> () {
221        unsafe {
222            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
223            ::unity::il2cpp_call!((::unity::module_base()+0x2f146c0usize)as*mut u8,();
224(AkDeviceSettings)__receiver,(crate::root::akthreadproperties::AkThreadProperties)::core::convert::Into::into(value))
225        }
226    }
227    #[doc = "`get_threadProperties()` overload"]
228    fn get_thread_properties(self) -> crate::root::akthreadproperties::AkThreadProperties {
229        unsafe {
230            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
231            ::unity::il2cpp_call!((::unity::module_base()+0x2f14310usize)as*mut u8,crate::root::akthreadproperties::AkThreadProperties;
232(AkDeviceSettings)__receiver)
233        }
234    }
235    #[doc = "`set_fTargetAutoStmBufferLength(f32)` overload"]
236    fn set_f_target_auto_stm_buffer_length(self, value: impl ::core::convert::Into<f32>) -> () {
237        unsafe {
238            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
239            ::unity::il2cpp_call!((::unity::module_base()+0x2f11970usize)as*mut u8,();
240(AkDeviceSettings)__receiver,(f32)::core::convert::Into::into(value))
241        }
242    }
243    #[doc = "`get_fTargetAutoStmBufferLength()` overload"]
244    fn get_f_target_auto_stm_buffer_length(self) -> f32 {
245        unsafe {
246            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
247            ::unity::il2cpp_call!((::unity::module_base()+0x2f17530usize)as*mut u8,f32;
248(AkDeviceSettings)__receiver)
249        }
250    }
251    #[doc = "`set_uMaxConcurrentIO(u32)` overload"]
252    fn set_u_max_concurrent_io(self, value: impl ::core::convert::Into<u32>) -> () {
253        unsafe {
254            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
255            ::unity::il2cpp_call!((::unity::module_base()+0x2f175a0usize)as*mut u8,();
256(AkDeviceSettings)__receiver,(u32)::core::convert::Into::into(value))
257        }
258    }
259    #[doc = "`get_uMaxConcurrentIO()` overload"]
260    fn get_u_max_concurrent_io(self) -> u32 {
261        unsafe {
262            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
263            ::unity::il2cpp_call!((::unity::module_base()+0x2f17620usize)as*mut u8,u32;
264(AkDeviceSettings)__receiver)
265        }
266    }
267    #[doc = "`set_bUseStreamCache(bool)` overload"]
268    fn set_b_use_stream_cache(self, value: impl ::core::convert::Into<bool>) -> () {
269        unsafe {
270            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
271            ::unity::il2cpp_call!((::unity::module_base()+0x2f119f0usize)as*mut u8,();
272(AkDeviceSettings)__receiver,(bool)::core::convert::Into::into(value))
273        }
274    }
275    #[doc = "`get_bUseStreamCache()` overload"]
276    fn get_b_use_stream_cache(self) -> bool {
277        unsafe {
278            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279            ::unity::il2cpp_call!((::unity::module_base()+0x2f17690usize)as*mut u8,bool;
280(AkDeviceSettings)__receiver)
281        }
282    }
283    #[doc = "`set_uMaxCachePinnedBytes(u32)` overload"]
284    fn set_u_max_cache_pinned_bytes(self, value: impl ::core::convert::Into<u32>) -> () {
285        unsafe {
286            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
287            ::unity::il2cpp_call!((::unity::module_base()+0x2f11a70usize)as*mut u8,();
288(AkDeviceSettings)__receiver,(u32)::core::convert::Into::into(value))
289        }
290    }
291    #[doc = "`get_uMaxCachePinnedBytes()` overload"]
292    fn get_u_max_cache_pinned_bytes(self) -> u32 {
293        unsafe {
294            let __receiver = <AkDeviceSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
295            ::unity::il2cpp_call!((::unity::module_base()+0x2f17700usize)as*mut u8,u32;
296(AkDeviceSettings)__receiver)
297        }
298    }
299}
300
301#[cfg(feature = "root-akdevicesettings")]
302impl<__T: IAkDeviceSettings> IAkDeviceSettingsMethods for __T {}
303
304#[cfg(feature = "root-akdevicesettings")]
305impl AkDeviceSettings {
306    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
307        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
308    }
309
310    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
311        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
312    }
313
314    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
315        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
316    }
317
318    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
319        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
320    }
321
322    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
323        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
324    }
325
326    pub fn set_p_io_memory_method_info() -> &'static ::unity::il2cpp::MethodInfo {
327        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
328    }
329
330    pub fn get_p_io_memory_method_info() -> &'static ::unity::il2cpp::MethodInfo {
331        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
332    }
333
334    pub fn set_u_io_memory_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
335        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
336    }
337
338    pub fn get_u_io_memory_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
339        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
340    }
341
342    pub fn set_u_io_memory_alignment_method_info() -> &'static ::unity::il2cpp::MethodInfo {
343        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
344    }
345
346    pub fn get_u_io_memory_alignment_method_info() -> &'static ::unity::il2cpp::MethodInfo {
347        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
348    }
349
350    pub fn set_e_pool_attributes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
351        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
352    }
353
354    pub fn get_e_pool_attributes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
355        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
356    }
357
358    pub fn set_u_granularity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
359        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
360    }
361
362    pub fn get_u_granularity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
363        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
364    }
365
366    pub fn set_u_scheduler_type_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
367        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
368    }
369
370    pub fn get_u_scheduler_type_flags_method_info() -> &'static ::unity::il2cpp::MethodInfo {
371        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
372    }
373
374    pub fn set_thread_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
375        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
376    }
377
378    pub fn get_thread_properties_method_info() -> &'static ::unity::il2cpp::MethodInfo {
379        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
380    }
381
382    pub fn set_f_target_auto_stm_buffer_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
383        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
384    }
385
386    pub fn get_f_target_auto_stm_buffer_length_method_info() -> &'static ::unity::il2cpp::MethodInfo {
387        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
388    }
389
390    pub fn set_u_max_concurrent_io_method_info() -> &'static ::unity::il2cpp::MethodInfo {
391        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
392    }
393
394    pub fn get_u_max_concurrent_io_method_info() -> &'static ::unity::il2cpp::MethodInfo {
395        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
396    }
397
398    pub fn set_b_use_stream_cache_method_info() -> &'static ::unity::il2cpp::MethodInfo {
399        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
400    }
401
402    pub fn get_b_use_stream_cache_method_info() -> &'static ::unity::il2cpp::MethodInfo {
403        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
404    }
405
406    pub fn set_u_max_cache_pinned_bytes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
407        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
408    }
409
410    pub fn get_u_max_cache_pinned_bytes_method_info() -> &'static ::unity::il2cpp::MethodInfo {
411        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
412    }
413}
414
415#[cfg(feature = "root-akdevicesettings")]
416impl AkDeviceSettings {
417    #[doc = "Direct (non-virtual) call to `AkDeviceSettings`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
418    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
419        let __mi = Self::set_c_ptr_method_info();
420        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
421        __inner(this.into(), c_ptr, ::core::option::Option::None)
422    }
423
424    #[doc = "Direct (non-virtual) call to `AkDeviceSettings`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
425    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
426        let __mi = Self::finalize_method_info();
427        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
428        __inner(this.into(), ::core::option::Option::None)
429    }
430
431    #[doc = "Direct (non-virtual) call to `AkDeviceSettings`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
432    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
433        let __mi = Self::dispose_method_info();
434        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
435        __inner(this.into(), ::core::option::Option::None)
436    }
437}
438
439#[cfg(feature = "root-akdevicesettings")]
440impl AkDeviceSettings {
441    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
442    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
443        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
444            panic!(
445                "{}
446::{}
447 failed to instantiate",
448                ::core::stringify!(AkDeviceSettings),
449                ::core::stringify!(new),
450            )
451        });
452        <Self as IAkDeviceSettingsMethods>::ctor(this, c_ptr, c_memory_own);
453        this
454    }
455}
456
457#[cfg(feature = "root-akdevicesettings")]
458#[doc(hidden)]
459pub mod prelude {
460    pub use super::{AkDeviceSettings, IAkDeviceSettings, IAkDeviceSettingsMethods};
461    pub use crate::system::object::IObject;
462    #[cfg(feature = "system-object")]
463    pub use crate::system::object::IObjectMethods;
464}