1#[cfg(feature = "root-akinitsettings-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/akinitsettings/AkInitSettings.md"))]
11 #[::unity::class(namespace = "", name = "AkInitSettings")]
12 #[parent(crate::system::object::Object)]
13 pub struct AkInitSettings {
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-akinitsettings-types")]
24pub use __types::*;
25
26#[cfg(feature = "root-akinitsettings")]
27impl AkInitSettings {
28 #[doc = "`getCPtr(crate::root::akinitsettings::AkInitSettings)` overload"]
29 pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akinitsettings::AkInitSettings>) -> ::unity::IntPtr {
30 unsafe {
31 ::unity::il2cpp_call!((::unity::module_base()+0x2f20800usize)as*mut u8, ::unity::IntPtr;
32(crate::root::akinitsettings::AkInitSettings)::core::convert::Into::into(obj))
33 }
34 }
35}
36
37#[cfg(feature = "root-akinitsettings")]
38pub trait IAkInitSettingsMethods: IAkInitSettings {
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 = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
43 ::unity::il2cpp_call!((::unity::module_base()+0x2f207c0usize)as*mut u8,();
44(AkInitSettings)__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 = <AkInitSettings 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 <AkInitSettings as ::unity::ClassIdentity>::NAME,
63 "setCPtr",
64 )
65 });
66 let __inner: extern "C" fn(AkInitSettings, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
67 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
68 __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
69 }
70 }
71 }
72 #[doc = "`Finalize()` overload"]
73 fn finalize(self) -> () {
74 unsafe {
75 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
76 {
77 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
78 let __vi = *__vt.get(1usize).unwrap_or_else(|| {
79 panic!(
80 "unity: virtual slot {}
81 out of range (vtable len {}
82) on the runtime class behind {}
83 (method `{}
84`)",
85 1usize,
86 __vt.len(),
87 <AkInitSettings as ::unity::ClassIdentity>::NAME,
88 "Finalize",
89 )
90 });
91 let __inner: extern "C" fn(AkInitSettings, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
92 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
93 __inner(__receiver, __mi)
94 }
95 }
96 }
97 #[doc = "`Dispose()` overload"]
98 fn dispose(self) -> () {
99 unsafe {
100 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
101 {
102 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
103 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
104 panic!(
105 "unity: virtual slot {}
106 out of range (vtable len {}
107) on the runtime class behind {}
108 (method `{}
109`)",
110 6usize,
111 __vt.len(),
112 <AkInitSettings as ::unity::ClassIdentity>::NAME,
113 "Dispose",
114 )
115 });
116 let __inner: extern "C" fn(AkInitSettings, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
117 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
118 __inner(__receiver, __mi)
119 }
120 }
121 }
122 #[doc = "`set_uMaxNumPaths(u32)` overload"]
123 fn set_u_max_num_paths(self, value: impl ::core::convert::Into<u32>) -> () {
124 unsafe {
125 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
126 ::unity::il2cpp_call!((::unity::module_base()+0x2f15110usize)as*mut u8,();
127(AkInitSettings)__receiver,(u32)::core::convert::Into::into(value))
128 }
129 }
130 #[doc = "`get_uMaxNumPaths()` overload"]
131 fn get_u_max_num_paths(self) -> u32 {
132 unsafe {
133 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
134 ::unity::il2cpp_call!((::unity::module_base()+0x2f20a90usize)as*mut u8,u32;
135(AkInitSettings)__receiver)
136 }
137 }
138 #[doc = "`set_uCommandQueueSize(u32)` overload"]
139 fn set_u_command_queue_size(self, value: impl ::core::convert::Into<u32>) -> () {
140 unsafe {
141 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
142 ::unity::il2cpp_call!((::unity::module_base()+0x2f15190usize)as*mut u8,();
143(AkInitSettings)__receiver,(u32)::core::convert::Into::into(value))
144 }
145 }
146 #[doc = "`get_uCommandQueueSize()` overload"]
147 fn get_u_command_queue_size(self) -> u32 {
148 unsafe {
149 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
150 ::unity::il2cpp_call!((::unity::module_base()+0x2f20b00usize)as*mut u8,u32;
151(AkInitSettings)__receiver)
152 }
153 }
154 #[doc = "`set_bEnableGameSyncPreparation(bool)` overload"]
155 fn set_b_enable_game_sync_preparation(self, value: impl ::core::convert::Into<bool>) -> () {
156 unsafe {
157 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
158 ::unity::il2cpp_call!((::unity::module_base()+0x2f11d20usize)as*mut u8,();
159(AkInitSettings)__receiver,(bool)::core::convert::Into::into(value))
160 }
161 }
162 #[doc = "`get_bEnableGameSyncPreparation()` overload"]
163 fn get_b_enable_game_sync_preparation(self) -> bool {
164 unsafe {
165 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
166 ::unity::il2cpp_call!((::unity::module_base()+0x2f20b70usize)as*mut u8,bool;
167(AkInitSettings)__receiver)
168 }
169 }
170 #[doc = "`set_uContinuousPlaybackLookAhead(u32)` overload"]
171 fn set_u_continuous_playback_look_ahead(self, value: impl ::core::convert::Into<u32>) -> () {
172 unsafe {
173 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
174 ::unity::il2cpp_call!((::unity::module_base()+0x2f11da0usize)as*mut u8,();
175(AkInitSettings)__receiver,(u32)::core::convert::Into::into(value))
176 }
177 }
178 #[doc = "`get_uContinuousPlaybackLookAhead()` overload"]
179 fn get_u_continuous_playback_look_ahead(self) -> u32 {
180 unsafe {
181 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
182 ::unity::il2cpp_call!((::unity::module_base()+0x2f20be0usize)as*mut u8,u32;
183(AkInitSettings)__receiver)
184 }
185 }
186 #[doc = "`set_uNumSamplesPerFrame(u32)` overload"]
187 fn set_u_num_samples_per_frame(self, value: impl ::core::convert::Into<u32>) -> () {
188 unsafe {
189 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190 ::unity::il2cpp_call!((::unity::module_base()+0x2f15210usize)as*mut u8,();
191(AkInitSettings)__receiver,(u32)::core::convert::Into::into(value))
192 }
193 }
194 #[doc = "`get_uNumSamplesPerFrame()` overload"]
195 fn get_u_num_samples_per_frame(self) -> u32 {
196 unsafe {
197 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
198 ::unity::il2cpp_call!((::unity::module_base()+0x2f20c50usize)as*mut u8,u32;
199(AkInitSettings)__receiver)
200 }
201 }
202 #[doc = "`set_uMonitorQueuePoolSize(u32)` overload"]
203 fn set_u_monitor_queue_pool_size(self, value: impl ::core::convert::Into<u32>) -> () {
204 unsafe {
205 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
206 ::unity::il2cpp_call!((::unity::module_base()+0x2f11e20usize)as*mut u8,();
207(AkInitSettings)__receiver,(u32)::core::convert::Into::into(value))
208 }
209 }
210 #[doc = "`get_uMonitorQueuePoolSize()` overload"]
211 fn get_u_monitor_queue_pool_size(self) -> u32 {
212 unsafe {
213 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
214 ::unity::il2cpp_call!((::unity::module_base()+0x2f20cc0usize)as*mut u8,u32;
215(AkInitSettings)__receiver)
216 }
217 }
218 #[doc = "`set_settingsMainOutput(crate::root::akoutputsettings::AkOutputSettings)` overload"]
219 fn set_settings_main_output(self, value: impl ::core::convert::Into<crate::root::akoutputsettings::AkOutputSettings>) -> () {
220 unsafe {
221 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
222 ::unity::il2cpp_call!((::unity::module_base()+0x2f20d30usize)as*mut u8,();
223(AkInitSettings)__receiver,(crate::root::akoutputsettings::AkOutputSettings)::core::convert::Into::into(value))
224 }
225 }
226 #[doc = "`get_settingsMainOutput()` overload"]
227 fn get_settings_main_output(self) -> crate::root::akoutputsettings::AkOutputSettings {
228 unsafe {
229 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
230 ::unity::il2cpp_call!((::unity::module_base()+0x2f15290usize)as*mut u8,crate::root::akoutputsettings::AkOutputSettings;
231(AkInitSettings)__receiver)
232 }
233 }
234 #[doc = "`set_uMaxHardwareTimeoutMs(u32)` overload"]
235 fn set_u_max_hardware_timeout_ms(self, value: impl ::core::convert::Into<u32>) -> () {
236 unsafe {
237 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
238 ::unity::il2cpp_call!((::unity::module_base()+0x2f11ea0usize)as*mut u8,();
239(AkInitSettings)__receiver,(u32)::core::convert::Into::into(value))
240 }
241 }
242 #[doc = "`get_uMaxHardwareTimeoutMs()` overload"]
243 fn get_u_max_hardware_timeout_ms(self) -> u32 {
244 unsafe {
245 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
246 ::unity::il2cpp_call!((::unity::module_base()+0x2f20e90usize)as*mut u8,u32;
247(AkInitSettings)__receiver)
248 }
249 }
250 #[doc = "`set_bUseSoundBankMgrThread(bool)` overload"]
251 fn set_b_use_sound_bank_mgr_thread(self, value: impl ::core::convert::Into<bool>) -> () {
252 unsafe {
253 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
254 ::unity::il2cpp_call!((::unity::module_base()+0x2f20f00usize)as*mut u8,();
255(AkInitSettings)__receiver,(bool)::core::convert::Into::into(value))
256 }
257 }
258 #[doc = "`get_bUseSoundBankMgrThread()` overload"]
259 fn get_b_use_sound_bank_mgr_thread(self) -> bool {
260 unsafe {
261 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
262 ::unity::il2cpp_call!((::unity::module_base()+0x2f20f80usize)as*mut u8,bool;
263(AkInitSettings)__receiver)
264 }
265 }
266 #[doc = "`set_bUseLEngineThread(bool)` overload"]
267 fn set_b_use_l_engine_thread(self, value: impl ::core::convert::Into<bool>) -> () {
268 unsafe {
269 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270 ::unity::il2cpp_call!((::unity::module_base()+0x2f20ff0usize)as*mut u8,();
271(AkInitSettings)__receiver,(bool)::core::convert::Into::into(value))
272 }
273 }
274 #[doc = "`get_bUseLEngineThread()` overload"]
275 fn get_b_use_l_engine_thread(self) -> bool {
276 unsafe {
277 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
278 ::unity::il2cpp_call!((::unity::module_base()+0x2f21070usize)as*mut u8,bool;
279(AkInitSettings)__receiver)
280 }
281 }
282 #[doc = "`set_szPluginDLLPath(::unity::Il2CppString)` overload"]
283 fn set_sz_plugin_dll_path(self, value: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
284 unsafe {
285 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
286 ::unity::il2cpp_call!((::unity::module_base()+0x2f15360usize)as*mut u8,();
287(AkInitSettings)__receiver,(::unity::Il2CppString)::core::convert::Into::into(value))
288 }
289 }
290 #[doc = "`get_szPluginDLLPath()` overload"]
291 fn get_sz_plugin_dll_path(self) -> ::unity::Il2CppString {
292 unsafe {
293 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
294 ::unity::il2cpp_call!((::unity::module_base()+0x2f153e0usize)as*mut u8, ::unity::Il2CppString;
295(AkInitSettings)__receiver)
296 }
297 }
298 #[doc = "`set_eFloorPlane(crate::root::akfloorplane::AkFloorPlane)` overload"]
299 fn set_e_floor_plane(self, value: impl ::core::convert::Into<crate::root::akfloorplane::AkFloorPlane>) -> () {
300 unsafe {
301 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
302 ::unity::il2cpp_call!((::unity::module_base()+0x2f210e0usize)as*mut u8,();
303(AkInitSettings)__receiver,(crate::root::akfloorplane::AkFloorPlane)::core::convert::Into::into(value))
304 }
305 }
306 #[doc = "`get_eFloorPlane()` overload"]
307 fn get_e_floor_plane(self) -> crate::root::akfloorplane::AkFloorPlane {
308 unsafe {
309 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
310 ::unity::il2cpp_call!((::unity::module_base()+0x2f21160usize)as*mut u8,crate::root::akfloorplane::AkFloorPlane;
311(AkInitSettings)__receiver)
312 }
313 }
314 #[doc = "`set_uBankReadBufferSize(u32)` overload"]
315 fn set_u_bank_read_buffer_size(self, value: impl ::core::convert::Into<u32>) -> () {
316 unsafe {
317 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
318 ::unity::il2cpp_call!((::unity::module_base()+0x2f211d0usize)as*mut u8,();
319(AkInitSettings)__receiver,(u32)::core::convert::Into::into(value))
320 }
321 }
322 #[doc = "`get_uBankReadBufferSize()` overload"]
323 fn get_u_bank_read_buffer_size(self) -> u32 {
324 unsafe {
325 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
326 ::unity::il2cpp_call!((::unity::module_base()+0x2f21250usize)as*mut u8,u32;
327(AkInitSettings)__receiver)
328 }
329 }
330 #[doc = "`set_fDebugOutOfRangeLimit(f32)` overload"]
331 fn set_f_debug_out_of_range_limit(self, value: impl ::core::convert::Into<f32>) -> () {
332 unsafe {
333 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
334 ::unity::il2cpp_call!((::unity::module_base()+0x2f11fa0usize)as*mut u8,();
335(AkInitSettings)__receiver,(f32)::core::convert::Into::into(value))
336 }
337 }
338 #[doc = "`get_fDebugOutOfRangeLimit()` overload"]
339 fn get_f_debug_out_of_range_limit(self) -> f32 {
340 unsafe {
341 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
342 ::unity::il2cpp_call!((::unity::module_base()+0x2f212c0usize)as*mut u8,f32;
343(AkInitSettings)__receiver)
344 }
345 }
346 #[doc = "`set_bDebugOutOfRangeCheckEnabled(bool)` overload"]
347 fn set_b_debug_out_of_range_check_enabled(self, value: impl ::core::convert::Into<bool>) -> () {
348 unsafe {
349 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
350 ::unity::il2cpp_call!((::unity::module_base()+0x2f11f20usize)as*mut u8,();
351(AkInitSettings)__receiver,(bool)::core::convert::Into::into(value))
352 }
353 }
354 #[doc = "`get_bDebugOutOfRangeCheckEnabled()` overload"]
355 fn get_b_debug_out_of_range_check_enabled(self) -> bool {
356 unsafe {
357 let __receiver = <AkInitSettings as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
358 ::unity::il2cpp_call!((::unity::module_base()+0x2f21330usize)as*mut u8,bool;
359(AkInitSettings)__receiver)
360 }
361 }
362}
363
364#[cfg(feature = "root-akinitsettings")]
365impl<__T: IAkInitSettings> IAkInitSettingsMethods for __T {}
366
367#[cfg(feature = "root-akinitsettings")]
368impl AkInitSettings {
369 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
370 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
371 }
372
373 pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
374 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
375 }
376
377 pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
378 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
379 }
380
381 pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
382 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
383 }
384
385 pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
386 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
387 }
388
389 pub fn set_u_max_num_paths_method_info() -> &'static ::unity::il2cpp::MethodInfo {
390 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
391 }
392
393 pub fn get_u_max_num_paths_method_info() -> &'static ::unity::il2cpp::MethodInfo {
394 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
395 }
396
397 pub fn set_u_command_queue_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
398 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
399 }
400
401 pub fn get_u_command_queue_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
402 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
403 }
404
405 pub fn set_b_enable_game_sync_preparation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
406 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
407 }
408
409 pub fn get_b_enable_game_sync_preparation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
411 }
412
413 pub fn set_u_continuous_playback_look_ahead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
415 }
416
417 pub fn get_u_continuous_playback_look_ahead_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
419 }
420
421 pub fn set_u_num_samples_per_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
423 }
424
425 pub fn get_u_num_samples_per_frame_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
427 }
428
429 pub fn set_u_monitor_queue_pool_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
430 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
431 }
432
433 pub fn get_u_monitor_queue_pool_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
434 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
435 }
436
437 pub fn set_settings_main_output_method_info() -> &'static ::unity::il2cpp::MethodInfo {
438 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
439 }
440
441 pub fn get_settings_main_output_method_info() -> &'static ::unity::il2cpp::MethodInfo {
442 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
443 }
444
445 pub fn set_u_max_hardware_timeout_ms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
446 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
447 }
448
449 pub fn get_u_max_hardware_timeout_ms_method_info() -> &'static ::unity::il2cpp::MethodInfo {
450 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
451 }
452
453 pub fn set_b_use_sound_bank_mgr_thread_method_info() -> &'static ::unity::il2cpp::MethodInfo {
454 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
455 }
456
457 pub fn get_b_use_sound_bank_mgr_thread_method_info() -> &'static ::unity::il2cpp::MethodInfo {
458 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
459 }
460
461 pub fn set_b_use_l_engine_thread_method_info() -> &'static ::unity::il2cpp::MethodInfo {
462 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
463 }
464
465 pub fn get_b_use_l_engine_thread_method_info() -> &'static ::unity::il2cpp::MethodInfo {
466 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
467 }
468
469 pub fn set_sz_plugin_dll_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
470 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
471 }
472
473 pub fn get_sz_plugin_dll_path_method_info() -> &'static ::unity::il2cpp::MethodInfo {
474 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
475 }
476
477 pub fn set_e_floor_plane_method_info() -> &'static ::unity::il2cpp::MethodInfo {
478 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
479 }
480
481 pub fn get_e_floor_plane_method_info() -> &'static ::unity::il2cpp::MethodInfo {
482 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
483 }
484
485 pub fn set_u_bank_read_buffer_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
486 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
487 }
488
489 pub fn get_u_bank_read_buffer_size_method_info() -> &'static ::unity::il2cpp::MethodInfo {
490 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
491 }
492
493 pub fn set_f_debug_out_of_range_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
494 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
495 }
496
497 pub fn get_f_debug_out_of_range_limit_method_info() -> &'static ::unity::il2cpp::MethodInfo {
498 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
499 }
500
501 pub fn set_b_debug_out_of_range_check_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
502 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
503 }
504
505 pub fn get_b_debug_out_of_range_check_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
507 }
508}
509
510#[cfg(feature = "root-akinitsettings")]
511impl AkInitSettings {
512 #[doc = "Direct (non-virtual) call to `AkInitSettings`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
513 pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
514 let __mi = Self::set_c_ptr_method_info();
515 let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
516 __inner(this.into(), c_ptr, ::core::option::Option::None)
517 }
518
519 #[doc = "Direct (non-virtual) call to `AkInitSettings`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
520 pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
521 let __mi = Self::finalize_method_info();
522 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
523 __inner(this.into(), ::core::option::Option::None)
524 }
525
526 #[doc = "Direct (non-virtual) call to `AkInitSettings`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
527 pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
528 let __mi = Self::dispose_method_info();
529 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
530 __inner(this.into(), ::core::option::Option::None)
531 }
532}
533
534#[cfg(feature = "root-akinitsettings")]
535impl AkInitSettings {
536 #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
537 pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
538 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
539 panic!(
540 "{}
541::{}
542 failed to instantiate",
543 ::core::stringify!(AkInitSettings),
544 ::core::stringify!(new),
545 )
546 });
547 <Self as IAkInitSettingsMethods>::ctor(this, c_ptr, c_memory_own);
548 this
549 }
550}
551
552#[cfg(feature = "root-akinitsettings")]
553#[doc(hidden)]
554pub mod prelude {
555 pub use super::{AkInitSettings, IAkInitSettings, IAkInitSettingsMethods};
556 pub use crate::system::object::IObject;
557 #[cfg(feature = "system-object")]
558 pub use crate::system::object::IObjectMethods;
559}