1#[cfg(feature = "app-soundwwise-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 app::{
10 procinst::{IProcInst, ProcInst},
11 singletonprocinst_1::{ISingletonProcInst_1, SingletonProcInst_1},
12 soundsystem::{ISoundSystem_SoundHandle, SoundSystem_SoundHandle},
13 },
14 system::{
15 object::{IObject, Object},
16 r#enum::{Enum, IEnum},
17 valuetype::{IValueType, ValueType},
18 },
19 };
20
21 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPrepareManager_SwitchParamList.md"))]
22 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPrepareManager.SwitchParamList")]
23 #[parent(crate::system::object::Object)]
24 pub struct SoundWwise_SoundPrepareManager_SwitchParamList {
25 #[offset(16)]
26 #[rename(name = "m_switchGroupName")]
27 pub m_switch_group_name: ::unity::Il2CppString,
28 #[offset(24)]
29 #[rename(name = "m_paramList")]
30 pub m_param_list: crate::system::collections::generic::dictionary_2::Dictionary_2<
31 ::unity::Il2CppString,
32 crate::app::soundwwise::SoundWwise_SoundPrepareManager_SwitchParam,
33 >,
34 }
35
36 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPrepareManager.md"))]
37 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPrepareManager")]
38 #[parent(crate::system::object::Object)]
39 pub struct SoundWwise_SoundPrepareManager {
40 #[static_field]
41 #[rename(name = "m_eventParamList")]
42 pub m_event_param_list: crate::app::soundwwise::SoundWwise_SoundPrepareManager_EventParamList,
43 #[static_field]
44 #[rename(name = "m_switchGroupParamList")]
45 pub m_switch_group_param_list: crate::app::soundwwise::SoundWwise_SoundPrepareManager_SwitchGroupParamList,
46 }
47
48 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundBankManager_States.md"))]
49 #[repr(C)]
50 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
51 pub struct SoundWwise_SoundBankManager_States {
52 pub value: i32,
53 }
54 impl ::unity::ClassIdentity for SoundWwise_SoundBankManager_States {
55 const NAME: &'static str = "SoundWwise.SoundBankManager.States";
56 const NAMESPACE: &'static str = "App";
57
58 fn class() -> ::unity::Class {
59 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
60 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
61 }
62 }
63 impl ::unity::IlType for SoundWwise_SoundBankManager_States {
64 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
65 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
66 }
67 }
68 impl SoundWwise_SoundBankManager_States {
69 pub fn loading() -> Self {
70 Self { value: 0 }
71 }
72
73 pub fn loaded() -> Self {
74 Self { value: 1 }
75 }
76
77 pub fn unexist() -> Self {
78 Self { value: 2 }
79 }
80 }
81
82 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundLoad.md"))]
83 #[::unity::class(namespace = "App", name = "SoundWwise.SoundLoad")]
84 #[parent(crate::system::object::Object)]
85 pub struct SoundWwise_SoundLoad {}
86
87 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundBankManager_AsyncBankHandle.md"))]
88 #[::unity::class(namespace = "App", name = "SoundWwise.SoundBankManager.AsyncBankHandle")]
89 #[parent(crate::app::soundwwise::SoundWwise_SoundBankManager_BankHandle)]
90 pub struct SoundWwise_SoundBankManager_AsyncBankHandle {}
91
92 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPlay_GameObjectPool.md"))]
93 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPlay.GameObjectPool")]
94 #[parent(crate::system::object::Object)]
95 pub struct SoundWwise_SoundPlay_GameObjectPool {
96 #[static_field]
97 #[rename(name = "GameObjectDefaultNum")]
98 pub game_object_default_num: i32,
99 #[offset(16)]
100 #[rename(name = "m_objList")]
101 pub m_obj_list: crate::system::collections::generic::list_1::List_1<crate::unity_engine::gameobject::GameObject>,
102 }
103
104 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPrepareManager_EventParamList.md"))]
105 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPrepareManager.EventParamList")]
106 #[parent(crate::system::object::Object)]
107 pub struct SoundWwise_SoundPrepareManager_EventParamList {
108 #[offset(16)]
109 #[rename(name = "m_paramList")]
110 pub m_param_list: crate::system::collections::generic::dictionary_2::Dictionary_2<
111 ::unity::Il2CppString,
112 crate::app::soundwwise::SoundWwise_SoundPrepareManager_EventParam,
113 >,
114 }
115
116 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPlay.md"))]
117 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPlay")]
118 #[parent(crate::system::object::Object)]
119 pub struct SoundWwise_SoundPlay {
120 #[static_field]
121 #[rename(name = "DefaultCallbackFlag")]
122 pub default_callback_flag: u32,
123 #[static_field]
124 #[rename(name = "GetPositionFlag")]
125 pub get_position_flag: u32,
126 #[offset(16)]
127 #[rename(name = "m_rootGameObject")]
128 pub m_root_game_object: crate::unity_engine::gameobject::GameObject,
129 #[offset(24)]
130 #[rename(name = "m_soundObjects")]
131 pub m_sound_objects: crate::app::soundwwise::SoundWwise_SoundPlay_GameObjectPool,
132 }
133
134 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundParam.md"))]
135 #[::unity::class(namespace = "App", name = "SoundWwise.SoundParam")]
136 #[parent(crate::system::object::Object)]
137 pub struct SoundWwise_SoundParam {
138 #[static_field]
139 #[rename(name = "MasterVolumeMin")]
140 pub master_volume_min: i32,
141 #[static_field]
142 #[rename(name = "MasterVolumeMax")]
143 pub master_volume_max: i32,
144 #[static_field]
145 #[rename(name = "ConfigVolumeMin")]
146 pub config_volume_min: i32,
147 #[static_field]
148 #[rename(name = "ConfigVolumeMax")]
149 pub config_volume_max: i32,
150 #[static_field]
151 #[rename(name = "MasterBgmVolumeName")]
152 pub master_bgm_volume_name: ::unity::Il2CppString,
153 #[static_field]
154 #[rename(name = "MasterEnvVolumeName")]
155 pub master_env_volume_name: ::unity::Il2CppString,
156 #[static_field]
157 #[rename(name = "MasterSeVolumeName")]
158 pub master_se_volume_name: ::unity::Il2CppString,
159 #[static_field]
160 #[rename(name = "MasterVoiceVolumeName")]
161 pub master_voice_volume_name: ::unity::Il2CppString,
162 #[static_field]
163 #[rename(name = "ConfigBgmVolumeName")]
164 pub config_bgm_volume_name: ::unity::Il2CppString,
165 #[static_field]
166 #[rename(name = "ConfigEnvVolumeName")]
167 pub config_env_volume_name: ::unity::Il2CppString,
168 #[static_field]
169 #[rename(name = "ConfigSeVolumeName")]
170 pub config_se_volume_name: ::unity::Il2CppString,
171 #[static_field]
172 #[rename(name = "ConfigVoiceVolumeName")]
173 pub config_voice_volume_name: ::unity::Il2CppString,
174 #[offset(16)]
175 #[rename(name = "m_rootGameObject")]
176 pub m_root_game_object: crate::unity_engine::gameobject::GameObject,
177 }
178
179 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise.md"))]
180 #[::unity::class(namespace = "App", name = "SoundWwise")]
181 #[parent(crate::system::object::Object)]
182 pub struct SoundWwise {
183 #[static_field]
184 #[rename(name = "WwiseGlobalObjectName")]
185 pub wwise_global_object_name: ::unity::Il2CppString,
186 #[static_field]
187 #[rename(name = "AudioListenerObjectName")]
188 pub audio_listener_object_name: ::unity::Il2CppString,
189 #[static_field]
190 #[rename(name = "s_WwiseGlobalObject")]
191 pub s_wwise_global_object: crate::unity_engine::gameobject::GameObject,
192 #[static_field]
193 #[rename(name = "s_audioListenerObject")]
194 pub s_audio_listener_object: crate::unity_engine::gameobject::GameObject,
195 }
196
197 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPrepareManager_EventParam.md"))]
198 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPrepareManager.EventParam")]
199 #[parent(crate::app::soundwwise::SoundWwise_SoundPrepareManager_Param)]
200 pub struct SoundWwise_SoundPrepareManager_EventParam {
201 #[offset(24)]
202 #[rename(name = "m_eventName")]
203 pub m_event_name: ::unity::Il2CppString,
204 }
205
206 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundHandle.md"))]
207 #[::unity::class(namespace = "App", name = "SoundWwise.SoundHandle")]
208 #[parent(crate::app::soundsystem::SoundSystem_SoundHandle)]
209 pub struct SoundWwise_SoundHandle {
210 #[offset(16)]
211 #[rename(name = "m_eventName")]
212 pub m_event_name: ::unity::Il2CppString,
213 #[offset(24)]
214 #[rename(name = "m_eventId")]
215 pub m_event_id: u32,
216 #[offset(32)]
217 #[rename(name = "m_lipSyncDataFileName")]
218 pub m_lip_sync_data_file_name: ::unity::Il2CppString,
219 #[offset(40)]
220 #[rename(name = "m_gameObject")]
221 pub m_game_object: crate::unity_engine::gameobject::GameObject,
222 #[offset(48)]
223 #[rename(name = "m_playingId")]
224 pub m_playing_id: u32,
225 #[offset(52)]
226 #[rename(name = "m_isPlaying")]
227 pub m_is_playing: bool,
228 #[offset(53)]
229 #[rename(name = "m_isTemporaryGameObject")]
230 pub m_is_temporary_game_object: bool,
231 #[offset(56)]
232 #[rename(name = "m_character")]
233 pub m_character: crate::combat::character::Character,
234 #[offset(64)]
235 #[rename(name = "m_eventCharacterMouthController")]
236 pub m_event_character_mouth_controller: crate::app::eventcharactermouthcontroller::EventCharacterMouthController,
237 }
238
239 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPrepareManager_SwitchParam.md"))]
240 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPrepareManager.SwitchParam")]
241 #[parent(crate::app::soundwwise::SoundWwise_SoundPrepareManager_Param)]
242 pub struct SoundWwise_SoundPrepareManager_SwitchParam {
243 #[offset(24)]
244 #[rename(name = "m_switchGroupName")]
245 pub m_switch_group_name: ::unity::Il2CppString,
246 #[offset(32)]
247 #[rename(name = "m_switchName")]
248 pub m_switch_name: ::unity::Il2CppString,
249 }
250
251 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPrepareManager_SwitchGroupParamList.md"))]
252 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPrepareManager.SwitchGroupParamList")]
253 #[parent(crate::system::object::Object)]
254 pub struct SoundWwise_SoundPrepareManager_SwitchGroupParamList {
255 #[offset(16)]
256 #[rename(name = "m_paramListList")]
257 pub m_param_list_list: crate::system::collections::generic::dictionary_2::Dictionary_2<
258 ::unity::Il2CppString,
259 crate::app::soundwwise::SoundWwise_SoundPrepareManager_SwitchParamList,
260 >,
261 }
262
263 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundBankManager.md"))]
264 #[::unity::class(namespace = "App", name = "SoundWwise.SoundBankManager")]
265 #[parent(crate::app::singletonprocinst_1::SingletonProcInst_1<crate::app::soundwwise::SoundWwise_SoundBankManager>)]
266 pub struct SoundWwise_SoundBankManager {
267 #[offset(120)]
268 #[rename(name = "m_bankHandles")]
269 pub m_bank_handles: crate::system::collections::generic::dictionary_2::Dictionary_2<
270 ::unity::Il2CppString,
271 crate::app::soundwwise::SoundWwise_SoundBankManager_BankHandle,
272 >,
273 #[offset(128)]
274 #[rename(name = "m_workRemovingHandles")]
275 pub m_work_removing_handles:
276 crate::system::collections::generic::list_1::List_1<crate::app::soundwwise::SoundWwise_SoundBankManager_BankHandle>,
277 }
278
279 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundPrepareManager_Param.md"))]
280 #[::unity::class(namespace = "App", name = "SoundWwise.SoundPrepareManager.Param")]
281 #[parent(crate::system::object::Object)]
282 pub struct SoundWwise_SoundPrepareManager_Param {
283 #[offset(16)]
284 #[rename(name = "m_reference")]
285 pub m_reference: i32,
286 }
287
288 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundBankManager_InternalStates.md"))]
289 #[repr(C)]
290 #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
291 pub struct SoundWwise_SoundBankManager_InternalStates {
292 pub value: i32,
293 }
294 impl ::unity::ClassIdentity for SoundWwise_SoundBankManager_InternalStates {
295 const NAME: &'static str = "SoundWwise.SoundBankManager.InternalStates";
296 const NAMESPACE: &'static str = "App";
297
298 fn class() -> ::unity::Class {
299 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
300 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
301 }
302 }
303 impl ::unity::IlType for SoundWwise_SoundBankManager_InternalStates {
304 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
305 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
306 }
307 }
308 impl SoundWwise_SoundBankManager_InternalStates {
309 pub fn loading() -> Self {
310 Self { value: 0 }
311 }
312
313 pub fn load_succeeded() -> Self {
314 Self { value: 1 }
315 }
316
317 pub fn load_failed() -> Self {
318 Self { value: 2 }
319 }
320 }
321
322 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/app/soundwwise/SoundWwise_SoundBankManager_BankHandle.md"))]
323 #[::unity::class(namespace = "App", name = "SoundWwise.SoundBankManager.BankHandle")]
324 #[parent(crate::system::object::Object)]
325 pub struct SoundWwise_SoundBankManager_BankHandle {
326 #[offset(16)]
327 #[rename(name = "m_isPrepareLoad")]
328 pub m_is_prepare_load: bool,
329 #[offset(24)]
330 #[rename(name = "m_bankName")]
331 pub m_bank_name: ::unity::Il2CppString,
332 #[offset(32)]
333 #[rename(name = "m_bankID")]
334 pub m_bank_id: u32,
335 #[offset(36)]
336 #[rename(name = "m_refCount")]
337 pub m_ref_count: i32,
338 #[offset(40)]
339 #[rename(name = "m_state")]
340 pub m_state: crate::app::soundwwise::SoundWwise_SoundBankManager_States,
341 #[offset(44)]
342 #[rename(name = "m_internalState")]
343 pub m_internal_state: crate::app::soundwwise::SoundWwise_SoundBankManager_InternalStates,
344 }
345}
346
347#[cfg(feature = "app-soundwwise-types")]
348pub use __types::*;
349
350#[cfg(feature = "app-soundwwise")]
351pub trait ISoundWwise_SoundPrepareManager_SwitchParamListMethods: ISoundWwise_SoundPrepareManager_SwitchParamList {
352 #[doc = "`.ctor(::unity::Il2CppString)` overload"]
353 fn ctor(self, switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
354 unsafe {
355 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParamList as ::unity::FromIlInstance>::from_il_instance(
356 <Self as ::unity::SystemObject>::as_instance(self),
357 );
358 ::unity::il2cpp_call!((::unity::module_base()+0x22f06f0usize)as*mut u8,();
359(SoundWwise_SoundPrepareManager_SwitchParamList)__receiver,(::unity::Il2CppString)::core::convert::Into::into(switch_group_name))
360 }
361 }
362 #[doc = "`IncRef(::unity::Il2CppString)` overload"]
363 fn inc_ref(self, switch_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
364 unsafe {
365 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParamList as ::unity::FromIlInstance>::from_il_instance(
366 <Self as ::unity::SystemObject>::as_instance(self),
367 );
368 ::unity::il2cpp_call!((::unity::module_base()+0x22f05e0usize)as*mut u8,bool;
369(SoundWwise_SoundPrepareManager_SwitchParamList)__receiver,(::unity::Il2CppString)::core::convert::Into::into(switch_name))
370 }
371 }
372 #[doc = "`DecRef(::unity::Il2CppString)` overload"]
373 fn dec_ref(self, switch_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
374 unsafe {
375 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParamList as ::unity::FromIlInstance>::from_il_instance(
376 <Self as ::unity::SystemObject>::as_instance(self),
377 );
378 ::unity::il2cpp_call!((::unity::module_base()+0x22f08d0usize)as*mut u8,bool;
379(SoundWwise_SoundPrepareManager_SwitchParamList)__receiver,(::unity::Il2CppString)::core::convert::Into::into(switch_name))
380 }
381 }
382 #[doc = "`IsEmpty()` overload"]
383 fn is_empty(self) -> bool {
384 unsafe {
385 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParamList as ::unity::FromIlInstance>::from_il_instance(
386 <Self as ::unity::SystemObject>::as_instance(self),
387 );
388 ::unity::il2cpp_call!((::unity::module_base()+0x22f0df0usize)as*mut u8,bool;
389(SoundWwise_SoundPrepareManager_SwitchParamList)__receiver)
390 }
391 }
392 #[doc = "`Clear()` overload"]
393 fn clear(self) -> () {
394 unsafe {
395 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParamList as ::unity::FromIlInstance>::from_il_instance(
396 <Self as ::unity::SystemObject>::as_instance(self),
397 );
398 ::unity::il2cpp_call!((::unity::module_base()+0x22f0ad0usize)as*mut u8,();
399(SoundWwise_SoundPrepareManager_SwitchParamList)__receiver)
400 }
401 }
402}
403
404#[cfg(feature = "app-soundwwise")]
405impl<__T: ISoundWwise_SoundPrepareManager_SwitchParamList> ISoundWwise_SoundPrepareManager_SwitchParamListMethods for __T {}
406
407#[cfg(feature = "app-soundwwise")]
408impl SoundWwise_SoundPrepareManager_SwitchParamList {
409 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
410 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
411 }
412
413 pub fn inc_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
414 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
415 }
416
417 pub fn dec_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
418 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
419 }
420
421 pub fn is_empty_method_info() -> &'static ::unity::il2cpp::MethodInfo {
422 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
423 }
424
425 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
426 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
427 }
428}
429
430#[cfg(feature = "app-soundwwise")]
431impl SoundWwise_SoundPrepareManager_SwitchParamList {
432 #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
433 pub fn new(switch_group_name: ::unity::Il2CppString) -> Self {
434 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
435 panic!(
436 "{}
437::{}
438 failed to instantiate",
439 ::core::stringify!(SoundWwise_SoundPrepareManager_SwitchParamList),
440 ::core::stringify!(new),
441 )
442 });
443 <Self as ISoundWwise_SoundPrepareManager_SwitchParamListMethods>::ctor(this, switch_group_name);
444 this
445 }
446}
447
448#[cfg(feature = "app-soundwwise")]
449impl SoundWwise_SoundPrepareManager {
450 #[doc = "`IncRef_Event(::unity::Il2CppString)` overload"]
451 pub fn inc_ref_event(event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
452 unsafe {
453 ::unity::il2cpp_call!((::unity::module_base()+0x21f5170usize)as*mut u8,bool;
454(::unity::Il2CppString)::core::convert::Into::into(event_name))
455 }
456 }
457
458 #[doc = "`DecRef_Event(::unity::Il2CppString)` overload"]
459 pub fn dec_ref_event(event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
460 unsafe {
461 ::unity::il2cpp_call!((::unity::module_base()+0x21f51f0usize)as*mut u8,bool;
462(::unity::Il2CppString)::core::convert::Into::into(event_name))
463 }
464 }
465
466 #[doc = "`IncRef_Switch(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
467 pub fn inc_ref_switch(
468 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
469 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
470 ) -> bool {
471 unsafe {
472 ::unity::il2cpp_call!((::unity::module_base()+0x21f5270usize)as*mut u8,bool;
473(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(event_name))
474 }
475 }
476
477 #[doc = "`DecRef_Switch(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
478 pub fn dec_ref_switch(
479 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
480 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
481 ) -> bool {
482 unsafe {
483 ::unity::il2cpp_call!((::unity::module_base()+0x21f52f0usize)as*mut u8,bool;
484(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(event_name))
485 }
486 }
487
488 #[doc = "`Clear()` overload"]
489 pub fn clear() -> () {
490 unsafe {
491 ::unity::il2cpp_call!((::unity::module_base()+0x21f5370usize)as*mut u8,();
492 )
493 }
494 }
495
496 #[doc = "`.cctor()` overload"]
497 pub fn cctor() -> () {
498 unsafe {
499 ::unity::il2cpp_call!((::unity::module_base()+0x21f5400usize)as*mut u8,();
500 )
501 }
502 }
503}
504
505#[cfg(feature = "app-soundwwise")]
506pub trait ISoundWwise_SoundPrepareManagerMethods: ISoundWwise_SoundPrepareManager {
507 #[doc = "`.ctor()` overload"]
508 fn ctor(self) -> () {
509 unsafe {
510 let __receiver =
511 <SoundWwise_SoundPrepareManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
512 ::unity::il2cpp_call!((::unity::module_base()+0x21f53f0usize)as*mut u8,();
513(SoundWwise_SoundPrepareManager)__receiver)
514 }
515 }
516}
517
518#[cfg(feature = "app-soundwwise")]
519impl<__T: ISoundWwise_SoundPrepareManager> ISoundWwise_SoundPrepareManagerMethods for __T {}
520
521#[cfg(feature = "app-soundwwise")]
522impl SoundWwise_SoundPrepareManager {
523 pub fn inc_ref_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
524 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
525 }
526
527 pub fn dec_ref_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
528 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
529 }
530
531 pub fn inc_ref_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
532 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
533 }
534
535 pub fn dec_ref_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
536 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
537 }
538
539 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
540 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
541 }
542
543 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
544 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
545 }
546
547 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
548 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
549 }
550}
551
552#[cfg(feature = "app-soundwwise")]
553impl SoundWwise_SoundPrepareManager {
554 #[doc = "`.ctor()` — no args"]
555 pub fn new() -> Self {
556 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
557 panic!(
558 "{}
559::{}
560 failed to instantiate",
561 ::core::stringify!(SoundWwise_SoundPrepareManager),
562 ::core::stringify!(new),
563 )
564 });
565 <Self as ISoundWwise_SoundPrepareManagerMethods>::ctor(this);
566 this
567 }
568}
569
570#[cfg(feature = "app-soundwwise")]
571pub trait ISoundWwise_SoundLoadMethods: ISoundWwise_SoundLoad {
572 #[doc = "`Load(::unity::Il2CppString)` overload"]
573 fn load(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
574 unsafe {
575 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
576 {
577 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
578 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
579 panic!(
580 "unity: virtual slot {}
581 out of range (vtable len {}
582) on the runtime class behind {}
583 (method `{}
584`)",
585 4usize,
586 __vt.len(),
587 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
588 "Load",
589 )
590 });
591 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
592 ::core::mem::transmute(__vi.method_ptr);
593 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
594 __inner(__receiver, ::core::convert::Into::into(name), __mi)
595 }
596 }
597 }
598 #[doc = "`LoadAsync(::unity::Il2CppString)` overload"]
599 fn load_async(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
600 unsafe {
601 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
602 {
603 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
604 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
605 panic!(
606 "unity: virtual slot {}
607 out of range (vtable len {}
608) on the runtime class behind {}
609 (method `{}
610`)",
611 5usize,
612 __vt.len(),
613 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
614 "LoadAsync",
615 )
616 });
617 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
618 ::core::mem::transmute(__vi.method_ptr);
619 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
620 __inner(__receiver, ::core::convert::Into::into(name), __mi)
621 }
622 }
623 }
624 #[doc = "`IsLoading()` overload"]
625 fn is_loading(self) -> bool {
626 unsafe {
627 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
628 {
629 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
630 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
631 panic!(
632 "unity: virtual slot {}
633 out of range (vtable len {}
634) on the runtime class behind {}
635 (method `{}
636`)",
637 6usize,
638 __vt.len(),
639 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
640 "IsLoading",
641 )
642 });
643 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
644 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
645 __inner(__receiver, __mi)
646 }
647 }
648 }
649 #[doc = "`IsLoading(::unity::Il2CppString)` overload"]
650 fn is_loading_2(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
651 unsafe {
652 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
653 {
654 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
655 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
656 panic!(
657 "unity: virtual slot {}
658 out of range (vtable len {}
659) on the runtime class behind {}
660 (method `{}
661`)",
662 7usize,
663 __vt.len(),
664 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
665 "IsLoading",
666 )
667 });
668 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
669 ::core::mem::transmute(__vi.method_ptr);
670 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
671 __inner(__receiver, ::core::convert::Into::into(name), __mi)
672 }
673 }
674 }
675 #[doc = "`IsLoaded(::unity::Il2CppString)` overload"]
676 fn is_loaded(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
677 unsafe {
678 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
679 {
680 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
681 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
682 panic!(
683 "unity: virtual slot {}
684 out of range (vtable len {}
685) on the runtime class behind {}
686 (method `{}
687`)",
688 8usize,
689 __vt.len(),
690 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
691 "IsLoaded",
692 )
693 });
694 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
695 ::core::mem::transmute(__vi.method_ptr);
696 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
697 __inner(__receiver, ::core::convert::Into::into(name), __mi)
698 }
699 }
700 }
701 #[doc = "`Unload(::unity::Il2CppString)` overload"]
702 fn unload(self, name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
703 unsafe {
704 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
705 {
706 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
707 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
708 panic!(
709 "unity: virtual slot {}
710 out of range (vtable len {}
711) on the runtime class behind {}
712 (method `{}
713`)",
714 9usize,
715 __vt.len(),
716 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
717 "Unload",
718 )
719 });
720 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
721 ::core::mem::transmute(__vi.method_ptr);
722 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
723 __inner(__receiver, ::core::convert::Into::into(name), __mi)
724 }
725 }
726 }
727 #[doc = "`UnloadAll()` overload"]
728 fn unload_all(self) -> () {
729 unsafe {
730 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
731 {
732 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
733 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
734 panic!(
735 "unity: virtual slot {}
736 out of range (vtable len {}
737) on the runtime class behind {}
738 (method `{}
739`)",
740 10usize,
741 __vt.len(),
742 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
743 "UnloadAll",
744 )
745 });
746 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
747 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
748 __inner(__receiver, __mi)
749 }
750 }
751 }
752 #[doc = "`ReloadBySetLanguage(crate::app::language::Language_Voices)` overload"]
753 fn reload_by_set_language(self, language: impl ::core::convert::Into<crate::app::language::Language_Voices>) -> () {
754 unsafe {
755 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
756 {
757 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
758 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
759 panic!(
760 "unity: virtual slot {}
761 out of range (vtable len {}
762) on the runtime class behind {}
763 (method `{}
764`)",
765 11usize,
766 __vt.len(),
767 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
768 "ReloadBySetLanguage",
769 )
770 });
771 let __inner: extern "C" fn(SoundWwise_SoundLoad, crate::app::language::Language_Voices, ::unity::OptionalMethod) -> () =
772 ::core::mem::transmute(__vi.method_ptr);
773 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
774 __inner(__receiver, ::core::convert::Into::into(language), __mi)
775 }
776 }
777 }
778 #[doc = "`PrepareEvent(::unity::Il2CppString)` overload"]
779 fn prepare_event(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
780 unsafe {
781 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
782 {
783 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
784 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
785 panic!(
786 "unity: virtual slot {}
787 out of range (vtable len {}
788) on the runtime class behind {}
789 (method `{}
790`)",
791 12usize,
792 __vt.len(),
793 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
794 "PrepareEvent",
795 )
796 });
797 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
798 ::core::mem::transmute(__vi.method_ptr);
799 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
800 __inner(__receiver, ::core::convert::Into::into(event_name), __mi)
801 }
802 }
803 }
804 #[doc = "`PrepareEvent(::unity::Array<::unity::Il2CppString>)` overload"]
805 fn prepare_event_2(self, event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> bool {
806 unsafe {
807 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
808 {
809 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
810 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
811 panic!(
812 "unity: virtual slot {}
813 out of range (vtable len {}
814) on the runtime class behind {}
815 (method `{}
816`)",
817 13usize,
818 __vt.len(),
819 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
820 "PrepareEvent",
821 )
822 });
823 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Array<::unity::Il2CppString>, ::unity::OptionalMethod) -> bool =
824 ::core::mem::transmute(__vi.method_ptr);
825 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
826 __inner(__receiver, ::core::convert::Into::into(event_name_array), __mi)
827 }
828 }
829 }
830 #[doc = "`PrepareEventAsync(::unity::Il2CppString, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
831 fn prepare_event_async(
832 self,
833 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
834 ) -> (bool, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
835 unsafe {
836 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
837 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
838 let __ret = {
839 {
840 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
841 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
842 panic!(
843 "unity: virtual slot {}
844 out of range (vtable len {}
845) on the runtime class behind {}
846 (method `{}
847`)",
848 14usize,
849 __vt.len(),
850 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
851 "PrepareEventAsync",
852 )
853 });
854 let __inner: extern "C" fn(
855 SoundWwise_SoundLoad,
856 ::unity::Il2CppString,
857 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
858 ::unity::OptionalMethod,
859 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
860 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
861 __inner(__receiver, ::core::convert::Into::into(event_name), __out_0.as_mut_ptr(), __mi)
862 }
863 };
864 (__ret, __out_0.assume_init())
865 }
866 }
867 #[doc = "`PrepareEventAsync(::unity::Array<::unity::Il2CppString>, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
868 fn prepare_event_async_2(
869 self,
870 event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
871 ) -> (bool, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
872 unsafe {
873 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
874 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
875 let __ret = {
876 {
877 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
878 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
879 panic!(
880 "unity: virtual slot {}
881 out of range (vtable len {}
882) on the runtime class behind {}
883 (method `{}
884`)",
885 15usize,
886 __vt.len(),
887 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
888 "PrepareEventAsync",
889 )
890 });
891 let __inner: extern "C" fn(
892 SoundWwise_SoundLoad,
893 ::unity::Array<::unity::Il2CppString>,
894 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
895 ::unity::OptionalMethod,
896 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
897 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
898 __inner(__receiver, ::core::convert::Into::into(event_name_array), __out_0.as_mut_ptr(), __mi)
899 }
900 };
901 (__ret, __out_0.assume_init())
902 }
903 }
904 #[doc = "`UnprepareEvent(::unity::Il2CppString)` overload"]
905 fn unprepare_event(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
906 unsafe {
907 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
908 {
909 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
910 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
911 panic!(
912 "unity: virtual slot {}
913 out of range (vtable len {}
914) on the runtime class behind {}
915 (method `{}
916`)",
917 16usize,
918 __vt.len(),
919 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
920 "UnprepareEvent",
921 )
922 });
923 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
924 ::core::mem::transmute(__vi.method_ptr);
925 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
926 __inner(__receiver, ::core::convert::Into::into(event_name), __mi)
927 }
928 }
929 }
930 #[doc = "`UnprepareEvent(::unity::Array<::unity::Il2CppString>)` overload"]
931 fn unprepare_event_2(self, event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
932 unsafe {
933 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
934 {
935 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
936 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
937 panic!(
938 "unity: virtual slot {}
939 out of range (vtable len {}
940) on the runtime class behind {}
941 (method `{}
942`)",
943 17usize,
944 __vt.len(),
945 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
946 "UnprepareEvent",
947 )
948 });
949 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Array<::unity::Il2CppString>, ::unity::OptionalMethod) -> () =
950 ::core::mem::transmute(__vi.method_ptr);
951 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
952 __inner(__receiver, ::core::convert::Into::into(event_name_array), __mi)
953 }
954 }
955 }
956 #[doc = "`PrepareSwitch(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
957 fn prepare_switch(
958 self,
959 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
960 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
961 ) -> bool {
962 unsafe {
963 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
964 {
965 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
966 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
967 panic!(
968 "unity: virtual slot {}
969 out of range (vtable len {}
970) on the runtime class behind {}
971 (method `{}
972`)",
973 18usize,
974 __vt.len(),
975 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
976 "PrepareSwitch",
977 )
978 });
979 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
980 ::core::mem::transmute(__vi.method_ptr);
981 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
982 __inner(
983 __receiver,
984 ::core::convert::Into::into(switch_group_name),
985 ::core::convert::Into::into(switch_name),
986 __mi,
987 )
988 }
989 }
990 }
991 #[doc = "`PrepareSwitch(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
992 fn prepare_switch_2(
993 self,
994 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
995 switch_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
996 ) -> bool {
997 unsafe {
998 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
999 {
1000 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1001 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
1002 panic!(
1003 "unity: virtual slot {}
1004 out of range (vtable len {}
1005) on the runtime class behind {}
1006 (method `{}
1007`)",
1008 19usize,
1009 __vt.len(),
1010 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
1011 "PrepareSwitch",
1012 )
1013 });
1014 let __inner: extern "C" fn(
1015 SoundWwise_SoundLoad,
1016 ::unity::Il2CppString,
1017 ::unity::Array<::unity::Il2CppString>,
1018 ::unity::OptionalMethod,
1019 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
1020 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1021 __inner(
1022 __receiver,
1023 ::core::convert::Into::into(switch_group_name),
1024 ::core::convert::Into::into(switch_name_array),
1025 __mi,
1026 )
1027 }
1028 }
1029 }
1030 #[doc = "`PrepareSwitchAsync(::unity::Il2CppString, ::unity::Il2CppString, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
1031 fn prepare_switch_async(
1032 self,
1033 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
1034 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
1035 ) -> (bool, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
1036 unsafe {
1037 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1038 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
1039 let __ret = {
1040 {
1041 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1042 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
1043 panic!(
1044 "unity: virtual slot {}
1045 out of range (vtable len {}
1046) on the runtime class behind {}
1047 (method `{}
1048`)",
1049 20usize,
1050 __vt.len(),
1051 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
1052 "PrepareSwitchAsync",
1053 )
1054 });
1055 let __inner: extern "C" fn(
1056 SoundWwise_SoundLoad,
1057 ::unity::Il2CppString,
1058 ::unity::Il2CppString,
1059 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1060 ::unity::OptionalMethod,
1061 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
1062 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1063 __inner(
1064 __receiver,
1065 ::core::convert::Into::into(switch_group_name),
1066 ::core::convert::Into::into(switch_name),
1067 __out_0.as_mut_ptr(),
1068 __mi,
1069 )
1070 }
1071 };
1072 (__ret, __out_0.assume_init())
1073 }
1074 }
1075 #[doc = "`PrepareSwitchAsync(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
1076 fn prepare_switch_async_2(
1077 self,
1078 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
1079 switch_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
1080 ) -> (bool, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
1081 unsafe {
1082 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1083 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
1084 let __ret = {
1085 {
1086 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1087 let __vi = *__vt.get(21usize).unwrap_or_else(|| {
1088 panic!(
1089 "unity: virtual slot {}
1090 out of range (vtable len {}
1091) on the runtime class behind {}
1092 (method `{}
1093`)",
1094 21usize,
1095 __vt.len(),
1096 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
1097 "PrepareSwitchAsync",
1098 )
1099 });
1100 let __inner: extern "C" fn(
1101 SoundWwise_SoundLoad,
1102 ::unity::Il2CppString,
1103 ::unity::Array<::unity::Il2CppString>,
1104 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1105 ::unity::OptionalMethod,
1106 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
1107 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1108 __inner(
1109 __receiver,
1110 ::core::convert::Into::into(switch_group_name),
1111 ::core::convert::Into::into(switch_name_array),
1112 __out_0.as_mut_ptr(),
1113 __mi,
1114 )
1115 }
1116 };
1117 (__ret, __out_0.assume_init())
1118 }
1119 }
1120 #[doc = "`UnprepareSwitch(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
1121 fn unprepare_switch(
1122 self,
1123 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
1124 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
1125 ) -> () {
1126 unsafe {
1127 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1128 {
1129 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1130 let __vi = *__vt.get(22usize).unwrap_or_else(|| {
1131 panic!(
1132 "unity: virtual slot {}
1133 out of range (vtable len {}
1134) on the runtime class behind {}
1135 (method `{}
1136`)",
1137 22usize,
1138 __vt.len(),
1139 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
1140 "UnprepareSwitch",
1141 )
1142 });
1143 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1144 ::core::mem::transmute(__vi.method_ptr);
1145 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1146 __inner(
1147 __receiver,
1148 ::core::convert::Into::into(switch_group_name),
1149 ::core::convert::Into::into(switch_name),
1150 __mi,
1151 )
1152 }
1153 }
1154 }
1155 #[doc = "`UnprepareSwitch(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
1156 fn unprepare_switch_2(
1157 self,
1158 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
1159 switch_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
1160 ) -> () {
1161 unsafe {
1162 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1163 {
1164 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1165 let __vi = *__vt.get(23usize).unwrap_or_else(|| {
1166 panic!(
1167 "unity: virtual slot {}
1168 out of range (vtable len {}
1169) on the runtime class behind {}
1170 (method `{}
1171`)",
1172 23usize,
1173 __vt.len(),
1174 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
1175 "UnprepareSwitch",
1176 )
1177 });
1178 let __inner: extern "C" fn(
1179 SoundWwise_SoundLoad,
1180 ::unity::Il2CppString,
1181 ::unity::Array<::unity::Il2CppString>,
1182 ::unity::OptionalMethod,
1183 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1184 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1185 __inner(
1186 __receiver,
1187 ::core::convert::Into::into(switch_group_name),
1188 ::core::convert::Into::into(switch_name_array),
1189 __mi,
1190 )
1191 }
1192 }
1193 }
1194 #[doc = "`ClearPrepare()` overload"]
1195 fn clear_prepare(self) -> () {
1196 unsafe {
1197 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1198 {
1199 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1200 let __vi = *__vt.get(24usize).unwrap_or_else(|| {
1201 panic!(
1202 "unity: virtual slot {}
1203 out of range (vtable len {}
1204) on the runtime class behind {}
1205 (method `{}
1206`)",
1207 24usize,
1208 __vt.len(),
1209 <SoundWwise_SoundLoad as ::unity::ClassIdentity>::NAME,
1210 "ClearPrepare",
1211 )
1212 });
1213 let __inner: extern "C" fn(SoundWwise_SoundLoad, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1214 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1215 __inner(__receiver, __mi)
1216 }
1217 }
1218 }
1219 #[doc = "`.ctor()` overload"]
1220 fn ctor(self) -> () {
1221 unsafe {
1222 let __receiver = <SoundWwise_SoundLoad as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1223 ::unity::il2cpp_call!((::unity::module_base()+0x21f18a0usize)as*mut u8,();
1224(SoundWwise_SoundLoad)__receiver)
1225 }
1226 }
1227}
1228
1229#[cfg(feature = "app-soundwwise")]
1230impl<__T: ISoundWwise_SoundLoad> ISoundWwise_SoundLoadMethods for __T {}
1231
1232#[cfg(feature = "app-soundwwise")]
1233impl SoundWwise_SoundLoad {
1234 pub fn load_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1235 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1236 }
1237
1238 pub fn load_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1239 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1240 }
1241
1242 pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1243 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1244 }
1245
1246 pub fn is_loading_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1247 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1248 }
1249
1250 pub fn is_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1251 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1252 }
1253
1254 pub fn unload_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1255 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1256 }
1257
1258 pub fn unload_all_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1259 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1260 }
1261
1262 pub fn reload_by_set_language_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1263 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1264 }
1265
1266 pub fn prepare_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1267 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1268 }
1269
1270 pub fn prepare_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1271 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1272 }
1273
1274 pub fn prepare_event_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1275 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1276 }
1277
1278 pub fn prepare_event_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1280 }
1281
1282 pub fn unprepare_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1284 }
1285
1286 pub fn unprepare_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1287 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1288 }
1289
1290 pub fn prepare_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1291 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1292 }
1293
1294 pub fn prepare_switch_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1296 }
1297
1298 pub fn prepare_switch_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1300 }
1301
1302 pub fn prepare_switch_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1304 }
1305
1306 pub fn unprepare_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1308 }
1309
1310 pub fn unprepare_switch_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1311 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1312 }
1313
1314 pub fn clear_prepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1315 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1316 }
1317
1318 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1319 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1320 }
1321}
1322
1323#[cfg(feature = "app-soundwwise")]
1324impl SoundWwise_SoundLoad {
1325 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `Load`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1326 pub unsafe fn load(this: impl ::core::convert::Into<::unity::IlInstance>, name: ::unity::Il2CppString) -> () {
1327 let __mi = Self::load_method_info();
1328 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1329 ::core::mem::transmute(__mi.method_ptr);
1330 __inner(this.into(), name, ::core::option::Option::None)
1331 }
1332
1333 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `LoadAsync`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1334 pub unsafe fn load_async(this: impl ::core::convert::Into<::unity::IlInstance>, name: ::unity::Il2CppString) -> () {
1335 let __mi = Self::load_async_method_info();
1336 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1337 ::core::mem::transmute(__mi.method_ptr);
1338 __inner(this.into(), name, ::core::option::Option::None)
1339 }
1340
1341 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `IsLoading`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1342 pub unsafe fn is_loading(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
1343 let __mi = Self::is_loading_method_info();
1344 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
1345 __inner(this.into(), ::core::option::Option::None)
1346 }
1347
1348 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `IsLoading`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1349 pub unsafe fn is_loading_2(this: impl ::core::convert::Into<::unity::IlInstance>, name: ::unity::Il2CppString) -> bool {
1350 let __mi = Self::is_loading_2_method_info();
1351 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
1352 ::core::mem::transmute(__mi.method_ptr);
1353 __inner(this.into(), name, ::core::option::Option::None)
1354 }
1355
1356 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `IsLoaded`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1357 pub unsafe fn is_loaded(this: impl ::core::convert::Into<::unity::IlInstance>, name: ::unity::Il2CppString) -> bool {
1358 let __mi = Self::is_loaded_method_info();
1359 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
1360 ::core::mem::transmute(__mi.method_ptr);
1361 __inner(this.into(), name, ::core::option::Option::None)
1362 }
1363
1364 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `Unload`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1365 pub unsafe fn unload(this: impl ::core::convert::Into<::unity::IlInstance>, name: ::unity::Il2CppString) -> () {
1366 let __mi = Self::unload_method_info();
1367 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1368 ::core::mem::transmute(__mi.method_ptr);
1369 __inner(this.into(), name, ::core::option::Option::None)
1370 }
1371
1372 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `UnloadAll`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1373 pub unsafe fn unload_all(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1374 let __mi = Self::unload_all_method_info();
1375 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1376 __inner(this.into(), ::core::option::Option::None)
1377 }
1378
1379 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `ReloadBySetLanguage`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1380 pub unsafe fn reload_by_set_language(
1381 this: impl ::core::convert::Into<::unity::IlInstance>,
1382 language: crate::app::language::Language_Voices,
1383 ) -> () {
1384 let __mi = Self::reload_by_set_language_method_info();
1385 let __inner: extern "C" fn(::unity::IlInstance, crate::app::language::Language_Voices, ::unity::OptionalMethod) -> () =
1386 ::core::mem::transmute(__mi.method_ptr);
1387 __inner(this.into(), language, ::core::option::Option::None)
1388 }
1389
1390 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1391 pub unsafe fn prepare_event(this: impl ::core::convert::Into<::unity::IlInstance>, event_name: ::unity::Il2CppString) -> bool {
1392 let __mi = Self::prepare_event_method_info();
1393 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
1394 ::core::mem::transmute(__mi.method_ptr);
1395 __inner(this.into(), event_name, ::core::option::Option::None)
1396 }
1397
1398 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1399 pub unsafe fn prepare_event_2(
1400 this: impl ::core::convert::Into<::unity::IlInstance>,
1401 event_name_array: ::unity::Array<::unity::Il2CppString>,
1402 ) -> bool {
1403 let __mi = Self::prepare_event_2_method_info();
1404 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Array<::unity::Il2CppString>, ::unity::OptionalMethod) -> bool =
1405 ::core::mem::transmute(__mi.method_ptr);
1406 __inner(this.into(), event_name_array, ::core::option::Option::None)
1407 }
1408
1409 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareEventAsync`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1410 pub unsafe fn prepare_event_async(
1411 this: impl ::core::convert::Into<::unity::IlInstance>,
1412 event_name: ::unity::Il2CppString,
1413 result_sound_load: *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1414 ) -> bool {
1415 let __mi = Self::prepare_event_async_method_info();
1416 let __inner: extern "C" fn(
1417 ::unity::IlInstance,
1418 ::unity::Il2CppString,
1419 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1420 ::unity::OptionalMethod,
1421 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
1422 __inner(this.into(), event_name, result_sound_load, ::core::option::Option::None)
1423 }
1424
1425 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareEventAsync`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1426 pub unsafe fn prepare_event_async_2(
1427 this: impl ::core::convert::Into<::unity::IlInstance>,
1428 event_name_array: ::unity::Array<::unity::Il2CppString>,
1429 result_sound_load: *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1430 ) -> bool {
1431 let __mi = Self::prepare_event_async_2_method_info();
1432 let __inner: extern "C" fn(
1433 ::unity::IlInstance,
1434 ::unity::Array<::unity::Il2CppString>,
1435 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1436 ::unity::OptionalMethod,
1437 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
1438 __inner(this.into(), event_name_array, result_sound_load, ::core::option::Option::None)
1439 }
1440
1441 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `UnprepareEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1442 pub unsafe fn unprepare_event(this: impl ::core::convert::Into<::unity::IlInstance>, event_name: ::unity::Il2CppString) -> () {
1443 let __mi = Self::unprepare_event_method_info();
1444 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1445 ::core::mem::transmute(__mi.method_ptr);
1446 __inner(this.into(), event_name, ::core::option::Option::None)
1447 }
1448
1449 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `UnprepareEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1450 pub unsafe fn unprepare_event_2(
1451 this: impl ::core::convert::Into<::unity::IlInstance>,
1452 event_name_array: ::unity::Array<::unity::Il2CppString>,
1453 ) -> () {
1454 let __mi = Self::unprepare_event_2_method_info();
1455 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Array<::unity::Il2CppString>, ::unity::OptionalMethod) -> () =
1456 ::core::mem::transmute(__mi.method_ptr);
1457 __inner(this.into(), event_name_array, ::core::option::Option::None)
1458 }
1459
1460 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareSwitch`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1461 pub unsafe fn prepare_switch(
1462 this: impl ::core::convert::Into<::unity::IlInstance>,
1463 switch_group_name: ::unity::Il2CppString,
1464 switch_name: ::unity::Il2CppString,
1465 ) -> bool {
1466 let __mi = Self::prepare_switch_method_info();
1467 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
1468 ::core::mem::transmute(__mi.method_ptr);
1469 __inner(this.into(), switch_group_name, switch_name, ::core::option::Option::None)
1470 }
1471
1472 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareSwitch`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1473 pub unsafe fn prepare_switch_2(
1474 this: impl ::core::convert::Into<::unity::IlInstance>,
1475 switch_group_name: ::unity::Il2CppString,
1476 switch_name_array: ::unity::Array<::unity::Il2CppString>,
1477 ) -> bool {
1478 let __mi = Self::prepare_switch_2_method_info();
1479 let __inner: extern "C" fn(
1480 ::unity::IlInstance,
1481 ::unity::Il2CppString,
1482 ::unity::Array<::unity::Il2CppString>,
1483 ::unity::OptionalMethod,
1484 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
1485 __inner(this.into(), switch_group_name, switch_name_array, ::core::option::Option::None)
1486 }
1487
1488 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareSwitchAsync`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1489 pub unsafe fn prepare_switch_async(
1490 this: impl ::core::convert::Into<::unity::IlInstance>,
1491 switch_group_name: ::unity::Il2CppString,
1492 switch_name: ::unity::Il2CppString,
1493 result_sound_load: *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1494 ) -> bool {
1495 let __mi = Self::prepare_switch_async_method_info();
1496 let __inner: extern "C" fn(
1497 ::unity::IlInstance,
1498 ::unity::Il2CppString,
1499 ::unity::Il2CppString,
1500 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1501 ::unity::OptionalMethod,
1502 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
1503 __inner(
1504 this.into(),
1505 switch_group_name,
1506 switch_name,
1507 result_sound_load,
1508 ::core::option::Option::None,
1509 )
1510 }
1511
1512 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `PrepareSwitchAsync`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1513 pub unsafe fn prepare_switch_async_2(
1514 this: impl ::core::convert::Into<::unity::IlInstance>,
1515 switch_group_name: ::unity::Il2CppString,
1516 switch_name_array: ::unity::Array<::unity::Il2CppString>,
1517 result_sound_load: *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1518 ) -> bool {
1519 let __mi = Self::prepare_switch_async_2_method_info();
1520 let __inner: extern "C" fn(
1521 ::unity::IlInstance,
1522 ::unity::Il2CppString,
1523 ::unity::Array<::unity::Il2CppString>,
1524 *mut crate::app::soundsystem::SoundSystem_ResultSoundLoad,
1525 ::unity::OptionalMethod,
1526 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
1527 __inner(
1528 this.into(),
1529 switch_group_name,
1530 switch_name_array,
1531 result_sound_load,
1532 ::core::option::Option::None,
1533 )
1534 }
1535
1536 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `UnprepareSwitch`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1537 pub unsafe fn unprepare_switch(
1538 this: impl ::core::convert::Into<::unity::IlInstance>,
1539 switch_group_name: ::unity::Il2CppString,
1540 switch_name: ::unity::Il2CppString,
1541 ) -> () {
1542 let __mi = Self::unprepare_switch_method_info();
1543 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::Il2CppString, ::unity::OptionalMethod) -> () =
1544 ::core::mem::transmute(__mi.method_ptr);
1545 __inner(this.into(), switch_group_name, switch_name, ::core::option::Option::None)
1546 }
1547
1548 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `UnprepareSwitch`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1549 pub unsafe fn unprepare_switch_2(
1550 this: impl ::core::convert::Into<::unity::IlInstance>,
1551 switch_group_name: ::unity::Il2CppString,
1552 switch_name_array: ::unity::Array<::unity::Il2CppString>,
1553 ) -> () {
1554 let __mi = Self::unprepare_switch_2_method_info();
1555 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>, ::unity::OptionalMethod) -> () =
1556 ::core::mem::transmute(__mi.method_ptr);
1557 __inner(this.into(), switch_group_name, switch_name_array, ::core::option::Option::None)
1558 }
1559
1560 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundLoad`'s own `ClearPrepare`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1561 pub unsafe fn clear_prepare(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1562 let __mi = Self::clear_prepare_method_info();
1563 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1564 __inner(this.into(), ::core::option::Option::None)
1565 }
1566}
1567
1568#[cfg(feature = "app-soundwwise")]
1569impl SoundWwise_SoundLoad {
1570 #[doc = "`.ctor()` — no args"]
1571 pub fn new() -> Self {
1572 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1573 panic!(
1574 "{}
1575::{}
1576 failed to instantiate",
1577 ::core::stringify!(SoundWwise_SoundLoad),
1578 ::core::stringify!(new),
1579 )
1580 });
1581 <Self as ISoundWwise_SoundLoadMethods>::ctor(this);
1582 this
1583 }
1584}
1585
1586#[cfg(feature = "app-soundwwise")]
1587impl SoundWwise_SoundBankManager_AsyncBankHandle {
1588 #[doc = "`GlobalBankCallback(u32, ::unity::IntPtr, crate::root::akresult::AKRESULT, crate::system::object::Object)` overload"]
1589 pub fn global_bank_callback(
1590 bank_id: impl ::core::convert::Into<u32>,
1591 p_in_memory_bank_ptr: impl ::core::convert::Into<::unity::IntPtr>,
1592 load_result: impl ::core::convert::Into<crate::root::akresult::AKRESULT>,
1593 cookie: impl ::core::convert::Into<crate::system::object::Object>,
1594 ) -> () {
1595 unsafe {
1596 ::unity::il2cpp_call!((::unity::module_base()+0x22ef950usize)as*mut u8,();
1597(u32)::core::convert::Into::into(bank_id),(::unity::IntPtr)::core::convert::Into::into(p_in_memory_bank_ptr),(crate::root::akresult::AKRESULT)::core::convert::Into::into(load_result),(crate::system::object::Object)::core::convert::Into::into(cookie))
1598 }
1599 }
1600}
1601
1602#[cfg(feature = "app-soundwwise")]
1603pub trait ISoundWwise_SoundBankManager_AsyncBankHandleMethods: ISoundWwise_SoundBankManager_AsyncBankHandle {
1604 #[doc = "`.ctor(::unity::Il2CppString, bool)` overload"]
1605 fn ctor(self, name: impl ::core::convert::Into<::unity::Il2CppString>, is_prepare_load: impl ::core::convert::Into<bool>) -> () {
1606 unsafe {
1607 let __receiver = <SoundWwise_SoundBankManager_AsyncBankHandle as ::unity::FromIlInstance>::from_il_instance(
1608 <Self as ::unity::SystemObject>::as_instance(self),
1609 );
1610 ::unity::il2cpp_call!((::unity::module_base()+0x22ef790usize)as*mut u8,();
1611(SoundWwise_SoundBankManager_AsyncBankHandle)__receiver,(::unity::Il2CppString)::core::convert::Into::into(name),(bool)::core::convert::Into::into(is_prepare_load))
1612 }
1613 }
1614 #[doc = "`DoLoadBank()` overload"]
1615 fn do_load_bank(self) -> crate::root::akresult::AKRESULT {
1616 unsafe {
1617 let __receiver = <SoundWwise_SoundBankManager_AsyncBankHandle as ::unity::FromIlInstance>::from_il_instance(
1618 <Self as ::unity::SystemObject>::as_instance(self),
1619 );
1620 {
1621 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1622 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1623 panic!(
1624 "unity: virtual slot {}
1625 out of range (vtable len {}
1626) on the runtime class behind {}
1627 (method `{}
1628`)",
1629 4usize,
1630 __vt.len(),
1631 <SoundWwise_SoundBankManager_AsyncBankHandle as ::unity::ClassIdentity>::NAME,
1632 "DoLoadBank",
1633 )
1634 });
1635 let __inner: extern "C" fn(SoundWwise_SoundBankManager_AsyncBankHandle, ::unity::OptionalMethod) -> crate::root::akresult::AKRESULT =
1636 ::core::mem::transmute(__vi.method_ptr);
1637 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1638 __inner(__receiver, __mi)
1639 }
1640 }
1641 }
1642}
1643
1644#[cfg(feature = "app-soundwwise")]
1645impl<__T: ISoundWwise_SoundBankManager_AsyncBankHandle> ISoundWwise_SoundBankManager_AsyncBankHandleMethods for __T {}
1646
1647#[cfg(feature = "app-soundwwise")]
1648impl SoundWwise_SoundBankManager_AsyncBankHandle {
1649 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1650 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1651 }
1652
1653 pub fn do_load_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1654 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1655 }
1656
1657 pub fn global_bank_callback_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1658 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1659 }
1660}
1661
1662#[cfg(feature = "app-soundwwise")]
1663impl SoundWwise_SoundBankManager_AsyncBankHandle {
1664 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundBankManager_AsyncBankHandle`'s own `DoLoadBank`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1665 pub unsafe fn do_load_bank(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::root::akresult::AKRESULT {
1666 let __mi = Self::do_load_bank_method_info();
1667 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::root::akresult::AKRESULT =
1668 ::core::mem::transmute(__mi.method_ptr);
1669 __inner(this.into(), ::core::option::Option::None)
1670 }
1671}
1672
1673#[cfg(feature = "app-soundwwise")]
1674impl SoundWwise_SoundBankManager_AsyncBankHandle {
1675 #[doc = "`.ctor(::unity::Il2CppString, bool)` — overload selector"]
1676 pub fn new(name: ::unity::Il2CppString, is_prepare_load: bool) -> Self {
1677 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1678 panic!(
1679 "{}
1680::{}
1681 failed to instantiate",
1682 ::core::stringify!(SoundWwise_SoundBankManager_AsyncBankHandle),
1683 ::core::stringify!(new),
1684 )
1685 });
1686 <Self as ISoundWwise_SoundBankManager_AsyncBankHandleMethods>::ctor(this, name, is_prepare_load);
1687 this
1688 }
1689}
1690
1691#[cfg(feature = "app-soundwwise")]
1692pub trait ISoundWwise_SoundPlay_GameObjectPoolMethods: ISoundWwise_SoundPlay_GameObjectPool {
1693 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` overload"]
1694 fn ctor(self, parent: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
1695 unsafe {
1696 let __receiver = <SoundWwise_SoundPlay_GameObjectPool as ::unity::FromIlInstance>::from_il_instance(
1697 <Self as ::unity::SystemObject>::as_instance(self),
1698 );
1699 ::unity::il2cpp_call!((::unity::module_base()+0x22efd90usize)as*mut u8,();
1700(SoundWwise_SoundPlay_GameObjectPool)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(parent))
1701 }
1702 }
1703 #[doc = "`Pop()` overload"]
1704 fn pop(self) -> crate::unity_engine::gameobject::GameObject {
1705 unsafe {
1706 let __receiver = <SoundWwise_SoundPlay_GameObjectPool as ::unity::FromIlInstance>::from_il_instance(
1707 <Self as ::unity::SystemObject>::as_instance(self),
1708 );
1709 ::unity::il2cpp_call!((::unity::module_base()+0x22efee0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
1710(SoundWwise_SoundPlay_GameObjectPool)__receiver)
1711 }
1712 }
1713 #[doc = "`Push(crate::unity_engine::gameobject::GameObject)` overload"]
1714 fn push(self, obj: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
1715 unsafe {
1716 let __receiver = <SoundWwise_SoundPlay_GameObjectPool as ::unity::FromIlInstance>::from_il_instance(
1717 <Self as ::unity::SystemObject>::as_instance(self),
1718 );
1719 ::unity::il2cpp_call!((::unity::module_base()+0x22eff80usize)as*mut u8,();
1720(SoundWwise_SoundPlay_GameObjectPool)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(obj))
1721 }
1722 }
1723}
1724
1725#[cfg(feature = "app-soundwwise")]
1726impl<__T: ISoundWwise_SoundPlay_GameObjectPool> ISoundWwise_SoundPlay_GameObjectPoolMethods for __T {}
1727
1728#[cfg(feature = "app-soundwwise")]
1729impl SoundWwise_SoundPlay_GameObjectPool {
1730 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1731 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1732 }
1733
1734 pub fn pop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1735 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1736 }
1737
1738 pub fn push_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1739 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1740 }
1741}
1742
1743#[cfg(feature = "app-soundwwise")]
1744impl SoundWwise_SoundPlay_GameObjectPool {
1745 #[doc = "`.ctor(crate::unity_engine::gameobject::GameObject)` — overload selector"]
1746 pub fn new(parent: crate::unity_engine::gameobject::GameObject) -> Self {
1747 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1748 panic!(
1749 "{}
1750::{}
1751 failed to instantiate",
1752 ::core::stringify!(SoundWwise_SoundPlay_GameObjectPool),
1753 ::core::stringify!(new),
1754 )
1755 });
1756 <Self as ISoundWwise_SoundPlay_GameObjectPoolMethods>::ctor(this, parent);
1757 this
1758 }
1759}
1760
1761#[cfg(feature = "app-soundwwise")]
1762pub trait ISoundWwise_SoundPrepareManager_EventParamListMethods: ISoundWwise_SoundPrepareManager_EventParamList {
1763 #[doc = "`IncRef(::unity::Il2CppString)` overload"]
1764 fn inc_ref(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
1765 unsafe {
1766 let __receiver = <SoundWwise_SoundPrepareManager_EventParamList as ::unity::FromIlInstance>::from_il_instance(
1767 <Self as ::unity::SystemObject>::as_instance(self),
1768 );
1769 ::unity::il2cpp_call!((::unity::module_base()+0x22f0070usize)as*mut u8,bool;
1770(SoundWwise_SoundPrepareManager_EventParamList)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
1771 }
1772 }
1773 #[doc = "`DecRef(::unity::Il2CppString)` overload"]
1774 fn dec_ref(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
1775 unsafe {
1776 let __receiver = <SoundWwise_SoundPrepareManager_EventParamList as ::unity::FromIlInstance>::from_il_instance(
1777 <Self as ::unity::SystemObject>::as_instance(self),
1778 );
1779 ::unity::il2cpp_call!((::unity::module_base()+0x22f0180usize)as*mut u8,bool;
1780(SoundWwise_SoundPrepareManager_EventParamList)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
1781 }
1782 }
1783 #[doc = "`Clear()` overload"]
1784 fn clear(self) -> () {
1785 unsafe {
1786 let __receiver = <SoundWwise_SoundPrepareManager_EventParamList as ::unity::FromIlInstance>::from_il_instance(
1787 <Self as ::unity::SystemObject>::as_instance(self),
1788 );
1789 ::unity::il2cpp_call!((::unity::module_base()+0x22f0260usize)as*mut u8,();
1790(SoundWwise_SoundPrepareManager_EventParamList)__receiver)
1791 }
1792 }
1793 #[doc = "`.ctor()` overload"]
1794 fn ctor(self) -> () {
1795 unsafe {
1796 let __receiver = <SoundWwise_SoundPrepareManager_EventParamList as ::unity::FromIlInstance>::from_il_instance(
1797 <Self as ::unity::SystemObject>::as_instance(self),
1798 );
1799 ::unity::il2cpp_call!((::unity::module_base()+0x22f0470usize)as*mut u8,();
1800(SoundWwise_SoundPrepareManager_EventParamList)__receiver)
1801 }
1802 }
1803}
1804
1805#[cfg(feature = "app-soundwwise")]
1806impl<__T: ISoundWwise_SoundPrepareManager_EventParamList> ISoundWwise_SoundPrepareManager_EventParamListMethods for __T {}
1807
1808#[cfg(feature = "app-soundwwise")]
1809impl SoundWwise_SoundPrepareManager_EventParamList {
1810 pub fn inc_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1811 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1812 }
1813
1814 pub fn dec_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1815 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1816 }
1817
1818 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1819 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1820 }
1821
1822 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1823 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1824 }
1825}
1826
1827#[cfg(feature = "app-soundwwise")]
1828impl SoundWwise_SoundPrepareManager_EventParamList {
1829 #[doc = "`.ctor()` — no args"]
1830 pub fn new() -> Self {
1831 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1832 panic!(
1833 "{}
1834::{}
1835 failed to instantiate",
1836 ::core::stringify!(SoundWwise_SoundPrepareManager_EventParamList),
1837 ::core::stringify!(new),
1838 )
1839 });
1840 <Self as ISoundWwise_SoundPrepareManager_EventParamListMethods>::ctor(this);
1841 this
1842 }
1843}
1844
1845#[cfg(feature = "app-soundwwise")]
1846pub trait ISoundWwise_SoundPlayMethods: ISoundWwise_SoundPlay {
1847 #[doc = "`.ctor()` overload"]
1848 fn ctor(self) -> () {
1849 unsafe {
1850 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1851 ::unity::il2cpp_call!((::unity::module_base()+0x21f3960usize)as*mut u8,();
1852(SoundWwise_SoundPlay)__receiver)
1853 }
1854 }
1855 #[doc = "`PopTemporaryGameObject()` overload"]
1856 fn pop_temporary_game_object(self) -> crate::unity_engine::gameobject::GameObject {
1857 unsafe {
1858 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1859 {
1860 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1861 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
1862 panic!(
1863 "unity: virtual slot {}
1864 out of range (vtable len {}
1865) on the runtime class behind {}
1866 (method `{}
1867`)",
1868 4usize,
1869 __vt.len(),
1870 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
1871 "PopTemporaryGameObject",
1872 )
1873 });
1874 let __inner: extern "C" fn(SoundWwise_SoundPlay, ::unity::OptionalMethod) -> crate::unity_engine::gameobject::GameObject =
1875 ::core::mem::transmute(__vi.method_ptr);
1876 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1877 __inner(__receiver, __mi)
1878 }
1879 }
1880 }
1881 #[doc = "`PushTemporaryGameObject(crate::unity_engine::gameobject::GameObject)` overload"]
1882 fn push_temporary_game_object(self, game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
1883 unsafe {
1884 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1885 ::unity::il2cpp_call!((::unity::module_base()+0x21f3a40usize)as*mut u8,();
1886(SoundWwise_SoundPlay)__receiver,(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
1887 }
1888 }
1889 #[doc = "`PostEventCallback(crate::system::object::Object, crate::root::akcallbacktype::AkCallbackType, crate::root::akcallbackinfo::AkCallbackInfo)` overload"]
1890 fn post_event_callback(
1891 self,
1892 cookie: impl ::core::convert::Into<crate::system::object::Object>,
1893 r#type: impl ::core::convert::Into<crate::root::akcallbacktype::AkCallbackType>,
1894 callback_info: impl ::core::convert::Into<crate::root::akcallbackinfo::AkCallbackInfo>,
1895 ) -> () {
1896 unsafe {
1897 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1898 {
1899 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1900 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
1901 panic!(
1902 "unity: virtual slot {}
1903 out of range (vtable len {}
1904) on the runtime class behind {}
1905 (method `{}
1906`)",
1907 9usize,
1908 __vt.len(),
1909 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
1910 "PostEventCallback",
1911 )
1912 });
1913 let __inner: extern "C" fn(
1914 SoundWwise_SoundPlay,
1915 crate::system::object::Object,
1916 crate::root::akcallbacktype::AkCallbackType,
1917 crate::root::akcallbackinfo::AkCallbackInfo,
1918 ::unity::OptionalMethod,
1919 ) -> () = ::core::mem::transmute(__vi.method_ptr);
1920 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1921 __inner(
1922 __receiver,
1923 ::core::convert::Into::into(cookie),
1924 ::core::convert::Into::into(r#type),
1925 ::core::convert::Into::into(callback_info),
1926 __mi,
1927 )
1928 }
1929 }
1930 }
1931 #[doc = "`GetMarkerCmdArgs(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
1932 fn get_marker_cmd_args(
1933 self,
1934 marker_name: impl ::core::convert::Into<::unity::Il2CppString>,
1935 cmd_name: impl ::core::convert::Into<::unity::Il2CppString>,
1936 ) -> ::unity::Array<::unity::Il2CppString> {
1937 unsafe {
1938 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1939 ::unity::il2cpp_call!((::unity::module_base()+0x21f4290usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
1940(SoundWwise_SoundPlay)__receiver,(::unity::Il2CppString)::core::convert::Into::into(marker_name),(::unity::Il2CppString)::core::convert::Into::into(cmd_name))
1941 }
1942 }
1943 #[doc = "`IsEventLoaded(::unity::Il2CppString)` overload"]
1944 fn is_event_loaded(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
1945 unsafe {
1946 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1947 {
1948 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1949 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1950 panic!(
1951 "unity: virtual slot {}
1952 out of range (vtable len {}
1953) on the runtime class behind {}
1954 (method `{}
1955`)",
1956 5usize,
1957 __vt.len(),
1958 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
1959 "IsEventLoaded",
1960 )
1961 });
1962 let __inner: extern "C" fn(SoundWwise_SoundPlay, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
1963 ::core::mem::transmute(__vi.method_ptr);
1964 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1965 __inner(__receiver, ::core::convert::Into::into(event_name), __mi)
1966 }
1967 }
1968 }
1969 #[doc = "`IsEventLoaded_Common(::unity::Il2CppString)` overload"]
1970 fn is_event_loaded_common(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
1971 unsafe {
1972 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1973 ::unity::il2cpp_call!((::unity::module_base()+0x21f44f0usize)as*mut u8,bool;
1974(SoundWwise_SoundPlay)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
1975 }
1976 }
1977 #[doc = "`PostEvent(::unity::Il2CppString, bool)` overload"]
1978 fn post_event(
1979 self,
1980 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
1981 is_get_position: impl ::core::convert::Into<bool>,
1982 ) -> crate::app::soundsystem::SoundSystem_SoundHandle {
1983 unsafe {
1984 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1985 {
1986 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1987 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1988 panic!(
1989 "unity: virtual slot {}
1990 out of range (vtable len {}
1991) on the runtime class behind {}
1992 (method `{}
1993`)",
1994 6usize,
1995 __vt.len(),
1996 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
1997 "PostEvent",
1998 )
1999 });
2000 let __inner: extern "C" fn(
2001 SoundWwise_SoundPlay,
2002 ::unity::Il2CppString,
2003 bool,
2004 ::unity::OptionalMethod,
2005 ) -> crate::app::soundsystem::SoundSystem_SoundHandle = ::core::mem::transmute(__vi.method_ptr);
2006 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2007 __inner(
2008 __receiver,
2009 ::core::convert::Into::into(event_name),
2010 ::core::convert::Into::into(is_get_position),
2011 __mi,
2012 )
2013 }
2014 }
2015 }
2016 #[doc = "`PostEvent(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, bool)` overload"]
2017 fn post_event_2(
2018 self,
2019 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
2020 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
2021 is_get_position: impl ::core::convert::Into<bool>,
2022 ) -> crate::app::soundsystem::SoundSystem_SoundHandle {
2023 unsafe {
2024 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2025 {
2026 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2027 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
2028 panic!(
2029 "unity: virtual slot {}
2030 out of range (vtable len {}
2031) on the runtime class behind {}
2032 (method `{}
2033`)",
2034 7usize,
2035 __vt.len(),
2036 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2037 "PostEvent",
2038 )
2039 });
2040 let __inner: extern "C" fn(
2041 SoundWwise_SoundPlay,
2042 ::unity::Il2CppString,
2043 crate::unity_engine::gameobject::GameObject,
2044 bool,
2045 ::unity::OptionalMethod,
2046 ) -> crate::app::soundsystem::SoundSystem_SoundHandle = ::core::mem::transmute(__vi.method_ptr);
2047 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2048 __inner(
2049 __receiver,
2050 ::core::convert::Into::into(event_name),
2051 ::core::convert::Into::into(game_object),
2052 ::core::convert::Into::into(is_get_position),
2053 __mi,
2054 )
2055 }
2056 }
2057 }
2058 #[doc = "`PostEventWithTemporaryGameObject(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, bool)` overload"]
2059 fn post_event_with_temporary_game_object(
2060 self,
2061 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
2062 temporary_game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
2063 is_get_position: impl ::core::convert::Into<bool>,
2064 ) -> crate::app::soundsystem::SoundSystem_SoundHandle {
2065 unsafe {
2066 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2067 {
2068 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2069 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
2070 panic!(
2071 "unity: virtual slot {}
2072 out of range (vtable len {}
2073) on the runtime class behind {}
2074 (method `{}
2075`)",
2076 8usize,
2077 __vt.len(),
2078 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2079 "PostEventWithTemporaryGameObject",
2080 )
2081 });
2082 let __inner: extern "C" fn(
2083 SoundWwise_SoundPlay,
2084 ::unity::Il2CppString,
2085 crate::unity_engine::gameobject::GameObject,
2086 bool,
2087 ::unity::OptionalMethod,
2088 ) -> crate::app::soundsystem::SoundSystem_SoundHandle = ::core::mem::transmute(__vi.method_ptr);
2089 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2090 __inner(
2091 __receiver,
2092 ::core::convert::Into::into(event_name),
2093 ::core::convert::Into::into(temporary_game_object),
2094 ::core::convert::Into::into(is_get_position),
2095 __mi,
2096 )
2097 }
2098 }
2099 }
2100 #[doc = "`StopSoundOnEvent(::unity::Il2CppString, i32)` overload"]
2101 fn stop_sound_on_event(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2102 unsafe {
2103 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2104 {
2105 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2106 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
2107 panic!(
2108 "unity: virtual slot {}
2109 out of range (vtable len {}
2110) on the runtime class behind {}
2111 (method `{}
2112`)",
2113 10usize,
2114 __vt.len(),
2115 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2116 "StopSoundOnEvent",
2117 )
2118 });
2119 let __inner: extern "C" fn(SoundWwise_SoundPlay, ::unity::Il2CppString, i32, ::unity::OptionalMethod) -> () =
2120 ::core::mem::transmute(__vi.method_ptr);
2121 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2122 __inner(
2123 __receiver,
2124 ::core::convert::Into::into(event_name),
2125 ::core::convert::Into::into(fade_msec),
2126 __mi,
2127 )
2128 }
2129 }
2130 }
2131 #[doc = "`StopSoundOnEvent(::unity::Il2CppString, i32, crate::unity_engine::gameobject::GameObject)` overload"]
2132 fn stop_sound_on_event_2(
2133 self,
2134 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
2135 fade_msec: impl ::core::convert::Into<i32>,
2136 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
2137 ) -> () {
2138 unsafe {
2139 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2140 {
2141 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2142 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
2143 panic!(
2144 "unity: virtual slot {}
2145 out of range (vtable len {}
2146) on the runtime class behind {}
2147 (method `{}
2148`)",
2149 11usize,
2150 __vt.len(),
2151 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2152 "StopSoundOnEvent",
2153 )
2154 });
2155 let __inner: extern "C" fn(
2156 SoundWwise_SoundPlay,
2157 ::unity::Il2CppString,
2158 i32,
2159 crate::unity_engine::gameobject::GameObject,
2160 ::unity::OptionalMethod,
2161 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2162 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2163 __inner(
2164 __receiver,
2165 ::core::convert::Into::into(event_name),
2166 ::core::convert::Into::into(fade_msec),
2167 ::core::convert::Into::into(game_object),
2168 __mi,
2169 )
2170 }
2171 }
2172 }
2173 #[doc = "`PauseSoundOnEvent(::unity::Il2CppString, i32)` overload"]
2174 fn pause_sound_on_event(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2175 unsafe {
2176 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2177 {
2178 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2179 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
2180 panic!(
2181 "unity: virtual slot {}
2182 out of range (vtable len {}
2183) on the runtime class behind {}
2184 (method `{}
2185`)",
2186 12usize,
2187 __vt.len(),
2188 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2189 "PauseSoundOnEvent",
2190 )
2191 });
2192 let __inner: extern "C" fn(SoundWwise_SoundPlay, ::unity::Il2CppString, i32, ::unity::OptionalMethod) -> () =
2193 ::core::mem::transmute(__vi.method_ptr);
2194 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2195 __inner(
2196 __receiver,
2197 ::core::convert::Into::into(event_name),
2198 ::core::convert::Into::into(fade_msec),
2199 __mi,
2200 )
2201 }
2202 }
2203 }
2204 #[doc = "`PauseSoundOnEvent(::unity::Il2CppString, i32, crate::unity_engine::gameobject::GameObject)` overload"]
2205 fn pause_sound_on_event_2(
2206 self,
2207 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
2208 fade_msec: impl ::core::convert::Into<i32>,
2209 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
2210 ) -> () {
2211 unsafe {
2212 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2213 {
2214 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2215 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
2216 panic!(
2217 "unity: virtual slot {}
2218 out of range (vtable len {}
2219) on the runtime class behind {}
2220 (method `{}
2221`)",
2222 13usize,
2223 __vt.len(),
2224 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2225 "PauseSoundOnEvent",
2226 )
2227 });
2228 let __inner: extern "C" fn(
2229 SoundWwise_SoundPlay,
2230 ::unity::Il2CppString,
2231 i32,
2232 crate::unity_engine::gameobject::GameObject,
2233 ::unity::OptionalMethod,
2234 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2235 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2236 __inner(
2237 __receiver,
2238 ::core::convert::Into::into(event_name),
2239 ::core::convert::Into::into(fade_msec),
2240 ::core::convert::Into::into(game_object),
2241 __mi,
2242 )
2243 }
2244 }
2245 }
2246 #[doc = "`ResumeSoundOnEvent(::unity::Il2CppString, i32)` overload"]
2247 fn resume_sound_on_event(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2248 unsafe {
2249 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2250 {
2251 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2252 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
2253 panic!(
2254 "unity: virtual slot {}
2255 out of range (vtable len {}
2256) on the runtime class behind {}
2257 (method `{}
2258`)",
2259 14usize,
2260 __vt.len(),
2261 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2262 "ResumeSoundOnEvent",
2263 )
2264 });
2265 let __inner: extern "C" fn(SoundWwise_SoundPlay, ::unity::Il2CppString, i32, ::unity::OptionalMethod) -> () =
2266 ::core::mem::transmute(__vi.method_ptr);
2267 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2268 __inner(
2269 __receiver,
2270 ::core::convert::Into::into(event_name),
2271 ::core::convert::Into::into(fade_msec),
2272 __mi,
2273 )
2274 }
2275 }
2276 }
2277 #[doc = "`ResumeSoundOnEvent(::unity::Il2CppString, i32, crate::unity_engine::gameobject::GameObject)` overload"]
2278 fn resume_sound_on_event_2(
2279 self,
2280 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
2281 fade_msec: impl ::core::convert::Into<i32>,
2282 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
2283 ) -> () {
2284 unsafe {
2285 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2286 {
2287 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2288 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
2289 panic!(
2290 "unity: virtual slot {}
2291 out of range (vtable len {}
2292) on the runtime class behind {}
2293 (method `{}
2294`)",
2295 15usize,
2296 __vt.len(),
2297 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2298 "ResumeSoundOnEvent",
2299 )
2300 });
2301 let __inner: extern "C" fn(
2302 SoundWwise_SoundPlay,
2303 ::unity::Il2CppString,
2304 i32,
2305 crate::unity_engine::gameobject::GameObject,
2306 ::unity::OptionalMethod,
2307 ) -> () = ::core::mem::transmute(__vi.method_ptr);
2308 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2309 __inner(
2310 __receiver,
2311 ::core::convert::Into::into(event_name),
2312 ::core::convert::Into::into(fade_msec),
2313 ::core::convert::Into::into(game_object),
2314 __mi,
2315 )
2316 }
2317 }
2318 }
2319 #[doc = "`StopByPlayingId(u32, i32)` overload"]
2320 fn stop_by_playing_id(self, playing_id: impl ::core::convert::Into<u32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2321 unsafe {
2322 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2323 {
2324 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2325 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
2326 panic!(
2327 "unity: virtual slot {}
2328 out of range (vtable len {}
2329) on the runtime class behind {}
2330 (method `{}
2331`)",
2332 16usize,
2333 __vt.len(),
2334 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2335 "StopByPlayingId",
2336 )
2337 });
2338 let __inner: extern "C" fn(SoundWwise_SoundPlay, u32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2339 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2340 __inner(
2341 __receiver,
2342 ::core::convert::Into::into(playing_id),
2343 ::core::convert::Into::into(fade_msec),
2344 __mi,
2345 )
2346 }
2347 }
2348 }
2349 #[doc = "`GetPlayPosition(u32, i32)` overload"]
2350 fn get_play_position(self, playing_id: impl ::core::convert::Into<u32>, position_offset: impl ::core::convert::Into<i32>) -> i32 {
2351 unsafe {
2352 let __receiver = <SoundWwise_SoundPlay as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2353 {
2354 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2355 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
2356 panic!(
2357 "unity: virtual slot {}
2358 out of range (vtable len {}
2359) on the runtime class behind {}
2360 (method `{}
2361`)",
2362 17usize,
2363 __vt.len(),
2364 <SoundWwise_SoundPlay as ::unity::ClassIdentity>::NAME,
2365 "GetPlayPosition",
2366 )
2367 });
2368 let __inner: extern "C" fn(SoundWwise_SoundPlay, u32, i32, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__vi.method_ptr);
2369 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2370 __inner(
2371 __receiver,
2372 ::core::convert::Into::into(playing_id),
2373 ::core::convert::Into::into(position_offset),
2374 __mi,
2375 )
2376 }
2377 }
2378 }
2379}
2380
2381#[cfg(feature = "app-soundwwise")]
2382impl<__T: ISoundWwise_SoundPlay> ISoundWwise_SoundPlayMethods for __T {}
2383
2384#[cfg(feature = "app-soundwwise")]
2385impl SoundWwise_SoundPlay {
2386 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2387 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2388 }
2389
2390 pub fn pop_temporary_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2391 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2392 }
2393
2394 pub fn push_temporary_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2395 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2396 }
2397
2398 pub fn post_event_callback_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2399 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2400 }
2401
2402 pub fn get_marker_cmd_args_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2403 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2404 }
2405
2406 pub fn is_event_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2407 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
2408 }
2409
2410 pub fn is_event_loaded_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2411 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2412 }
2413
2414 pub fn post_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2415 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2416 }
2417
2418 pub fn post_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2419 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
2420 }
2421
2422 pub fn post_event_with_temporary_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2423 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
2424 }
2425
2426 pub fn stop_sound_on_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2427 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
2428 }
2429
2430 pub fn stop_sound_on_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2431 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
2432 }
2433
2434 pub fn pause_sound_on_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2435 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
2436 }
2437
2438 pub fn pause_sound_on_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2439 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
2440 }
2441
2442 pub fn resume_sound_on_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2443 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
2444 }
2445
2446 pub fn resume_sound_on_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
2448 }
2449
2450 pub fn stop_by_playing_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
2452 }
2453
2454 pub fn get_play_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
2456 }
2457}
2458
2459#[cfg(feature = "app-soundwwise")]
2460impl SoundWwise_SoundPlay {
2461 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `PopTemporaryGameObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2462 pub unsafe fn pop_temporary_game_object(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::gameobject::GameObject {
2463 let __mi = Self::pop_temporary_game_object_method_info();
2464 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::gameobject::GameObject =
2465 ::core::mem::transmute(__mi.method_ptr);
2466 __inner(this.into(), ::core::option::Option::None)
2467 }
2468
2469 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `PostEventCallback`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2470 pub unsafe fn post_event_callback(
2471 this: impl ::core::convert::Into<::unity::IlInstance>,
2472 cookie: crate::system::object::Object,
2473 r#type: crate::root::akcallbacktype::AkCallbackType,
2474 callback_info: crate::root::akcallbackinfo::AkCallbackInfo,
2475 ) -> () {
2476 let __mi = Self::post_event_callback_method_info();
2477 let __inner: extern "C" fn(
2478 ::unity::IlInstance,
2479 crate::system::object::Object,
2480 crate::root::akcallbacktype::AkCallbackType,
2481 crate::root::akcallbackinfo::AkCallbackInfo,
2482 ::unity::OptionalMethod,
2483 ) -> () = ::core::mem::transmute(__mi.method_ptr);
2484 __inner(this.into(), cookie, r#type, callback_info, ::core::option::Option::None)
2485 }
2486
2487 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `IsEventLoaded`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2488 pub unsafe fn is_event_loaded(this: impl ::core::convert::Into<::unity::IlInstance>, event_name: ::unity::Il2CppString) -> bool {
2489 let __mi = Self::is_event_loaded_method_info();
2490 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
2491 ::core::mem::transmute(__mi.method_ptr);
2492 __inner(this.into(), event_name, ::core::option::Option::None)
2493 }
2494
2495 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `PostEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2496 pub unsafe fn post_event(
2497 this: impl ::core::convert::Into<::unity::IlInstance>,
2498 event_name: ::unity::Il2CppString,
2499 is_get_position: bool,
2500 ) -> crate::app::soundsystem::SoundSystem_SoundHandle {
2501 let __mi = Self::post_event_method_info();
2502 let __inner: extern "C" fn(
2503 ::unity::IlInstance,
2504 ::unity::Il2CppString,
2505 bool,
2506 ::unity::OptionalMethod,
2507 ) -> crate::app::soundsystem::SoundSystem_SoundHandle = ::core::mem::transmute(__mi.method_ptr);
2508 __inner(this.into(), event_name, is_get_position, ::core::option::Option::None)
2509 }
2510
2511 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `PostEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2512 pub unsafe fn post_event_2(
2513 this: impl ::core::convert::Into<::unity::IlInstance>,
2514 event_name: ::unity::Il2CppString,
2515 game_object: crate::unity_engine::gameobject::GameObject,
2516 is_get_position: bool,
2517 ) -> crate::app::soundsystem::SoundSystem_SoundHandle {
2518 let __mi = Self::post_event_2_method_info();
2519 let __inner: extern "C" fn(
2520 ::unity::IlInstance,
2521 ::unity::Il2CppString,
2522 crate::unity_engine::gameobject::GameObject,
2523 bool,
2524 ::unity::OptionalMethod,
2525 ) -> crate::app::soundsystem::SoundSystem_SoundHandle = ::core::mem::transmute(__mi.method_ptr);
2526 __inner(this.into(), event_name, game_object, is_get_position, ::core::option::Option::None)
2527 }
2528
2529 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `PostEventWithTemporaryGameObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2530 pub unsafe fn post_event_with_temporary_game_object(
2531 this: impl ::core::convert::Into<::unity::IlInstance>,
2532 event_name: ::unity::Il2CppString,
2533 temporary_game_object: crate::unity_engine::gameobject::GameObject,
2534 is_get_position: bool,
2535 ) -> crate::app::soundsystem::SoundSystem_SoundHandle {
2536 let __mi = Self::post_event_with_temporary_game_object_method_info();
2537 let __inner: extern "C" fn(
2538 ::unity::IlInstance,
2539 ::unity::Il2CppString,
2540 crate::unity_engine::gameobject::GameObject,
2541 bool,
2542 ::unity::OptionalMethod,
2543 ) -> crate::app::soundsystem::SoundSystem_SoundHandle = ::core::mem::transmute(__mi.method_ptr);
2544 __inner(
2545 this.into(),
2546 event_name,
2547 temporary_game_object,
2548 is_get_position,
2549 ::core::option::Option::None,
2550 )
2551 }
2552
2553 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `StopSoundOnEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2554 pub unsafe fn stop_sound_on_event(
2555 this: impl ::core::convert::Into<::unity::IlInstance>,
2556 event_name: ::unity::Il2CppString,
2557 fade_msec: i32,
2558 ) -> () {
2559 let __mi = Self::stop_sound_on_event_method_info();
2560 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, i32, ::unity::OptionalMethod) -> () =
2561 ::core::mem::transmute(__mi.method_ptr);
2562 __inner(this.into(), event_name, fade_msec, ::core::option::Option::None)
2563 }
2564
2565 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `StopSoundOnEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2566 pub unsafe fn stop_sound_on_event_2(
2567 this: impl ::core::convert::Into<::unity::IlInstance>,
2568 event_name: ::unity::Il2CppString,
2569 fade_msec: i32,
2570 game_object: crate::unity_engine::gameobject::GameObject,
2571 ) -> () {
2572 let __mi = Self::stop_sound_on_event_2_method_info();
2573 let __inner: extern "C" fn(
2574 ::unity::IlInstance,
2575 ::unity::Il2CppString,
2576 i32,
2577 crate::unity_engine::gameobject::GameObject,
2578 ::unity::OptionalMethod,
2579 ) -> () = ::core::mem::transmute(__mi.method_ptr);
2580 __inner(this.into(), event_name, fade_msec, game_object, ::core::option::Option::None)
2581 }
2582
2583 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `PauseSoundOnEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2584 pub unsafe fn pause_sound_on_event(
2585 this: impl ::core::convert::Into<::unity::IlInstance>,
2586 event_name: ::unity::Il2CppString,
2587 fade_msec: i32,
2588 ) -> () {
2589 let __mi = Self::pause_sound_on_event_method_info();
2590 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, i32, ::unity::OptionalMethod) -> () =
2591 ::core::mem::transmute(__mi.method_ptr);
2592 __inner(this.into(), event_name, fade_msec, ::core::option::Option::None)
2593 }
2594
2595 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `PauseSoundOnEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2596 pub unsafe fn pause_sound_on_event_2(
2597 this: impl ::core::convert::Into<::unity::IlInstance>,
2598 event_name: ::unity::Il2CppString,
2599 fade_msec: i32,
2600 game_object: crate::unity_engine::gameobject::GameObject,
2601 ) -> () {
2602 let __mi = Self::pause_sound_on_event_2_method_info();
2603 let __inner: extern "C" fn(
2604 ::unity::IlInstance,
2605 ::unity::Il2CppString,
2606 i32,
2607 crate::unity_engine::gameobject::GameObject,
2608 ::unity::OptionalMethod,
2609 ) -> () = ::core::mem::transmute(__mi.method_ptr);
2610 __inner(this.into(), event_name, fade_msec, game_object, ::core::option::Option::None)
2611 }
2612
2613 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `ResumeSoundOnEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2614 pub unsafe fn resume_sound_on_event(
2615 this: impl ::core::convert::Into<::unity::IlInstance>,
2616 event_name: ::unity::Il2CppString,
2617 fade_msec: i32,
2618 ) -> () {
2619 let __mi = Self::resume_sound_on_event_method_info();
2620 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, i32, ::unity::OptionalMethod) -> () =
2621 ::core::mem::transmute(__mi.method_ptr);
2622 __inner(this.into(), event_name, fade_msec, ::core::option::Option::None)
2623 }
2624
2625 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `ResumeSoundOnEvent`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2626 pub unsafe fn resume_sound_on_event_2(
2627 this: impl ::core::convert::Into<::unity::IlInstance>,
2628 event_name: ::unity::Il2CppString,
2629 fade_msec: i32,
2630 game_object: crate::unity_engine::gameobject::GameObject,
2631 ) -> () {
2632 let __mi = Self::resume_sound_on_event_2_method_info();
2633 let __inner: extern "C" fn(
2634 ::unity::IlInstance,
2635 ::unity::Il2CppString,
2636 i32,
2637 crate::unity_engine::gameobject::GameObject,
2638 ::unity::OptionalMethod,
2639 ) -> () = ::core::mem::transmute(__mi.method_ptr);
2640 __inner(this.into(), event_name, fade_msec, game_object, ::core::option::Option::None)
2641 }
2642
2643 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `StopByPlayingId`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2644 pub unsafe fn stop_by_playing_id(this: impl ::core::convert::Into<::unity::IlInstance>, playing_id: u32, fade_msec: i32) -> () {
2645 let __mi = Self::stop_by_playing_id_method_info();
2646 let __inner: extern "C" fn(::unity::IlInstance, u32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2647 __inner(this.into(), playing_id, fade_msec, ::core::option::Option::None)
2648 }
2649
2650 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundPlay`'s own `GetPlayPosition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2651 pub unsafe fn get_play_position(this: impl ::core::convert::Into<::unity::IlInstance>, playing_id: u32, position_offset: i32) -> i32 {
2652 let __mi = Self::get_play_position_method_info();
2653 let __inner: extern "C" fn(::unity::IlInstance, u32, i32, ::unity::OptionalMethod) -> i32 = ::core::mem::transmute(__mi.method_ptr);
2654 __inner(this.into(), playing_id, position_offset, ::core::option::Option::None)
2655 }
2656}
2657
2658#[cfg(feature = "app-soundwwise")]
2659impl SoundWwise_SoundPlay {
2660 #[doc = "`.ctor()` — no args"]
2661 pub fn new() -> Self {
2662 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2663 panic!(
2664 "{}
2665::{}
2666 failed to instantiate",
2667 ::core::stringify!(SoundWwise_SoundPlay),
2668 ::core::stringify!(new),
2669 )
2670 });
2671 <Self as ISoundWwise_SoundPlayMethods>::ctor(this);
2672 this
2673 }
2674}
2675
2676#[cfg(feature = "app-soundwwise")]
2677impl SoundWwise_SoundParam {
2678 #[doc = "`.cctor()` overload"]
2679 pub fn cctor() -> () {
2680 unsafe {
2681 ::unity::il2cpp_call!((::unity::module_base()+0x21f3790usize)as*mut u8,();
2682 )
2683 }
2684 }
2685}
2686
2687#[cfg(feature = "app-soundwwise")]
2688pub trait ISoundWwise_SoundParamMethods: ISoundWwise_SoundParam {
2689 #[doc = "`.ctor()` overload"]
2690 fn ctor(self) -> () {
2691 unsafe {
2692 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2693 ::unity::il2cpp_call!((::unity::module_base()+0x21f18b0usize)as*mut u8,();
2694(SoundWwise_SoundParam)__receiver)
2695 }
2696 }
2697 #[doc = "`GetVolumeCommon(::unity::Il2CppString, f32, f32)` overload"]
2698 fn get_volume_common(
2699 self,
2700 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
2701 min: impl ::core::convert::Into<f32>,
2702 max: impl ::core::convert::Into<f32>,
2703 ) -> f32 {
2704 unsafe {
2705 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2706 ::unity::il2cpp_call!((::unity::module_base()+0x21f1940usize)as*mut u8,f32;
2707(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name),(f32)::core::convert::Into::into(min),(f32)::core::convert::Into::into(max))
2708 }
2709 }
2710 #[doc = "`SetVolumeCommon(::unity::Il2CppString, f32, f32, f32, i32)` overload"]
2711 fn set_volume_common(
2712 self,
2713 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
2714 vol: impl ::core::convert::Into<f32>,
2715 min: impl ::core::convert::Into<f32>,
2716 max: impl ::core::convert::Into<f32>,
2717 fade_msec: impl ::core::convert::Into<i32>,
2718 ) -> () {
2719 unsafe {
2720 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2721 ::unity::il2cpp_call!((::unity::module_base()+0x21f1a40usize)as*mut u8,();
2722(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name),(f32)::core::convert::Into::into(vol),(f32)::core::convert::Into::into(min),(f32)::core::convert::Into::into(max),(i32)::core::convert::Into::into(fade_msec))
2723 }
2724 }
2725 #[doc = "`ResetVolumeCommon(::unity::Il2CppString, i32)` overload"]
2726 fn reset_volume_common(self, param_name: impl ::core::convert::Into<::unity::Il2CppString>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2727 unsafe {
2728 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2729 ::unity::il2cpp_call!((::unity::module_base()+0x21f1b30usize)as*mut u8,();
2730(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name),(i32)::core::convert::Into::into(fade_msec))
2731 }
2732 }
2733 #[doc = "`GetMasterVolumeCommon(::unity::Il2CppString)` overload"]
2734 fn get_master_volume_common(self, param_name: impl ::core::convert::Into<::unity::Il2CppString>) -> f32 {
2735 unsafe {
2736 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2737 ::unity::il2cpp_call!((::unity::module_base()+0x21f1bb0usize)as*mut u8,f32;
2738(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name))
2739 }
2740 }
2741 #[doc = "`SetMasterVolumeCommon(::unity::Il2CppString, f32, i32)` overload"]
2742 fn set_master_volume_common(
2743 self,
2744 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
2745 vol: impl ::core::convert::Into<f32>,
2746 fade_msec: impl ::core::convert::Into<i32>,
2747 ) -> () {
2748 unsafe {
2749 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2750 ::unity::il2cpp_call!((::unity::module_base()+0x21f1c30usize)as*mut u8,();
2751(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name),(f32)::core::convert::Into::into(vol),(i32)::core::convert::Into::into(fade_msec))
2752 }
2753 }
2754 #[doc = "`ResetMasterVolumeCommon(::unity::Il2CppString, i32)` overload"]
2755 fn reset_master_volume_common(
2756 self,
2757 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
2758 fade_msec: impl ::core::convert::Into<i32>,
2759 ) -> () {
2760 unsafe {
2761 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2762 ::unity::il2cpp_call!((::unity::module_base()+0x21f1cd0usize)as*mut u8,();
2763(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name),(i32)::core::convert::Into::into(fade_msec))
2764 }
2765 }
2766 #[doc = "`GetConfigVolumeCommon(::unity::Il2CppString)` overload"]
2767 fn get_config_volume_common(self, param_name: impl ::core::convert::Into<::unity::Il2CppString>) -> f32 {
2768 unsafe {
2769 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2770 ::unity::il2cpp_call!((::unity::module_base()+0x21f1d50usize)as*mut u8,f32;
2771(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name))
2772 }
2773 }
2774 #[doc = "`SetConfigVolumeCommon(::unity::Il2CppString, f32, i32)` overload"]
2775 fn set_config_volume_common(
2776 self,
2777 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
2778 vol: impl ::core::convert::Into<f32>,
2779 fade_msec: impl ::core::convert::Into<i32>,
2780 ) -> () {
2781 unsafe {
2782 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2783 ::unity::il2cpp_call!((::unity::module_base()+0x21f1dd0usize)as*mut u8,();
2784(SoundWwise_SoundParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(param_name),(f32)::core::convert::Into::into(vol),(i32)::core::convert::Into::into(fade_msec))
2785 }
2786 }
2787 #[doc = "`GetMasterBgmVolume()` overload"]
2788 fn get_master_bgm_volume(self) -> f32 {
2789 unsafe {
2790 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2791 {
2792 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2793 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
2794 panic!(
2795 "unity: virtual slot {}
2796 out of range (vtable len {}
2797) on the runtime class behind {}
2798 (method `{}
2799`)",
2800 4usize,
2801 __vt.len(),
2802 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2803 "GetMasterBgmVolume",
2804 )
2805 });
2806 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2807 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2808 __inner(__receiver, __mi)
2809 }
2810 }
2811 }
2812 #[doc = "`GetMasterSeVolume()` overload"]
2813 fn get_master_se_volume(self) -> f32 {
2814 unsafe {
2815 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2816 {
2817 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2818 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
2819 panic!(
2820 "unity: virtual slot {}
2821 out of range (vtable len {}
2822) on the runtime class behind {}
2823 (method `{}
2824`)",
2825 5usize,
2826 __vt.len(),
2827 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2828 "GetMasterSeVolume",
2829 )
2830 });
2831 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2832 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2833 __inner(__receiver, __mi)
2834 }
2835 }
2836 }
2837 #[doc = "`GetMasterEnvVolume()` overload"]
2838 fn get_master_env_volume(self) -> f32 {
2839 unsafe {
2840 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2841 {
2842 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2843 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
2844 panic!(
2845 "unity: virtual slot {}
2846 out of range (vtable len {}
2847) on the runtime class behind {}
2848 (method `{}
2849`)",
2850 6usize,
2851 __vt.len(),
2852 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2853 "GetMasterEnvVolume",
2854 )
2855 });
2856 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2857 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2858 __inner(__receiver, __mi)
2859 }
2860 }
2861 }
2862 #[doc = "`GetMasterVoiceVolume()` overload"]
2863 fn get_master_voice_volume(self) -> f32 {
2864 unsafe {
2865 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2866 {
2867 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2868 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
2869 panic!(
2870 "unity: virtual slot {}
2871 out of range (vtable len {}
2872) on the runtime class behind {}
2873 (method `{}
2874`)",
2875 7usize,
2876 __vt.len(),
2877 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2878 "GetMasterVoiceVolume",
2879 )
2880 });
2881 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
2882 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2883 __inner(__receiver, __mi)
2884 }
2885 }
2886 }
2887 #[doc = "`SetMasterBgmVolume(f32, i32)` overload"]
2888 fn set_master_bgm_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2889 unsafe {
2890 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2891 {
2892 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2893 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
2894 panic!(
2895 "unity: virtual slot {}
2896 out of range (vtable len {}
2897) on the runtime class behind {}
2898 (method `{}
2899`)",
2900 8usize,
2901 __vt.len(),
2902 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2903 "SetMasterBgmVolume",
2904 )
2905 });
2906 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2907 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2908 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
2909 }
2910 }
2911 }
2912 #[doc = "`SetMasterSeVolume(f32, i32)` overload"]
2913 fn set_master_se_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2914 unsafe {
2915 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2916 {
2917 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2918 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
2919 panic!(
2920 "unity: virtual slot {}
2921 out of range (vtable len {}
2922) on the runtime class behind {}
2923 (method `{}
2924`)",
2925 9usize,
2926 __vt.len(),
2927 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2928 "SetMasterSeVolume",
2929 )
2930 });
2931 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2932 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2933 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
2934 }
2935 }
2936 }
2937 #[doc = "`SetMasterEnvVolume(f32, i32)` overload"]
2938 fn set_master_env_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2939 unsafe {
2940 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2941 {
2942 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2943 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
2944 panic!(
2945 "unity: virtual slot {}
2946 out of range (vtable len {}
2947) on the runtime class behind {}
2948 (method `{}
2949`)",
2950 10usize,
2951 __vt.len(),
2952 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2953 "SetMasterEnvVolume",
2954 )
2955 });
2956 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2957 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2958 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
2959 }
2960 }
2961 }
2962 #[doc = "`SetMasterVoiceVolume(f32, i32)` overload"]
2963 fn set_master_voice_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
2964 unsafe {
2965 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2966 {
2967 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2968 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
2969 panic!(
2970 "unity: virtual slot {}
2971 out of range (vtable len {}
2972) on the runtime class behind {}
2973 (method `{}
2974`)",
2975 11usize,
2976 __vt.len(),
2977 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
2978 "SetMasterVoiceVolume",
2979 )
2980 });
2981 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2982 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2983 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
2984 }
2985 }
2986 }
2987 #[doc = "`ResetMasterBgmVolume(i32)` overload"]
2988 fn reset_master_bgm_volume(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
2989 unsafe {
2990 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2991 {
2992 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2993 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
2994 panic!(
2995 "unity: virtual slot {}
2996 out of range (vtable len {}
2997) on the runtime class behind {}
2998 (method `{}
2999`)",
3000 12usize,
3001 __vt.len(),
3002 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3003 "ResetMasterBgmVolume",
3004 )
3005 });
3006 let __inner: extern "C" fn(SoundWwise_SoundParam, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3007 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3008 __inner(__receiver, ::core::convert::Into::into(fade_msec), __mi)
3009 }
3010 }
3011 }
3012 #[doc = "`ResetMasterSeVolume(i32)` overload"]
3013 fn reset_master_se_volume(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
3014 unsafe {
3015 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3016 {
3017 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3018 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
3019 panic!(
3020 "unity: virtual slot {}
3021 out of range (vtable len {}
3022) on the runtime class behind {}
3023 (method `{}
3024`)",
3025 13usize,
3026 __vt.len(),
3027 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3028 "ResetMasterSeVolume",
3029 )
3030 });
3031 let __inner: extern "C" fn(SoundWwise_SoundParam, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3032 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3033 __inner(__receiver, ::core::convert::Into::into(fade_msec), __mi)
3034 }
3035 }
3036 }
3037 #[doc = "`ResetMasterEnvVolume(i32)` overload"]
3038 fn reset_master_env_volume(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
3039 unsafe {
3040 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3041 {
3042 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3043 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
3044 panic!(
3045 "unity: virtual slot {}
3046 out of range (vtable len {}
3047) on the runtime class behind {}
3048 (method `{}
3049`)",
3050 14usize,
3051 __vt.len(),
3052 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3053 "ResetMasterEnvVolume",
3054 )
3055 });
3056 let __inner: extern "C" fn(SoundWwise_SoundParam, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3057 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3058 __inner(__receiver, ::core::convert::Into::into(fade_msec), __mi)
3059 }
3060 }
3061 }
3062 #[doc = "`ResetMasterVoiceVolume(i32)` overload"]
3063 fn reset_master_voice_volume(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
3064 unsafe {
3065 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3066 {
3067 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3068 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
3069 panic!(
3070 "unity: virtual slot {}
3071 out of range (vtable len {}
3072) on the runtime class behind {}
3073 (method `{}
3074`)",
3075 15usize,
3076 __vt.len(),
3077 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3078 "ResetMasterVoiceVolume",
3079 )
3080 });
3081 let __inner: extern "C" fn(SoundWwise_SoundParam, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3082 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3083 __inner(__receiver, ::core::convert::Into::into(fade_msec), __mi)
3084 }
3085 }
3086 }
3087 #[doc = "`GetConfigBgmVolume()` overload"]
3088 fn get_config_bgm_volume(self) -> f32 {
3089 unsafe {
3090 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3091 {
3092 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3093 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
3094 panic!(
3095 "unity: virtual slot {}
3096 out of range (vtable len {}
3097) on the runtime class behind {}
3098 (method `{}
3099`)",
3100 16usize,
3101 __vt.len(),
3102 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3103 "GetConfigBgmVolume",
3104 )
3105 });
3106 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
3107 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3108 __inner(__receiver, __mi)
3109 }
3110 }
3111 }
3112 #[doc = "`GetConfigSeVolume()` overload"]
3113 fn get_config_se_volume(self) -> f32 {
3114 unsafe {
3115 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3116 {
3117 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3118 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
3119 panic!(
3120 "unity: virtual slot {}
3121 out of range (vtable len {}
3122) on the runtime class behind {}
3123 (method `{}
3124`)",
3125 17usize,
3126 __vt.len(),
3127 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3128 "GetConfigSeVolume",
3129 )
3130 });
3131 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
3132 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3133 __inner(__receiver, __mi)
3134 }
3135 }
3136 }
3137 #[doc = "`GetConfigEnvVolume()` overload"]
3138 fn get_config_env_volume(self) -> f32 {
3139 unsafe {
3140 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3141 {
3142 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3143 let __vi = *__vt.get(18usize).unwrap_or_else(|| {
3144 panic!(
3145 "unity: virtual slot {}
3146 out of range (vtable len {}
3147) on the runtime class behind {}
3148 (method `{}
3149`)",
3150 18usize,
3151 __vt.len(),
3152 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3153 "GetConfigEnvVolume",
3154 )
3155 });
3156 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
3157 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3158 __inner(__receiver, __mi)
3159 }
3160 }
3161 }
3162 #[doc = "`GetConfigVoiceVolume()` overload"]
3163 fn get_config_voice_volume(self) -> f32 {
3164 unsafe {
3165 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3166 {
3167 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3168 let __vi = *__vt.get(19usize).unwrap_or_else(|| {
3169 panic!(
3170 "unity: virtual slot {}
3171 out of range (vtable len {}
3172) on the runtime class behind {}
3173 (method `{}
3174`)",
3175 19usize,
3176 __vt.len(),
3177 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3178 "GetConfigVoiceVolume",
3179 )
3180 });
3181 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__vi.method_ptr);
3182 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3183 __inner(__receiver, __mi)
3184 }
3185 }
3186 }
3187 #[doc = "`SetConfigBgmVolume(f32, i32)` overload"]
3188 fn set_config_bgm_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
3189 unsafe {
3190 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3191 {
3192 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3193 let __vi = *__vt.get(20usize).unwrap_or_else(|| {
3194 panic!(
3195 "unity: virtual slot {}
3196 out of range (vtable len {}
3197) on the runtime class behind {}
3198 (method `{}
3199`)",
3200 20usize,
3201 __vt.len(),
3202 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3203 "SetConfigBgmVolume",
3204 )
3205 });
3206 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3207 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3208 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
3209 }
3210 }
3211 }
3212 #[doc = "`SetConfigSeVolume(f32, i32)` overload"]
3213 fn set_config_se_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
3214 unsafe {
3215 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3216 {
3217 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3218 let __vi = *__vt.get(21usize).unwrap_or_else(|| {
3219 panic!(
3220 "unity: virtual slot {}
3221 out of range (vtable len {}
3222) on the runtime class behind {}
3223 (method `{}
3224`)",
3225 21usize,
3226 __vt.len(),
3227 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3228 "SetConfigSeVolume",
3229 )
3230 });
3231 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3232 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3233 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
3234 }
3235 }
3236 }
3237 #[doc = "`SetConfigEnvVolume(f32, i32)` overload"]
3238 fn set_config_env_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
3239 unsafe {
3240 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3241 {
3242 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3243 let __vi = *__vt.get(22usize).unwrap_or_else(|| {
3244 panic!(
3245 "unity: virtual slot {}
3246 out of range (vtable len {}
3247) on the runtime class behind {}
3248 (method `{}
3249`)",
3250 22usize,
3251 __vt.len(),
3252 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3253 "SetConfigEnvVolume",
3254 )
3255 });
3256 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3257 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3258 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
3259 }
3260 }
3261 }
3262 #[doc = "`SetConfigVoiceVolume(f32, i32)` overload"]
3263 fn set_config_voice_volume(self, vol: impl ::core::convert::Into<f32>, fade_msec: impl ::core::convert::Into<i32>) -> () {
3264 unsafe {
3265 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3266 {
3267 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3268 let __vi = *__vt.get(23usize).unwrap_or_else(|| {
3269 panic!(
3270 "unity: virtual slot {}
3271 out of range (vtable len {}
3272) on the runtime class behind {}
3273 (method `{}
3274`)",
3275 23usize,
3276 __vt.len(),
3277 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3278 "SetConfigVoiceVolume",
3279 )
3280 });
3281 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
3282 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3283 __inner(__receiver, ::core::convert::Into::into(vol), ::core::convert::Into::into(fade_msec), __mi)
3284 }
3285 }
3286 }
3287 #[doc = "`SetVolume(f32, crate::unity_engine::gameobject::GameObject)` overload"]
3288 fn set_volume(
3289 self,
3290 vol: impl ::core::convert::Into<f32>,
3291 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
3292 ) -> () {
3293 unsafe {
3294 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3295 {
3296 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3297 let __vi = *__vt.get(24usize).unwrap_or_else(|| {
3298 panic!(
3299 "unity: virtual slot {}
3300 out of range (vtable len {}
3301) on the runtime class behind {}
3302 (method `{}
3303`)",
3304 24usize,
3305 __vt.len(),
3306 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3307 "SetVolume",
3308 )
3309 });
3310 let __inner: extern "C" fn(SoundWwise_SoundParam, f32, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
3311 ::core::mem::transmute(__vi.method_ptr);
3312 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3313 __inner(
3314 __receiver,
3315 ::core::convert::Into::into(vol),
3316 ::core::convert::Into::into(game_object),
3317 __mi,
3318 )
3319 }
3320 }
3321 }
3322 #[doc = "`GetValue(::unity::Il2CppString, bool, *mutu32)` overload"]
3323 fn get_value(self, value_name: impl ::core::convert::Into<::unity::Il2CppString>, is_global: impl ::core::convert::Into<bool>) -> (bool, u32) {
3324 unsafe {
3325 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3326 let mut __out_0 = ::core::mem::MaybeUninit::<u32>::uninit();
3327 let __ret = {
3328 {
3329 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3330 let __vi = *__vt.get(25usize).unwrap_or_else(|| {
3331 panic!(
3332 "unity: virtual slot {}
3333 out of range (vtable len {}
3334) on the runtime class behind {}
3335 (method `{}
3336`)",
3337 25usize,
3338 __vt.len(),
3339 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3340 "GetValue",
3341 )
3342 });
3343 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::Il2CppString, bool, *mut u32, ::unity::OptionalMethod) -> bool =
3344 ::core::mem::transmute(__vi.method_ptr);
3345 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3346 __inner(
3347 __receiver,
3348 ::core::convert::Into::into(value_name),
3349 ::core::convert::Into::into(is_global),
3350 __out_0.as_mut_ptr(),
3351 __mi,
3352 )
3353 }
3354 };
3355 (__ret, __out_0.assume_init())
3356 }
3357 }
3358 #[doc = "`GetValue(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, bool, *mutu32)` overload"]
3359 fn get_value_2(
3360 self,
3361 value_name: impl ::core::convert::Into<::unity::Il2CppString>,
3362 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
3363 is_global: impl ::core::convert::Into<bool>,
3364 ) -> (bool, u32) {
3365 unsafe {
3366 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3367 let mut __out_0 = ::core::mem::MaybeUninit::<u32>::uninit();
3368 let __ret = {
3369 {
3370 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3371 let __vi = *__vt.get(26usize).unwrap_or_else(|| {
3372 panic!(
3373 "unity: virtual slot {}
3374 out of range (vtable len {}
3375) on the runtime class behind {}
3376 (method `{}
3377`)",
3378 26usize,
3379 __vt.len(),
3380 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3381 "GetValue",
3382 )
3383 });
3384 let __inner: extern "C" fn(
3385 SoundWwise_SoundParam,
3386 ::unity::Il2CppString,
3387 crate::unity_engine::gameobject::GameObject,
3388 bool,
3389 *mut u32,
3390 ::unity::OptionalMethod,
3391 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
3392 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3393 __inner(
3394 __receiver,
3395 ::core::convert::Into::into(value_name),
3396 ::core::convert::Into::into(game_object),
3397 ::core::convert::Into::into(is_global),
3398 __out_0.as_mut_ptr(),
3399 __mi,
3400 )
3401 }
3402 };
3403 (__ret, __out_0.assume_init())
3404 }
3405 }
3406 #[doc = "`GetValue(::unity::Il2CppString, *mutf32)` overload"]
3407 fn get_value_3(self, value_name: impl ::core::convert::Into<::unity::Il2CppString>) -> (bool, f32) {
3408 unsafe {
3409 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3410 let mut __out_0 = ::core::mem::MaybeUninit::<f32>::uninit();
3411 let __ret = {
3412 {
3413 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3414 let __vi = *__vt.get(27usize).unwrap_or_else(|| {
3415 panic!(
3416 "unity: virtual slot {}
3417 out of range (vtable len {}
3418) on the runtime class behind {}
3419 (method `{}
3420`)",
3421 27usize,
3422 __vt.len(),
3423 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3424 "GetValue",
3425 )
3426 });
3427 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::Il2CppString, *mut f32, ::unity::OptionalMethod) -> bool =
3428 ::core::mem::transmute(__vi.method_ptr);
3429 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3430 __inner(__receiver, ::core::convert::Into::into(value_name), __out_0.as_mut_ptr(), __mi)
3431 }
3432 };
3433 (__ret, __out_0.assume_init())
3434 }
3435 }
3436 #[doc = "`GetValue(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, *mutf32)` overload"]
3437 fn get_value_4(
3438 self,
3439 value_name: impl ::core::convert::Into<::unity::Il2CppString>,
3440 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
3441 ) -> (bool, f32) {
3442 unsafe {
3443 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3444 let mut __out_0 = ::core::mem::MaybeUninit::<f32>::uninit();
3445 let __ret = {
3446 {
3447 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3448 let __vi = *__vt.get(28usize).unwrap_or_else(|| {
3449 panic!(
3450 "unity: virtual slot {}
3451 out of range (vtable len {}
3452) on the runtime class behind {}
3453 (method `{}
3454`)",
3455 28usize,
3456 __vt.len(),
3457 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3458 "GetValue",
3459 )
3460 });
3461 let __inner: extern "C" fn(
3462 SoundWwise_SoundParam,
3463 ::unity::Il2CppString,
3464 crate::unity_engine::gameobject::GameObject,
3465 *mut f32,
3466 ::unity::OptionalMethod,
3467 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
3468 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3469 __inner(
3470 __receiver,
3471 ::core::convert::Into::into(value_name),
3472 ::core::convert::Into::into(game_object),
3473 __out_0.as_mut_ptr(),
3474 __mi,
3475 )
3476 }
3477 };
3478 (__ret, __out_0.assume_init())
3479 }
3480 }
3481 #[doc = "`SetValue(::unity::Il2CppString, bool, ::unity::Il2CppString)` overload"]
3482 fn set_value(
3483 self,
3484 value_name: impl ::core::convert::Into<::unity::Il2CppString>,
3485 is_global: impl ::core::convert::Into<bool>,
3486 value: impl ::core::convert::Into<::unity::Il2CppString>,
3487 ) -> bool {
3488 unsafe {
3489 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3490 {
3491 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3492 let __vi = *__vt.get(29usize).unwrap_or_else(|| {
3493 panic!(
3494 "unity: virtual slot {}
3495 out of range (vtable len {}
3496) on the runtime class behind {}
3497 (method `{}
3498`)",
3499 29usize,
3500 __vt.len(),
3501 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3502 "SetValue",
3503 )
3504 });
3505 let __inner: extern "C" fn(
3506 SoundWwise_SoundParam,
3507 ::unity::Il2CppString,
3508 bool,
3509 ::unity::Il2CppString,
3510 ::unity::OptionalMethod,
3511 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
3512 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3513 __inner(
3514 __receiver,
3515 ::core::convert::Into::into(value_name),
3516 ::core::convert::Into::into(is_global),
3517 ::core::convert::Into::into(value),
3518 __mi,
3519 )
3520 }
3521 }
3522 }
3523 #[doc = "`SetValue(::unity::Il2CppString, bool, u32)` overload"]
3524 fn set_value_2(
3525 self,
3526 value_name: impl ::core::convert::Into<::unity::Il2CppString>,
3527 is_global: impl ::core::convert::Into<bool>,
3528 value: impl ::core::convert::Into<u32>,
3529 ) -> bool {
3530 unsafe {
3531 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3532 {
3533 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3534 let __vi = *__vt.get(30usize).unwrap_or_else(|| {
3535 panic!(
3536 "unity: virtual slot {}
3537 out of range (vtable len {}
3538) on the runtime class behind {}
3539 (method `{}
3540`)",
3541 30usize,
3542 __vt.len(),
3543 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3544 "SetValue",
3545 )
3546 });
3547 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::Il2CppString, bool, u32, ::unity::OptionalMethod) -> bool =
3548 ::core::mem::transmute(__vi.method_ptr);
3549 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3550 __inner(
3551 __receiver,
3552 ::core::convert::Into::into(value_name),
3553 ::core::convert::Into::into(is_global),
3554 ::core::convert::Into::into(value),
3555 __mi,
3556 )
3557 }
3558 }
3559 }
3560 #[doc = "`SetValue(::unity::Il2CppString, bool, ::unity::Il2CppString, crate::unity_engine::gameobject::GameObject)` overload"]
3561 fn set_value_3(
3562 self,
3563 value_name: impl ::core::convert::Into<::unity::Il2CppString>,
3564 is_global: impl ::core::convert::Into<bool>,
3565 value: impl ::core::convert::Into<::unity::Il2CppString>,
3566 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
3567 ) -> bool {
3568 unsafe {
3569 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3570 {
3571 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3572 let __vi = *__vt.get(31usize).unwrap_or_else(|| {
3573 panic!(
3574 "unity: virtual slot {}
3575 out of range (vtable len {}
3576) on the runtime class behind {}
3577 (method `{}
3578`)",
3579 31usize,
3580 __vt.len(),
3581 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3582 "SetValue",
3583 )
3584 });
3585 let __inner: extern "C" fn(
3586 SoundWwise_SoundParam,
3587 ::unity::Il2CppString,
3588 bool,
3589 ::unity::Il2CppString,
3590 crate::unity_engine::gameobject::GameObject,
3591 ::unity::OptionalMethod,
3592 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
3593 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3594 __inner(
3595 __receiver,
3596 ::core::convert::Into::into(value_name),
3597 ::core::convert::Into::into(is_global),
3598 ::core::convert::Into::into(value),
3599 ::core::convert::Into::into(game_object),
3600 __mi,
3601 )
3602 }
3603 }
3604 }
3605 #[doc = "`SetValue(::unity::Il2CppString, bool, u32, crate::unity_engine::gameobject::GameObject)` overload"]
3606 fn set_value_4(
3607 self,
3608 value_name: impl ::core::convert::Into<::unity::Il2CppString>,
3609 is_global: impl ::core::convert::Into<bool>,
3610 value: impl ::core::convert::Into<u32>,
3611 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
3612 ) -> bool {
3613 unsafe {
3614 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3615 {
3616 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3617 let __vi = *__vt.get(32usize).unwrap_or_else(|| {
3618 panic!(
3619 "unity: virtual slot {}
3620 out of range (vtable len {}
3621) on the runtime class behind {}
3622 (method `{}
3623`)",
3624 32usize,
3625 __vt.len(),
3626 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3627 "SetValue",
3628 )
3629 });
3630 let __inner: extern "C" fn(
3631 SoundWwise_SoundParam,
3632 ::unity::Il2CppString,
3633 bool,
3634 u32,
3635 crate::unity_engine::gameobject::GameObject,
3636 ::unity::OptionalMethod,
3637 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
3638 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3639 __inner(
3640 __receiver,
3641 ::core::convert::Into::into(value_name),
3642 ::core::convert::Into::into(is_global),
3643 ::core::convert::Into::into(value),
3644 ::core::convert::Into::into(game_object),
3645 __mi,
3646 )
3647 }
3648 }
3649 }
3650 #[doc = "`SetValue(::unity::Il2CppString, f32)` overload"]
3651 fn set_value_5(self, value_name: impl ::core::convert::Into<::unity::Il2CppString>, value: impl ::core::convert::Into<f32>) -> bool {
3652 unsafe {
3653 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3654 {
3655 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3656 let __vi = *__vt.get(33usize).unwrap_or_else(|| {
3657 panic!(
3658 "unity: virtual slot {}
3659 out of range (vtable len {}
3660) on the runtime class behind {}
3661 (method `{}
3662`)",
3663 33usize,
3664 __vt.len(),
3665 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3666 "SetValue",
3667 )
3668 });
3669 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::Il2CppString, f32, ::unity::OptionalMethod) -> bool =
3670 ::core::mem::transmute(__vi.method_ptr);
3671 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3672 __inner(
3673 __receiver,
3674 ::core::convert::Into::into(value_name),
3675 ::core::convert::Into::into(value),
3676 __mi,
3677 )
3678 }
3679 }
3680 }
3681 #[doc = "`SetValue(::unity::Il2CppString, f32, crate::unity_engine::gameobject::GameObject)` overload"]
3682 fn set_value_6(
3683 self,
3684 value_name: impl ::core::convert::Into<::unity::Il2CppString>,
3685 value: impl ::core::convert::Into<f32>,
3686 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
3687 ) -> bool {
3688 unsafe {
3689 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3690 {
3691 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3692 let __vi = *__vt.get(34usize).unwrap_or_else(|| {
3693 panic!(
3694 "unity: virtual slot {}
3695 out of range (vtable len {}
3696) on the runtime class behind {}
3697 (method `{}
3698`)",
3699 34usize,
3700 __vt.len(),
3701 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3702 "SetValue",
3703 )
3704 });
3705 let __inner: extern "C" fn(
3706 SoundWwise_SoundParam,
3707 ::unity::Il2CppString,
3708 f32,
3709 crate::unity_engine::gameobject::GameObject,
3710 ::unity::OptionalMethod,
3711 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
3712 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3713 __inner(
3714 __receiver,
3715 ::core::convert::Into::into(value_name),
3716 ::core::convert::Into::into(value),
3717 ::core::convert::Into::into(game_object),
3718 __mi,
3719 )
3720 }
3721 }
3722 }
3723 #[doc = "`SetPosition(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::gameobject::GameObject)` overload"]
3724 fn set_position(
3725 self,
3726 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
3727 foward: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
3728 up: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
3729 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
3730 ) -> bool {
3731 unsafe {
3732 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3733 {
3734 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3735 let __vi = *__vt.get(35usize).unwrap_or_else(|| {
3736 panic!(
3737 "unity: virtual slot {}
3738 out of range (vtable len {}
3739) on the runtime class behind {}
3740 (method `{}
3741`)",
3742 35usize,
3743 __vt.len(),
3744 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3745 "SetPosition",
3746 )
3747 });
3748 let __inner: extern "C" fn(
3749 SoundWwise_SoundParam,
3750 crate::unity_engine::vector3::Vector3,
3751 crate::unity_engine::vector3::Vector3,
3752 crate::unity_engine::vector3::Vector3,
3753 crate::unity_engine::gameobject::GameObject,
3754 ::unity::OptionalMethod,
3755 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
3756 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3757 __inner(
3758 __receiver,
3759 ::core::convert::Into::into(pos),
3760 ::core::convert::Into::into(foward),
3761 ::core::convert::Into::into(up),
3762 ::core::convert::Into::into(game_object),
3763 __mi,
3764 )
3765 }
3766 }
3767 }
3768 #[doc = "`GetAudioListenerObject()` overload"]
3769 fn get_audio_listener_object(self) -> crate::unity_engine::gameobject::GameObject {
3770 unsafe {
3771 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3772 {
3773 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3774 let __vi = *__vt.get(36usize).unwrap_or_else(|| {
3775 panic!(
3776 "unity: virtual slot {}
3777 out of range (vtable len {}
3778) on the runtime class behind {}
3779 (method `{}
3780`)",
3781 36usize,
3782 __vt.len(),
3783 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3784 "GetAudioListenerObject",
3785 )
3786 });
3787 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> crate::unity_engine::gameobject::GameObject =
3788 ::core::mem::transmute(__vi.method_ptr);
3789 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3790 __inner(__receiver, __mi)
3791 }
3792 }
3793 }
3794 #[doc = "`GetAudioListenerPosistion()` overload"]
3795 fn get_audio_listener_posistion(self) -> crate::unity_engine::vector3::Vector3 {
3796 unsafe {
3797 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3798 {
3799 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3800 let __vi = *__vt.get(37usize).unwrap_or_else(|| {
3801 panic!(
3802 "unity: virtual slot {}
3803 out of range (vtable len {}
3804) on the runtime class behind {}
3805 (method `{}
3806`)",
3807 37usize,
3808 __vt.len(),
3809 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3810 "GetAudioListenerPosistion",
3811 )
3812 });
3813 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> crate::unity_engine::vector3::Vector3 =
3814 ::core::mem::transmute(__vi.method_ptr);
3815 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3816 __inner(__receiver, __mi)
3817 }
3818 }
3819 }
3820 #[doc = "`GetAudioListenerRotation()` overload"]
3821 fn get_audio_listener_rotation(self) -> crate::unity_engine::quaternion::Quaternion {
3822 unsafe {
3823 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3824 {
3825 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3826 let __vi = *__vt.get(38usize).unwrap_or_else(|| {
3827 panic!(
3828 "unity: virtual slot {}
3829 out of range (vtable len {}
3830) on the runtime class behind {}
3831 (method `{}
3832`)",
3833 38usize,
3834 __vt.len(),
3835 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3836 "GetAudioListenerRotation",
3837 )
3838 });
3839 let __inner: extern "C" fn(SoundWwise_SoundParam, ::unity::OptionalMethod) -> crate::unity_engine::quaternion::Quaternion =
3840 ::core::mem::transmute(__vi.method_ptr);
3841 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3842 __inner(__receiver, __mi)
3843 }
3844 }
3845 }
3846 #[doc = "`SetAudioListenerPosition(crate::unity_engine::vector3::Vector3)` overload"]
3847 fn set_audio_listener_position(self, listener_pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
3848 unsafe {
3849 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3850 {
3851 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3852 let __vi = *__vt.get(39usize).unwrap_or_else(|| {
3853 panic!(
3854 "unity: virtual slot {}
3855 out of range (vtable len {}
3856) on the runtime class behind {}
3857 (method `{}
3858`)",
3859 39usize,
3860 __vt.len(),
3861 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3862 "SetAudioListenerPosition",
3863 )
3864 });
3865 let __inner: extern "C" fn(SoundWwise_SoundParam, crate::unity_engine::vector3::Vector3, ::unity::OptionalMethod) -> () =
3866 ::core::mem::transmute(__vi.method_ptr);
3867 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3868 __inner(__receiver, ::core::convert::Into::into(listener_pos), __mi)
3869 }
3870 }
3871 }
3872 #[doc = "`SetAudioListenerRotation(crate::unity_engine::quaternion::Quaternion)` overload"]
3873 fn set_audio_listener_rotation(self, listener_rot: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>) -> () {
3874 unsafe {
3875 let __receiver = <SoundWwise_SoundParam as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
3876 {
3877 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
3878 let __vi = *__vt.get(40usize).unwrap_or_else(|| {
3879 panic!(
3880 "unity: virtual slot {}
3881 out of range (vtable len {}
3882) on the runtime class behind {}
3883 (method `{}
3884`)",
3885 40usize,
3886 __vt.len(),
3887 <SoundWwise_SoundParam as ::unity::ClassIdentity>::NAME,
3888 "SetAudioListenerRotation",
3889 )
3890 });
3891 let __inner: extern "C" fn(SoundWwise_SoundParam, crate::unity_engine::quaternion::Quaternion, ::unity::OptionalMethod) -> () =
3892 ::core::mem::transmute(__vi.method_ptr);
3893 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
3894 __inner(__receiver, ::core::convert::Into::into(listener_rot), __mi)
3895 }
3896 }
3897 }
3898}
3899
3900#[cfg(feature = "app-soundwwise")]
3901impl<__T: ISoundWwise_SoundParam> ISoundWwise_SoundParamMethods for __T {}
3902
3903#[cfg(feature = "app-soundwwise")]
3904impl SoundWwise_SoundParam {
3905 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3906 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
3907 }
3908
3909 pub fn get_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3910 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
3911 }
3912
3913 pub fn set_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3914 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
3915 }
3916
3917 pub fn reset_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3918 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
3919 }
3920
3921 pub fn get_master_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3922 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
3923 }
3924
3925 pub fn set_master_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3926 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
3927 }
3928
3929 pub fn reset_master_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3930 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
3931 }
3932
3933 pub fn get_config_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3934 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
3935 }
3936
3937 pub fn set_config_volume_common_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3938 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
3939 }
3940
3941 pub fn get_master_bgm_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3942 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
3943 }
3944
3945 pub fn get_master_se_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3946 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
3947 }
3948
3949 pub fn get_master_env_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3950 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
3951 }
3952
3953 pub fn get_master_voice_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3954 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
3955 }
3956
3957 pub fn set_master_bgm_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3958 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
3959 }
3960
3961 pub fn set_master_se_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3962 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
3963 }
3964
3965 pub fn set_master_env_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3966 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
3967 }
3968
3969 pub fn set_master_voice_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3970 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
3971 }
3972
3973 pub fn reset_master_bgm_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3974 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
3975 }
3976
3977 pub fn reset_master_se_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3978 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
3979 }
3980
3981 pub fn reset_master_env_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3982 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
3983 }
3984
3985 pub fn reset_master_voice_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3986 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
3987 }
3988
3989 pub fn get_config_bgm_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3990 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
3991 }
3992
3993 pub fn get_config_se_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3994 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
3995 }
3996
3997 pub fn get_config_env_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
3998 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
3999 }
4000
4001 pub fn get_config_voice_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4002 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
4003 }
4004
4005 pub fn set_config_bgm_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4006 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
4007 }
4008
4009 pub fn set_config_se_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4010 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
4011 }
4012
4013 pub fn set_config_env_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4014 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
4015 }
4016
4017 pub fn set_config_voice_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4018 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
4019 }
4020
4021 pub fn set_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4022 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
4023 }
4024
4025 pub fn get_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4026 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
4027 }
4028
4029 pub fn get_value_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4030 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
4031 }
4032
4033 pub fn get_value_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4034 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
4035 }
4036
4037 pub fn get_value_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4038 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
4039 }
4040
4041 pub fn set_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4042 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
4043 }
4044
4045 pub fn set_value_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4046 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
4047 }
4048
4049 pub fn set_value_3_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4050 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
4051 }
4052
4053 pub fn set_value_4_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4054 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
4055 }
4056
4057 pub fn set_value_5_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4058 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
4059 }
4060
4061 pub fn set_value_6_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4062 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
4063 }
4064
4065 pub fn set_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4066 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
4067 }
4068
4069 pub fn get_audio_listener_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4070 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
4071 }
4072
4073 pub fn get_audio_listener_posistion_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4074 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
4075 }
4076
4077 pub fn get_audio_listener_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4078 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
4079 }
4080
4081 pub fn set_audio_listener_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4082 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
4083 }
4084
4085 pub fn set_audio_listener_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4086 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
4087 }
4088
4089 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
4090 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
4091 }
4092}
4093
4094#[cfg(feature = "app-soundwwise")]
4095impl SoundWwise_SoundParam {
4096 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetMasterBgmVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4097 pub unsafe fn get_master_bgm_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4098 let __mi = Self::get_master_bgm_volume_method_info();
4099 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4100 __inner(this.into(), ::core::option::Option::None)
4101 }
4102
4103 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetMasterSeVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4104 pub unsafe fn get_master_se_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4105 let __mi = Self::get_master_se_volume_method_info();
4106 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4107 __inner(this.into(), ::core::option::Option::None)
4108 }
4109
4110 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetMasterEnvVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4111 pub unsafe fn get_master_env_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4112 let __mi = Self::get_master_env_volume_method_info();
4113 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4114 __inner(this.into(), ::core::option::Option::None)
4115 }
4116
4117 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetMasterVoiceVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4118 pub unsafe fn get_master_voice_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4119 let __mi = Self::get_master_voice_volume_method_info();
4120 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4121 __inner(this.into(), ::core::option::Option::None)
4122 }
4123
4124 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetMasterBgmVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4125 pub unsafe fn set_master_bgm_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4126 let __mi = Self::set_master_bgm_volume_method_info();
4127 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4128 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4129 }
4130
4131 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetMasterSeVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4132 pub unsafe fn set_master_se_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4133 let __mi = Self::set_master_se_volume_method_info();
4134 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4135 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4136 }
4137
4138 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetMasterEnvVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4139 pub unsafe fn set_master_env_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4140 let __mi = Self::set_master_env_volume_method_info();
4141 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4142 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4143 }
4144
4145 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetMasterVoiceVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4146 pub unsafe fn set_master_voice_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4147 let __mi = Self::set_master_voice_volume_method_info();
4148 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4149 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4150 }
4151
4152 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `ResetMasterBgmVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4153 pub unsafe fn reset_master_bgm_volume(this: impl ::core::convert::Into<::unity::IlInstance>, fade_msec: i32) -> () {
4154 let __mi = Self::reset_master_bgm_volume_method_info();
4155 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4156 __inner(this.into(), fade_msec, ::core::option::Option::None)
4157 }
4158
4159 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `ResetMasterSeVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4160 pub unsafe fn reset_master_se_volume(this: impl ::core::convert::Into<::unity::IlInstance>, fade_msec: i32) -> () {
4161 let __mi = Self::reset_master_se_volume_method_info();
4162 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4163 __inner(this.into(), fade_msec, ::core::option::Option::None)
4164 }
4165
4166 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `ResetMasterEnvVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4167 pub unsafe fn reset_master_env_volume(this: impl ::core::convert::Into<::unity::IlInstance>, fade_msec: i32) -> () {
4168 let __mi = Self::reset_master_env_volume_method_info();
4169 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4170 __inner(this.into(), fade_msec, ::core::option::Option::None)
4171 }
4172
4173 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `ResetMasterVoiceVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4174 pub unsafe fn reset_master_voice_volume(this: impl ::core::convert::Into<::unity::IlInstance>, fade_msec: i32) -> () {
4175 let __mi = Self::reset_master_voice_volume_method_info();
4176 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4177 __inner(this.into(), fade_msec, ::core::option::Option::None)
4178 }
4179
4180 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetConfigBgmVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4181 pub unsafe fn get_config_bgm_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4182 let __mi = Self::get_config_bgm_volume_method_info();
4183 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4184 __inner(this.into(), ::core::option::Option::None)
4185 }
4186
4187 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetConfigSeVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4188 pub unsafe fn get_config_se_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4189 let __mi = Self::get_config_se_volume_method_info();
4190 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4191 __inner(this.into(), ::core::option::Option::None)
4192 }
4193
4194 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetConfigEnvVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4195 pub unsafe fn get_config_env_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4196 let __mi = Self::get_config_env_volume_method_info();
4197 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4198 __inner(this.into(), ::core::option::Option::None)
4199 }
4200
4201 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetConfigVoiceVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4202 pub unsafe fn get_config_voice_volume(this: impl ::core::convert::Into<::unity::IlInstance>) -> f32 {
4203 let __mi = Self::get_config_voice_volume_method_info();
4204 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> f32 = ::core::mem::transmute(__mi.method_ptr);
4205 __inner(this.into(), ::core::option::Option::None)
4206 }
4207
4208 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetConfigBgmVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4209 pub unsafe fn set_config_bgm_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4210 let __mi = Self::set_config_bgm_volume_method_info();
4211 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4212 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4213 }
4214
4215 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetConfigSeVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4216 pub unsafe fn set_config_se_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4217 let __mi = Self::set_config_se_volume_method_info();
4218 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4219 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4220 }
4221
4222 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetConfigEnvVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4223 pub unsafe fn set_config_env_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4224 let __mi = Self::set_config_env_volume_method_info();
4225 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4226 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4227 }
4228
4229 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetConfigVoiceVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4230 pub unsafe fn set_config_voice_volume(this: impl ::core::convert::Into<::unity::IlInstance>, vol: f32, fade_msec: i32) -> () {
4231 let __mi = Self::set_config_voice_volume_method_info();
4232 let __inner: extern "C" fn(::unity::IlInstance, f32, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
4233 __inner(this.into(), vol, fade_msec, ::core::option::Option::None)
4234 }
4235
4236 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetVolume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4237 pub unsafe fn set_volume(
4238 this: impl ::core::convert::Into<::unity::IlInstance>,
4239 vol: f32,
4240 game_object: crate::unity_engine::gameobject::GameObject,
4241 ) -> () {
4242 let __mi = Self::set_volume_method_info();
4243 let __inner: extern "C" fn(::unity::IlInstance, f32, crate::unity_engine::gameobject::GameObject, ::unity::OptionalMethod) -> () =
4244 ::core::mem::transmute(__mi.method_ptr);
4245 __inner(this.into(), vol, game_object, ::core::option::Option::None)
4246 }
4247
4248 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4249 pub unsafe fn get_value(
4250 this: impl ::core::convert::Into<::unity::IlInstance>,
4251 value_name: ::unity::Il2CppString,
4252 is_global: bool,
4253 value: *mut u32,
4254 ) -> bool {
4255 let __mi = Self::get_value_method_info();
4256 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, bool, *mut u32, ::unity::OptionalMethod) -> bool =
4257 ::core::mem::transmute(__mi.method_ptr);
4258 __inner(this.into(), value_name, is_global, value, ::core::option::Option::None)
4259 }
4260
4261 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4262 pub unsafe fn get_value_2(
4263 this: impl ::core::convert::Into<::unity::IlInstance>,
4264 value_name: ::unity::Il2CppString,
4265 game_object: crate::unity_engine::gameobject::GameObject,
4266 is_global: bool,
4267 value: *mut u32,
4268 ) -> bool {
4269 let __mi = Self::get_value_2_method_info();
4270 let __inner: extern "C" fn(
4271 ::unity::IlInstance,
4272 ::unity::Il2CppString,
4273 crate::unity_engine::gameobject::GameObject,
4274 bool,
4275 *mut u32,
4276 ::unity::OptionalMethod,
4277 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
4278 __inner(this.into(), value_name, game_object, is_global, value, ::core::option::Option::None)
4279 }
4280
4281 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4282 pub unsafe fn get_value_3(this: impl ::core::convert::Into<::unity::IlInstance>, value_name: ::unity::Il2CppString, value: *mut f32) -> bool {
4283 let __mi = Self::get_value_3_method_info();
4284 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, *mut f32, ::unity::OptionalMethod) -> bool =
4285 ::core::mem::transmute(__mi.method_ptr);
4286 __inner(this.into(), value_name, value, ::core::option::Option::None)
4287 }
4288
4289 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4290 pub unsafe fn get_value_4(
4291 this: impl ::core::convert::Into<::unity::IlInstance>,
4292 value_name: ::unity::Il2CppString,
4293 game_object: crate::unity_engine::gameobject::GameObject,
4294 value: *mut f32,
4295 ) -> bool {
4296 let __mi = Self::get_value_4_method_info();
4297 let __inner: extern "C" fn(
4298 ::unity::IlInstance,
4299 ::unity::Il2CppString,
4300 crate::unity_engine::gameobject::GameObject,
4301 *mut f32,
4302 ::unity::OptionalMethod,
4303 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
4304 __inner(this.into(), value_name, game_object, value, ::core::option::Option::None)
4305 }
4306
4307 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4308 pub unsafe fn set_value(
4309 this: impl ::core::convert::Into<::unity::IlInstance>,
4310 value_name: ::unity::Il2CppString,
4311 is_global: bool,
4312 value: ::unity::Il2CppString,
4313 ) -> bool {
4314 let __mi = Self::set_value_method_info();
4315 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, bool, ::unity::Il2CppString, ::unity::OptionalMethod) -> bool =
4316 ::core::mem::transmute(__mi.method_ptr);
4317 __inner(this.into(), value_name, is_global, value, ::core::option::Option::None)
4318 }
4319
4320 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4321 pub unsafe fn set_value_2(
4322 this: impl ::core::convert::Into<::unity::IlInstance>,
4323 value_name: ::unity::Il2CppString,
4324 is_global: bool,
4325 value: u32,
4326 ) -> bool {
4327 let __mi = Self::set_value_2_method_info();
4328 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, bool, u32, ::unity::OptionalMethod) -> bool =
4329 ::core::mem::transmute(__mi.method_ptr);
4330 __inner(this.into(), value_name, is_global, value, ::core::option::Option::None)
4331 }
4332
4333 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4334 pub unsafe fn set_value_3(
4335 this: impl ::core::convert::Into<::unity::IlInstance>,
4336 value_name: ::unity::Il2CppString,
4337 is_global: bool,
4338 value: ::unity::Il2CppString,
4339 game_object: crate::unity_engine::gameobject::GameObject,
4340 ) -> bool {
4341 let __mi = Self::set_value_3_method_info();
4342 let __inner: extern "C" fn(
4343 ::unity::IlInstance,
4344 ::unity::Il2CppString,
4345 bool,
4346 ::unity::Il2CppString,
4347 crate::unity_engine::gameobject::GameObject,
4348 ::unity::OptionalMethod,
4349 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
4350 __inner(this.into(), value_name, is_global, value, game_object, ::core::option::Option::None)
4351 }
4352
4353 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4354 pub unsafe fn set_value_4(
4355 this: impl ::core::convert::Into<::unity::IlInstance>,
4356 value_name: ::unity::Il2CppString,
4357 is_global: bool,
4358 value: u32,
4359 game_object: crate::unity_engine::gameobject::GameObject,
4360 ) -> bool {
4361 let __mi = Self::set_value_4_method_info();
4362 let __inner: extern "C" fn(
4363 ::unity::IlInstance,
4364 ::unity::Il2CppString,
4365 bool,
4366 u32,
4367 crate::unity_engine::gameobject::GameObject,
4368 ::unity::OptionalMethod,
4369 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
4370 __inner(this.into(), value_name, is_global, value, game_object, ::core::option::Option::None)
4371 }
4372
4373 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4374 pub unsafe fn set_value_5(this: impl ::core::convert::Into<::unity::IlInstance>, value_name: ::unity::Il2CppString, value: f32) -> bool {
4375 let __mi = Self::set_value_5_method_info();
4376 let __inner: extern "C" fn(::unity::IlInstance, ::unity::Il2CppString, f32, ::unity::OptionalMethod) -> bool =
4377 ::core::mem::transmute(__mi.method_ptr);
4378 __inner(this.into(), value_name, value, ::core::option::Option::None)
4379 }
4380
4381 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetValue`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4382 pub unsafe fn set_value_6(
4383 this: impl ::core::convert::Into<::unity::IlInstance>,
4384 value_name: ::unity::Il2CppString,
4385 value: f32,
4386 game_object: crate::unity_engine::gameobject::GameObject,
4387 ) -> bool {
4388 let __mi = Self::set_value_6_method_info();
4389 let __inner: extern "C" fn(
4390 ::unity::IlInstance,
4391 ::unity::Il2CppString,
4392 f32,
4393 crate::unity_engine::gameobject::GameObject,
4394 ::unity::OptionalMethod,
4395 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
4396 __inner(this.into(), value_name, value, game_object, ::core::option::Option::None)
4397 }
4398
4399 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetPosition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4400 pub unsafe fn set_position(
4401 this: impl ::core::convert::Into<::unity::IlInstance>,
4402 pos: crate::unity_engine::vector3::Vector3,
4403 foward: crate::unity_engine::vector3::Vector3,
4404 up: crate::unity_engine::vector3::Vector3,
4405 game_object: crate::unity_engine::gameobject::GameObject,
4406 ) -> bool {
4407 let __mi = Self::set_position_method_info();
4408 let __inner: extern "C" fn(
4409 ::unity::IlInstance,
4410 crate::unity_engine::vector3::Vector3,
4411 crate::unity_engine::vector3::Vector3,
4412 crate::unity_engine::vector3::Vector3,
4413 crate::unity_engine::gameobject::GameObject,
4414 ::unity::OptionalMethod,
4415 ) -> bool = ::core::mem::transmute(__mi.method_ptr);
4416 __inner(this.into(), pos, foward, up, game_object, ::core::option::Option::None)
4417 }
4418
4419 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetAudioListenerObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4420 pub unsafe fn get_audio_listener_object(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::gameobject::GameObject {
4421 let __mi = Self::get_audio_listener_object_method_info();
4422 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::gameobject::GameObject =
4423 ::core::mem::transmute(__mi.method_ptr);
4424 __inner(this.into(), ::core::option::Option::None)
4425 }
4426
4427 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetAudioListenerPosistion`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4428 pub unsafe fn get_audio_listener_posistion(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::vector3::Vector3 {
4429 let __mi = Self::get_audio_listener_posistion_method_info();
4430 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::vector3::Vector3 =
4431 ::core::mem::transmute(__mi.method_ptr);
4432 __inner(this.into(), ::core::option::Option::None)
4433 }
4434
4435 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `GetAudioListenerRotation`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4436 pub unsafe fn get_audio_listener_rotation(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::quaternion::Quaternion {
4437 let __mi = Self::get_audio_listener_rotation_method_info();
4438 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::quaternion::Quaternion =
4439 ::core::mem::transmute(__mi.method_ptr);
4440 __inner(this.into(), ::core::option::Option::None)
4441 }
4442
4443 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetAudioListenerPosition`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4444 pub unsafe fn set_audio_listener_position(
4445 this: impl ::core::convert::Into<::unity::IlInstance>,
4446 listener_pos: crate::unity_engine::vector3::Vector3,
4447 ) -> () {
4448 let __mi = Self::set_audio_listener_position_method_info();
4449 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::vector3::Vector3, ::unity::OptionalMethod) -> () =
4450 ::core::mem::transmute(__mi.method_ptr);
4451 __inner(this.into(), listener_pos, ::core::option::Option::None)
4452 }
4453
4454 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundParam`'s own `SetAudioListenerRotation`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
4455 pub unsafe fn set_audio_listener_rotation(
4456 this: impl ::core::convert::Into<::unity::IlInstance>,
4457 listener_rot: crate::unity_engine::quaternion::Quaternion,
4458 ) -> () {
4459 let __mi = Self::set_audio_listener_rotation_method_info();
4460 let __inner: extern "C" fn(::unity::IlInstance, crate::unity_engine::quaternion::Quaternion, ::unity::OptionalMethod) -> () =
4461 ::core::mem::transmute(__mi.method_ptr);
4462 __inner(this.into(), listener_rot, ::core::option::Option::None)
4463 }
4464}
4465
4466#[cfg(feature = "app-soundwwise")]
4467impl SoundWwise_SoundParam {
4468 #[doc = "`.ctor()` — no args"]
4469 pub fn new() -> Self {
4470 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
4471 panic!(
4472 "{}
4473::{}
4474 failed to instantiate",
4475 ::core::stringify!(SoundWwise_SoundParam),
4476 ::core::stringify!(new),
4477 )
4478 });
4479 <Self as ISoundWwise_SoundParamMethods>::ctor(this);
4480 this
4481 }
4482}
4483
4484#[cfg(feature = "app-soundwwise")]
4485impl SoundWwise {
4486 #[doc = "`Init(crate::unity_engine::gameobject::GameObject)` overload"]
4487 pub fn init(wwise_global_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>) -> () {
4488 unsafe {
4489 ::unity::il2cpp_call!((::unity::module_base()+0x24f45a0usize)as*mut u8,();
4490(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(wwise_global_object))
4491 }
4492 }
4493
4494 #[doc = "`GetWwiseGlobalObject()` overload"]
4495 pub fn get_wwise_global_object() -> crate::unity_engine::gameobject::GameObject {
4496 unsafe {
4497 ::unity::il2cpp_call!((::unity::module_base()+0x24fc6b0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
4498 )
4499 }
4500 }
4501
4502 #[doc = "`GetAudioListenerObject()` overload"]
4503 pub fn get_audio_listener_object() -> crate::unity_engine::gameobject::GameObject {
4504 unsafe {
4505 ::unity::il2cpp_call!((::unity::module_base()+0x24fc7b0usize)as*mut u8,crate::unity_engine::gameobject::GameObject;
4506 )
4507 }
4508 }
4509
4510 #[doc = "`SetLanguage(crate::app::language::Language_Voices)` overload"]
4511 pub fn set_language(language: impl ::core::convert::Into<crate::app::language::Language_Voices>) -> () {
4512 unsafe {
4513 ::unity::il2cpp_call!((::unity::module_base()+0x24f5380usize)as*mut u8,();
4514(crate::app::language::Language_Voices)::core::convert::Into::into(language))
4515 }
4516 }
4517
4518 #[doc = "`PrepareEvent(::unity::Il2CppString)` overload"]
4519 pub fn prepare_event(event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::root::akresult::AKRESULT {
4520 unsafe {
4521 ::unity::il2cpp_call!((::unity::module_base()+0x24fc920usize)as*mut u8,crate::root::akresult::AKRESULT;
4522(::unity::Il2CppString)::core::convert::Into::into(event_name))
4523 }
4524 }
4525
4526 #[doc = "`PrepareEvent(::unity::Array<::unity::Il2CppString>)` overload"]
4527 pub fn prepare_event_2(event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> crate::root::akresult::AKRESULT {
4528 unsafe {
4529 ::unity::il2cpp_call!((::unity::module_base()+0x24fca00usize)as*mut u8,crate::root::akresult::AKRESULT;
4530(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(event_name_array))
4531 }
4532 }
4533
4534 #[doc = "`PrepareEventAsync(::unity::Il2CppString, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
4535 pub fn prepare_event_async(
4536 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
4537 ) -> (crate::root::akresult::AKRESULT, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
4538 unsafe {
4539 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
4540 let __ret = {
4541 ::unity::il2cpp_call!((::unity::module_base()+0x24fcc10usize)as*mut u8,crate::root::akresult::AKRESULT;
4542(::unity::Il2CppString)::core::convert::Into::into(event_name),(*mut crate::app::soundsystem::SoundSystem_ResultSoundLoad)__out_0.as_mut_ptr())
4543 };
4544 (__ret, __out_0.assume_init())
4545 }
4546 }
4547
4548 #[doc = "`PrepareEventAsync(::unity::Array<::unity::Il2CppString>, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
4549 pub fn prepare_event_async_2(
4550 event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4551 ) -> (crate::root::akresult::AKRESULT, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
4552 unsafe {
4553 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
4554 let __ret = {
4555 ::unity::il2cpp_call!((::unity::module_base()+0x24fccf0usize)as*mut u8,crate::root::akresult::AKRESULT;
4556(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(event_name_array),(*mut crate::app::soundsystem::SoundSystem_ResultSoundLoad)__out_0.as_mut_ptr())
4557 };
4558 (__ret, __out_0.assume_init())
4559 }
4560 }
4561
4562 #[doc = "`CalcPrepareEventNameArray(::unity::Array<::unity::Il2CppString>)` overload"]
4563 pub fn calc_prepare_event_name_array(
4564 event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4565 ) -> ::unity::Array<::unity::Il2CppString> {
4566 unsafe {
4567 ::unity::il2cpp_call!((::unity::module_base()+0x24fcab0usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
4568(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(event_name_array))
4569 }
4570 }
4571
4572 #[doc = "`UnprepareEvent(::unity::Il2CppString)` overload"]
4573 pub fn unprepare_event(event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
4574 unsafe {
4575 ::unity::il2cpp_call!((::unity::module_base()+0x24fce60usize)as*mut u8,();
4576(::unity::Il2CppString)::core::convert::Into::into(event_name))
4577 }
4578 }
4579
4580 #[doc = "`UnprepareEvent(::unity::Array<::unity::Il2CppString>)` overload"]
4581 pub fn unprepare_event_2(event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
4582 unsafe {
4583 ::unity::il2cpp_call!((::unity::module_base()+0x24fcf40usize)as*mut u8,();
4584(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(event_name_array))
4585 }
4586 }
4587
4588 #[doc = "`ClearPrepareEvent(::unity::Array<::unity::Il2CppString>)` overload"]
4589 pub fn clear_prepare_event(event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>) -> () {
4590 unsafe {
4591 ::unity::il2cpp_call!((::unity::module_base()+0x24fd160usize)as*mut u8,();
4592(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(event_name_array))
4593 }
4594 }
4595
4596 #[doc = "`CalcUnprepareEventNameArray(::unity::Array<::unity::Il2CppString>)` overload"]
4597 pub fn calc_unprepare_event_name_array(
4598 event_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4599 ) -> ::unity::Array<::unity::Il2CppString> {
4600 unsafe {
4601 ::unity::il2cpp_call!((::unity::module_base()+0x24fd000usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
4602(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(event_name_array))
4603 }
4604 }
4605
4606 #[doc = "`PrepareSwitch(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
4607 pub fn prepare_switch(
4608 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4609 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
4610 ) -> crate::root::akresult::AKRESULT {
4611 unsafe {
4612 ::unity::il2cpp_call!((::unity::module_base()+0x24fd1e0usize)as*mut u8,crate::root::akresult::AKRESULT;
4613(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(switch_name))
4614 }
4615 }
4616
4617 #[doc = "`PrepareSwitch(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4618 pub fn prepare_switch_2(
4619 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4620 switch_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4621 ) -> crate::root::akresult::AKRESULT {
4622 unsafe {
4623 ::unity::il2cpp_call!((::unity::module_base()+0x24fd310usize)as*mut u8,crate::root::akresult::AKRESULT;
4624(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(switch_name_array))
4625 }
4626 }
4627
4628 #[doc = "`PrepareSwitchAsync(::unity::Il2CppString, ::unity::Il2CppString, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
4629 pub fn prepare_switch_async(
4630 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4631 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
4632 ) -> (crate::root::akresult::AKRESULT, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
4633 unsafe {
4634 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
4635 let __ret = {
4636 ::unity::il2cpp_call!((::unity::module_base()+0x24fd460usize)as*mut u8,crate::root::akresult::AKRESULT;
4637(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(switch_name),(*mut crate::app::soundsystem::SoundSystem_ResultSoundLoad)__out_0.as_mut_ptr())
4638 };
4639 (__ret, __out_0.assume_init())
4640 }
4641 }
4642
4643 #[doc = "`PrepareSwitchAsync(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
4644 pub fn prepare_switch_async_2(
4645 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4646 switch_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4647 ) -> (crate::root::akresult::AKRESULT, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
4648 unsafe {
4649 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
4650 let __ret = {
4651 ::unity::il2cpp_call!((::unity::module_base()+0x24fd5a0usize)as*mut u8,crate::root::akresult::AKRESULT;
4652(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(switch_name_array),(*mut crate::app::soundsystem::SoundSystem_ResultSoundLoad)__out_0.as_mut_ptr())
4653 };
4654 (__ret, __out_0.assume_init())
4655 }
4656 }
4657
4658 #[doc = "`PrepareGameSync(crate::root::akgrouptype::AkGroupType, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4659 pub fn prepare_game_sync(
4660 group_type: impl ::core::convert::Into<crate::root::akgrouptype::AkGroupType>,
4661 game_sync_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4662 game_sync_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4663 ) -> crate::root::akresult::AKRESULT {
4664 unsafe {
4665 ::unity::il2cpp_call!((::unity::module_base()+0x24fd390usize)as*mut u8,crate::root::akresult::AKRESULT;
4666(crate::root::akgrouptype::AkGroupType)::core::convert::Into::into(group_type),(::unity::Il2CppString)::core::convert::Into::into(game_sync_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(game_sync_name_array))
4667 }
4668 }
4669
4670 #[doc = "`PrepareGameSyncAsync(crate::root::akgrouptype::AkGroupType, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>, *mutcrate::app::soundsystem::SoundSystem_ResultSoundLoad)` overload"]
4671 pub fn prepare_game_sync_async(
4672 group_type: impl ::core::convert::Into<crate::root::akgrouptype::AkGroupType>,
4673 game_sync_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4674 game_sync_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4675 ) -> (crate::root::akresult::AKRESULT, crate::app::soundsystem::SoundSystem_ResultSoundLoad) {
4676 unsafe {
4677 let mut __out_0 = ::core::mem::MaybeUninit::<crate::app::soundsystem::SoundSystem_ResultSoundLoad>::uninit();
4678 let __ret = {
4679 ::unity::il2cpp_call!((::unity::module_base()+0x24fd630usize)as*mut u8,crate::root::akresult::AKRESULT;
4680(crate::root::akgrouptype::AkGroupType)::core::convert::Into::into(group_type),(::unity::Il2CppString)::core::convert::Into::into(game_sync_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(game_sync_name_array),(*mut crate::app::soundsystem::SoundSystem_ResultSoundLoad)__out_0.as_mut_ptr())
4681 };
4682 (__ret, __out_0.assume_init())
4683 }
4684 }
4685
4686 #[doc = "`CalcPrepareGameSyncNameArray(crate::root::akgrouptype::AkGroupType, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4687 pub fn calc_prepare_game_sync_name_array(
4688 group_type: impl ::core::convert::Into<crate::root::akgrouptype::AkGroupType>,
4689 game_sync_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4690 game_sync_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4691 ) -> ::unity::Array<::unity::Il2CppString> {
4692 unsafe {
4693 ::unity::il2cpp_call!((::unity::module_base()+0x24fd7c0usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
4694(crate::root::akgrouptype::AkGroupType)::core::convert::Into::into(group_type),(::unity::Il2CppString)::core::convert::Into::into(game_sync_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(game_sync_name_array))
4695 }
4696 }
4697
4698 #[doc = "`UnprepareSwitch(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
4699 pub fn unprepare_switch(
4700 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4701 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
4702 ) -> () {
4703 unsafe {
4704 ::unity::il2cpp_call!((::unity::module_base()+0x24fd930usize)as*mut u8,();
4705(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(switch_name))
4706 }
4707 }
4708
4709 #[doc = "`UnprepareSwitch(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4710 pub fn unprepare_switch_2(
4711 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4712 switch_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4713 ) -> () {
4714 unsafe {
4715 ::unity::il2cpp_call!((::unity::module_base()+0x24fda70usize)as*mut u8,();
4716(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(switch_name_array))
4717 }
4718 }
4719
4720 #[doc = "`ClearPrepareSwitch(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4721 pub fn clear_prepare_switch(
4722 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4723 switch_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4724 ) -> () {
4725 unsafe {
4726 ::unity::il2cpp_call!((::unity::module_base()+0x24fdc60usize)as*mut u8,();
4727(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(switch_name_array))
4728 }
4729 }
4730
4731 #[doc = "`UnprepareGameSync(crate::root::akgrouptype::AkGroupType, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4732 pub fn unprepare_game_sync(
4733 group_type: impl ::core::convert::Into<crate::root::akgrouptype::AkGroupType>,
4734 game_sync_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4735 game_sync_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4736 ) -> () {
4737 unsafe {
4738 ::unity::il2cpp_call!((::unity::module_base()+0x24fddc0usize)as*mut u8,();
4739(crate::root::akgrouptype::AkGroupType)::core::convert::Into::into(group_type),(::unity::Il2CppString)::core::convert::Into::into(game_sync_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(game_sync_name_array))
4740 }
4741 }
4742
4743 #[doc = "`CalcUnprepareGameSyncNameArray(crate::root::akgrouptype::AkGroupType, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4744 pub fn calc_unprepare_game_sync_name_array(
4745 group_type: impl ::core::convert::Into<crate::root::akgrouptype::AkGroupType>,
4746 game_sync_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4747 game_sync_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4748 ) -> ::unity::Array<::unity::Il2CppString> {
4749 unsafe {
4750 ::unity::il2cpp_call!((::unity::module_base()+0x24fdaf0usize)as*mut u8, ::unity::Array< ::unity::Il2CppString> ;
4751(crate::root::akgrouptype::AkGroupType)::core::convert::Into::into(group_type),(::unity::Il2CppString)::core::convert::Into::into(game_sync_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(game_sync_name_array))
4752 }
4753 }
4754
4755 #[doc = "`ClearPrepareGameSync(crate::root::akgrouptype::AkGroupType, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>)` overload"]
4756 pub fn clear_prepare_game_sync(
4757 group_type: impl ::core::convert::Into<crate::root::akgrouptype::AkGroupType>,
4758 game_sync_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4759 game_sync_name_array: impl ::core::convert::Into<::unity::Array<::unity::Il2CppString>>,
4760 ) -> () {
4761 unsafe {
4762 ::unity::il2cpp_call!((::unity::module_base()+0x24fdd20usize)as*mut u8,();
4763(crate::root::akgrouptype::AkGroupType)::core::convert::Into::into(group_type),(::unity::Il2CppString)::core::convert::Into::into(game_sync_group_name),(::unity::Array< ::unity::Il2CppString>)::core::convert::Into::into(game_sync_name_array))
4764 }
4765 }
4766
4767 #[doc = "`ClearPrepare()` overload"]
4768 pub fn clear_prepare() -> () {
4769 unsafe {
4770 ::unity::il2cpp_call!((::unity::module_base()+0x24fde90usize)as*mut u8,();
4771 )
4772 }
4773 }
4774
4775 #[doc = "`IsEventLoaded(::unity::Il2CppString)` overload"]
4776 pub fn is_event_loaded(event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
4777 unsafe {
4778 ::unity::il2cpp_call!((::unity::module_base()+0x24fdf30usize)as*mut u8,bool;
4779(::unity::Il2CppString)::core::convert::Into::into(event_name))
4780 }
4781 }
4782
4783 #[doc = "`PostEvent(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject)` overload"]
4784 pub fn post_event(
4785 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
4786 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4787 ) -> u32 {
4788 unsafe {
4789 ::unity::il2cpp_call!((::unity::module_base()+0x24fdff0usize)as*mut u8,u32;
4790(::unity::Il2CppString)::core::convert::Into::into(event_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
4791 }
4792 }
4793
4794 #[doc = "`PostEvent(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, u32, crate::root::akcallbackmanager::AkCallbackManager_EventCallback, crate::system::object::Object)` overload"]
4795 pub fn post_event_2(
4796 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
4797 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4798 flag: impl ::core::convert::Into<u32>,
4799 callback: impl ::core::convert::Into<crate::root::akcallbackmanager::AkCallbackManager_EventCallback>,
4800 cookie: impl ::core::convert::Into<crate::system::object::Object>,
4801 ) -> u32 {
4802 unsafe {
4803 ::unity::il2cpp_call!((::unity::module_base()+0x24f7a50usize)as*mut u8,u32;
4804(::unity::Il2CppString)::core::convert::Into::into(event_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(u32)::core::convert::Into::into(flag),(crate::root::akcallbackmanager::AkCallbackManager_EventCallback)::core::convert::Into::into(callback),(crate::system::object::Object)::core::convert::Into::into(cookie))
4805 }
4806 }
4807
4808 #[doc = "`ExecuteActionOnEvent(::unity::Il2CppString, crate::root::akactiononeventtype::AkActionOnEventType, i32, crate::root::akcurveinterpolation::AkCurveInterpolation, crate::unity_engine::gameobject::GameObject, u32)` overload"]
4809 pub fn execute_action_on_event(
4810 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
4811 event_type: impl ::core::convert::Into<crate::root::akactiononeventtype::AkActionOnEventType>,
4812 msec: impl ::core::convert::Into<i32>,
4813 interpolation: impl ::core::convert::Into<crate::root::akcurveinterpolation::AkCurveInterpolation>,
4814 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4815 playing_id: impl ::core::convert::Into<u32>,
4816 ) -> crate::root::akresult::AKRESULT {
4817 unsafe {
4818 ::unity::il2cpp_call!((::unity::module_base()+0x24f7be0usize)as*mut u8,crate::root::akresult::AKRESULT;
4819(::unity::Il2CppString)::core::convert::Into::into(event_name),(crate::root::akactiononeventtype::AkActionOnEventType)::core::convert::Into::into(event_type),(i32)::core::convert::Into::into(msec),(crate::root::akcurveinterpolation::AkCurveInterpolation)::core::convert::Into::into(interpolation),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(u32)::core::convert::Into::into(playing_id))
4820 }
4821 }
4822
4823 #[doc = "`StopSoundOnEvent(::unity::Il2CppString, i32, crate::unity_engine::gameobject::GameObject, u32)` overload"]
4824 pub fn stop_sound_on_event(
4825 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
4826 msec: impl ::core::convert::Into<i32>,
4827 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4828 playing_id: impl ::core::convert::Into<u32>,
4829 ) -> () {
4830 unsafe {
4831 ::unity::il2cpp_call!((::unity::module_base()+0x24fe070usize)as*mut u8,();
4832(::unity::Il2CppString)::core::convert::Into::into(event_name),(i32)::core::convert::Into::into(msec),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(u32)::core::convert::Into::into(playing_id))
4833 }
4834 }
4835
4836 #[doc = "`PauseSoundOnEvent(::unity::Il2CppString, i32, crate::unity_engine::gameobject::GameObject, u32)` overload"]
4837 pub fn pause_sound_on_event(
4838 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
4839 msec: impl ::core::convert::Into<i32>,
4840 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4841 playing_id: impl ::core::convert::Into<u32>,
4842 ) -> () {
4843 unsafe {
4844 ::unity::il2cpp_call!((::unity::module_base()+0x24fe150usize)as*mut u8,();
4845(::unity::Il2CppString)::core::convert::Into::into(event_name),(i32)::core::convert::Into::into(msec),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(u32)::core::convert::Into::into(playing_id))
4846 }
4847 }
4848
4849 #[doc = "`ResumeSoundOnEvent(::unity::Il2CppString, i32, crate::unity_engine::gameobject::GameObject, u32)` overload"]
4850 pub fn resume_sound_on_event(
4851 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
4852 msec: impl ::core::convert::Into<i32>,
4853 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4854 playing_id: impl ::core::convert::Into<u32>,
4855 ) -> () {
4856 unsafe {
4857 ::unity::il2cpp_call!((::unity::module_base()+0x24fe230usize)as*mut u8,();
4858(::unity::Il2CppString)::core::convert::Into::into(event_name),(i32)::core::convert::Into::into(msec),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(u32)::core::convert::Into::into(playing_id))
4859 }
4860 }
4861
4862 #[doc = "`SetVolume(f32, crate::unity_engine::gameobject::GameObject)` overload"]
4863 pub fn set_volume(
4864 vol: impl ::core::convert::Into<f32>,
4865 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4866 ) -> () {
4867 unsafe {
4868 ::unity::il2cpp_call!((::unity::module_base()+0x24fe310usize)as*mut u8,();
4869(f32)::core::convert::Into::into(vol),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object))
4870 }
4871 }
4872
4873 #[doc = "`StopByPlayingID(u32, i32)` overload"]
4874 pub fn stop_by_playing_id(playing_id: impl ::core::convert::Into<u32>, msec: impl ::core::convert::Into<i32>) -> () {
4875 unsafe {
4876 ::unity::il2cpp_call!((::unity::module_base()+0x24fe440usize)as*mut u8,();
4877(u32)::core::convert::Into::into(playing_id),(i32)::core::convert::Into::into(msec))
4878 }
4879 }
4880
4881 #[doc = "`GetState(::unity::Il2CppString, *mutu32)` overload"]
4882 pub fn get_state(state_group_name: impl ::core::convert::Into<::unity::Il2CppString>) -> (bool, u32) {
4883 unsafe {
4884 let mut __out_0 = ::core::mem::MaybeUninit::<u32>::uninit();
4885 let __ret = {
4886 ::unity::il2cpp_call!((::unity::module_base()+0x24fe4c0usize)as*mut u8,bool;
4887(::unity::Il2CppString)::core::convert::Into::into(state_group_name),(*mut u32)__out_0.as_mut_ptr())
4888 };
4889 (__ret, __out_0.assume_init())
4890 }
4891 }
4892
4893 #[doc = "`GetSwitch(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, *mutu32)` overload"]
4894 pub fn get_switch(
4895 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4896 game_object_id: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4897 ) -> (bool, u32) {
4898 unsafe {
4899 let mut __out_0 = ::core::mem::MaybeUninit::<u32>::uninit();
4900 let __ret = {
4901 ::unity::il2cpp_call!((::unity::module_base()+0x24fe560usize)as*mut u8,bool;
4902(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object_id),(*mut u32)__out_0.as_mut_ptr())
4903 };
4904 (__ret, __out_0.assume_init())
4905 }
4906 }
4907
4908 #[doc = "`GetGameParameter(::unity::Il2CppString, *mutf32)` overload"]
4909 pub fn get_game_parameter(param_name: impl ::core::convert::Into<::unity::Il2CppString>) -> (bool, f32) {
4910 unsafe {
4911 let mut __out_0 = ::core::mem::MaybeUninit::<f32>::uninit();
4912 let __ret = {
4913 ::unity::il2cpp_call!((::unity::module_base()+0x24fe610usize)as*mut u8,bool;
4914(::unity::Il2CppString)::core::convert::Into::into(param_name),(*mut f32)__out_0.as_mut_ptr())
4915 };
4916 (__ret, __out_0.assume_init())
4917 }
4918 }
4919
4920 #[doc = "`GetGameParameter(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, *mutf32)` overload"]
4921 pub fn get_game_parameter_2(
4922 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
4923 game_object_id: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4924 ) -> (bool, f32) {
4925 unsafe {
4926 let mut __out_0 = ::core::mem::MaybeUninit::<f32>::uninit();
4927 let __ret = {
4928 ::unity::il2cpp_call!((::unity::module_base()+0x24fe6d0usize)as*mut u8,bool;
4929(::unity::Il2CppString)::core::convert::Into::into(param_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object_id),(*mut f32)__out_0.as_mut_ptr())
4930 };
4931 (__ret, __out_0.assume_init())
4932 }
4933 }
4934
4935 #[doc = "`SetState(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
4936 pub fn set_state(
4937 state_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4938 state_name: impl ::core::convert::Into<::unity::Il2CppString>,
4939 ) -> bool {
4940 unsafe {
4941 ::unity::il2cpp_call!((::unity::module_base()+0x24fe790usize)as*mut u8,bool;
4942(::unity::Il2CppString)::core::convert::Into::into(state_group_name),(::unity::Il2CppString)::core::convert::Into::into(state_name))
4943 }
4944 }
4945
4946 #[doc = "`SetState(::unity::Il2CppString, u32)` overload"]
4947 pub fn set_state_2(state_group_name: impl ::core::convert::Into<::unity::Il2CppString>, state_value: impl ::core::convert::Into<u32>) -> bool {
4948 unsafe {
4949 ::unity::il2cpp_call!((::unity::module_base()+0x24fe850usize)as*mut u8,bool;
4950(::unity::Il2CppString)::core::convert::Into::into(state_group_name),(u32)::core::convert::Into::into(state_value))
4951 }
4952 }
4953
4954 #[doc = "`SetSwitch(::unity::Il2CppString, ::unity::Il2CppString, crate::unity_engine::gameobject::GameObject)` overload"]
4955 pub fn set_switch(
4956 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4957 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
4958 game_object_id: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4959 ) -> bool {
4960 unsafe {
4961 ::unity::il2cpp_call!((::unity::module_base()+0x24fe900usize)as*mut u8,bool;
4962(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(switch_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object_id))
4963 }
4964 }
4965
4966 #[doc = "`SetSwitch(::unity::Il2CppString, u32, crate::unity_engine::gameobject::GameObject)` overload"]
4967 pub fn set_switch_2(
4968 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
4969 switch_value: impl ::core::convert::Into<u32>,
4970 game_object_id: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4971 ) -> bool {
4972 unsafe {
4973 ::unity::il2cpp_call!((::unity::module_base()+0x24fe9c0usize)as*mut u8,bool;
4974(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(u32)::core::convert::Into::into(switch_value),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object_id))
4975 }
4976 }
4977
4978 #[doc = "`SetGameParameter(::unity::Il2CppString, f32, i32)` overload"]
4979 pub fn set_game_parameter(
4980 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
4981 value: impl ::core::convert::Into<f32>,
4982 msec: impl ::core::convert::Into<i32>,
4983 ) -> bool {
4984 unsafe {
4985 ::unity::il2cpp_call!((::unity::module_base()+0x24fea80usize)as*mut u8,bool;
4986(::unity::Il2CppString)::core::convert::Into::into(param_name),(f32)::core::convert::Into::into(value),(i32)::core::convert::Into::into(msec))
4987 }
4988 }
4989
4990 #[doc = "`SetGameParameter(::unity::Il2CppString, f32, crate::unity_engine::gameobject::GameObject, i32)` overload"]
4991 pub fn set_game_parameter_2(
4992 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
4993 value: impl ::core::convert::Into<f32>,
4994 game_object_id: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
4995 msec: impl ::core::convert::Into<i32>,
4996 ) -> bool {
4997 unsafe {
4998 ::unity::il2cpp_call!((::unity::module_base()+0x24feb30usize)as*mut u8,bool;
4999(::unity::Il2CppString)::core::convert::Into::into(param_name),(f32)::core::convert::Into::into(value),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object_id),(i32)::core::convert::Into::into(msec))
5000 }
5001 }
5002
5003 #[doc = "`ResetGameParameter(::unity::Il2CppString, i32)` overload"]
5004 pub fn reset_game_parameter(param_name: impl ::core::convert::Into<::unity::Il2CppString>, msec: impl ::core::convert::Into<i32>) -> bool {
5005 unsafe {
5006 ::unity::il2cpp_call!((::unity::module_base()+0x24febe0usize)as*mut u8,bool;
5007(::unity::Il2CppString)::core::convert::Into::into(param_name),(i32)::core::convert::Into::into(msec))
5008 }
5009 }
5010
5011 #[doc = "`ResetGameParameter(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, i32)` overload"]
5012 pub fn reset_game_parameter_2(
5013 param_name: impl ::core::convert::Into<::unity::Il2CppString>,
5014 game_object_id: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
5015 msec: impl ::core::convert::Into<i32>,
5016 ) -> bool {
5017 unsafe {
5018 ::unity::il2cpp_call!((::unity::module_base()+0x24fec90usize)as*mut u8,bool;
5019(::unity::Il2CppString)::core::convert::Into::into(param_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object_id),(i32)::core::convert::Into::into(msec))
5020 }
5021 }
5022
5023 #[doc = "`GetPlayPosition(u32, i32)` overload"]
5024 pub fn get_play_position(playing_id: impl ::core::convert::Into<u32>, position_offset: impl ::core::convert::Into<i32>) -> i32 {
5025 unsafe {
5026 ::unity::il2cpp_call!((::unity::module_base()+0x24fed40usize)as*mut u8,i32;
5027(u32)::core::convert::Into::into(playing_id),(i32)::core::convert::Into::into(position_offset))
5028 }
5029 }
5030
5031 #[doc = "`SetPosition(crate::unity_engine::gameobject::GameObject, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3)` overload"]
5032 pub fn set_position(
5033 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
5034 pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
5035 forward: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
5036 up: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>,
5037 ) -> bool {
5038 unsafe {
5039 ::unity::il2cpp_call!((::unity::module_base()+0x24fee20usize)as*mut u8,bool;
5040(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(pos),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(forward),(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(up))
5041 }
5042 }
5043
5044 #[doc = "`GetAudioListenerPosistion()` overload"]
5045 pub fn get_audio_listener_posistion() -> crate::unity_engine::vector3::Vector3 {
5046 unsafe {
5047 ::unity::il2cpp_call!((::unity::module_base()+0x24fef60usize)as*mut u8,crate::unity_engine::vector3::Vector3;
5048 )
5049 }
5050 }
5051
5052 #[doc = "`GetAudioListenerRotation()` overload"]
5053 pub fn get_audio_listener_rotation() -> crate::unity_engine::quaternion::Quaternion {
5054 unsafe {
5055 ::unity::il2cpp_call!((::unity::module_base()+0x24ff040usize)as*mut u8,crate::unity_engine::quaternion::Quaternion;
5056 )
5057 }
5058 }
5059
5060 #[doc = "`SetAudioListenerPosistion(crate::unity_engine::vector3::Vector3)` overload"]
5061 pub fn set_audio_listener_posistion(listener_pos: impl ::core::convert::Into<crate::unity_engine::vector3::Vector3>) -> () {
5062 unsafe {
5063 ::unity::il2cpp_call!((::unity::module_base()+0x24ff120usize)as*mut u8,();
5064(crate::unity_engine::vector3::Vector3)::core::convert::Into::into(listener_pos))
5065 }
5066 }
5067
5068 #[doc = "`SetAudioListenerRotation(crate::unity_engine::quaternion::Quaternion)` overload"]
5069 pub fn set_audio_listener_rotation(listener_rot: impl ::core::convert::Into<crate::unity_engine::quaternion::Quaternion>) -> () {
5070 unsafe {
5071 ::unity::il2cpp_call!((::unity::module_base()+0x24ff220usize)as*mut u8,();
5072(crate::unity_engine::quaternion::Quaternion)::core::convert::Into::into(listener_rot))
5073 }
5074 }
5075
5076 #[doc = "`.cctor()` overload"]
5077 pub fn cctor() -> () {
5078 unsafe {
5079 ::unity::il2cpp_call!((::unity::module_base()+0x24ff330usize)as*mut u8,();
5080 )
5081 }
5082 }
5083}
5084
5085#[cfg(feature = "app-soundwwise")]
5086pub trait ISoundWwiseMethods: ISoundWwise {
5087 #[doc = "`.ctor()` overload"]
5088 fn ctor(self) -> () {
5089 unsafe {
5090 let __receiver = <SoundWwise as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5091 ::unity::il2cpp_call!((::unity::module_base()+0x24ff320usize)as*mut u8,();
5092(SoundWwise)__receiver)
5093 }
5094 }
5095}
5096
5097#[cfg(feature = "app-soundwwise")]
5098impl<__T: ISoundWwise> ISoundWwiseMethods for __T {}
5099
5100#[cfg(feature = "app-soundwwise")]
5101impl SoundWwise {
5102 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5103 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
5104 }
5105
5106 pub fn get_wwise_global_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5107 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
5108 }
5109
5110 pub fn get_audio_listener_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5111 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
5112 }
5113
5114 pub fn set_language_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5115 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
5116 }
5117
5118 pub fn prepare_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5119 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
5120 }
5121
5122 pub fn prepare_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5123 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
5124 }
5125
5126 pub fn prepare_event_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5127 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
5128 }
5129
5130 pub fn prepare_event_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5131 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
5132 }
5133
5134 pub fn calc_prepare_event_name_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5135 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
5136 }
5137
5138 pub fn unprepare_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5139 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
5140 }
5141
5142 pub fn unprepare_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5143 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
5144 }
5145
5146 pub fn clear_prepare_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5147 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
5148 }
5149
5150 pub fn calc_unprepare_event_name_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5151 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
5152 }
5153
5154 pub fn prepare_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5155 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
5156 }
5157
5158 pub fn prepare_switch_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5159 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
5160 }
5161
5162 pub fn prepare_switch_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5163 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
5164 }
5165
5166 pub fn prepare_switch_async_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5167 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
5168 }
5169
5170 pub fn prepare_game_sync_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5171 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
5172 }
5173
5174 pub fn prepare_game_sync_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5175 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
5176 }
5177
5178 pub fn calc_prepare_game_sync_name_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5179 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
5180 }
5181
5182 pub fn unprepare_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5183 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
5184 }
5185
5186 pub fn unprepare_switch_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
5188 }
5189
5190 pub fn clear_prepare_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
5192 }
5193
5194 pub fn unprepare_game_sync_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
5196 }
5197
5198 pub fn calc_unprepare_game_sync_name_array_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5199 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
5200 }
5201
5202 pub fn clear_prepare_game_sync_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5203 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
5204 }
5205
5206 pub fn clear_prepare_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5207 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
5208 }
5209
5210 pub fn is_event_loaded_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5211 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
5212 }
5213
5214 pub fn post_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5215 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
5216 }
5217
5218 pub fn post_event_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5219 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
5220 }
5221
5222 pub fn execute_action_on_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5223 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
5224 }
5225
5226 pub fn stop_sound_on_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5227 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
5228 }
5229
5230 pub fn pause_sound_on_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5231 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
5232 }
5233
5234 pub fn resume_sound_on_event_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5235 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
5236 }
5237
5238 pub fn set_volume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5239 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
5240 }
5241
5242 pub fn stop_by_playing_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5243 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
5244 }
5245
5246 pub fn get_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5247 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
5248 }
5249
5250 pub fn get_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5251 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
5252 }
5253
5254 pub fn get_game_parameter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5255 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
5256 }
5257
5258 pub fn get_game_parameter_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5259 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
5260 }
5261
5262 pub fn set_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5263 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
5264 }
5265
5266 pub fn set_state_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5267 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
5268 }
5269
5270 pub fn set_switch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5271 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
5272 }
5273
5274 pub fn set_switch_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5275 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
5276 }
5277
5278 pub fn set_game_parameter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5279 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[44]
5280 }
5281
5282 pub fn set_game_parameter_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5283 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[45]
5284 }
5285
5286 pub fn reset_game_parameter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5287 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[46]
5288 }
5289
5290 pub fn reset_game_parameter_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5291 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[47]
5292 }
5293
5294 pub fn get_play_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[48]
5296 }
5297
5298 pub fn set_position_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[49]
5300 }
5301
5302 pub fn get_audio_listener_posistion_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[50]
5304 }
5305
5306 pub fn get_audio_listener_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[51]
5308 }
5309
5310 pub fn set_audio_listener_posistion_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5311 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[52]
5312 }
5313
5314 pub fn set_audio_listener_rotation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5315 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[53]
5316 }
5317
5318 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5319 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[54]
5320 }
5321
5322 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5323 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[55]
5324 }
5325}
5326
5327#[cfg(feature = "app-soundwwise")]
5328impl SoundWwise {
5329 #[doc = "`.ctor()` — no args"]
5330 pub fn new() -> Self {
5331 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
5332 panic!(
5333 "{}
5334::{}
5335 failed to instantiate",
5336 ::core::stringify!(SoundWwise),
5337 ::core::stringify!(new),
5338 )
5339 });
5340 <Self as ISoundWwiseMethods>::ctor(this);
5341 this
5342 }
5343}
5344
5345#[cfg(feature = "app-soundwwise")]
5346pub trait ISoundWwise_SoundPrepareManager_EventParamMethods: ISoundWwise_SoundPrepareManager_EventParam {
5347 #[doc = "`.ctor(::unity::Il2CppString)` overload"]
5348 fn ctor(self, event_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
5349 unsafe {
5350 let __receiver = <SoundWwise_SoundPrepareManager_EventParam as ::unity::FromIlInstance>::from_il_instance(
5351 <Self as ::unity::SystemObject>::as_instance(self),
5352 );
5353 ::unity::il2cpp_call!((::unity::module_base()+0x22f0010usize)as*mut u8,();
5354(SoundWwise_SoundPrepareManager_EventParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name))
5355 }
5356 }
5357 #[doc = "`GetEventName()` overload"]
5358 fn get_event_name(self) -> ::unity::Il2CppString {
5359 unsafe {
5360 let __receiver = <SoundWwise_SoundPrepareManager_EventParam as ::unity::FromIlInstance>::from_il_instance(
5361 <Self as ::unity::SystemObject>::as_instance(self),
5362 );
5363 ::unity::il2cpp_call!((::unity::module_base()+0x22f0060usize)as*mut u8, ::unity::Il2CppString;
5364(SoundWwise_SoundPrepareManager_EventParam)__receiver)
5365 }
5366 }
5367}
5368
5369#[cfg(feature = "app-soundwwise")]
5370impl<__T: ISoundWwise_SoundPrepareManager_EventParam> ISoundWwise_SoundPrepareManager_EventParamMethods for __T {}
5371
5372#[cfg(feature = "app-soundwwise")]
5373impl SoundWwise_SoundPrepareManager_EventParam {
5374 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5375 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
5376 }
5377
5378 pub fn get_event_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5379 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
5380 }
5381}
5382
5383#[cfg(feature = "app-soundwwise")]
5384impl SoundWwise_SoundPrepareManager_EventParam {
5385 #[doc = "`.ctor(::unity::Il2CppString)` — overload selector"]
5386 pub fn new(event_name: ::unity::Il2CppString) -> Self {
5387 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
5388 panic!(
5389 "{}
5390::{}
5391 failed to instantiate",
5392 ::core::stringify!(SoundWwise_SoundPrepareManager_EventParam),
5393 ::core::stringify!(new),
5394 )
5395 });
5396 <Self as ISoundWwise_SoundPrepareManager_EventParamMethods>::ctor(this, event_name);
5397 this
5398 }
5399}
5400
5401#[cfg(feature = "app-soundwwise")]
5402pub trait ISoundWwise_SoundHandleMethods: ISoundWwise_SoundHandle {
5403 #[doc = "`.ctor()` overload"]
5404 fn ctor(self) -> () {
5405 unsafe {
5406 let __receiver =
5407 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5408 ::unity::il2cpp_call!((::unity::module_base()+0x21f0c60usize)as*mut u8,();
5409(SoundWwise_SoundHandle)__receiver)
5410 }
5411 }
5412 #[doc = "`Init(::unity::Il2CppString, crate::unity_engine::gameobject::GameObject, u32, bool)` overload"]
5413 fn init(
5414 self,
5415 event_name: impl ::core::convert::Into<::unity::Il2CppString>,
5416 game_object: impl ::core::convert::Into<crate::unity_engine::gameobject::GameObject>,
5417 playing_id: impl ::core::convert::Into<u32>,
5418 is_temporary_game_object: impl ::core::convert::Into<bool>,
5419 ) -> () {
5420 unsafe {
5421 let __receiver =
5422 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5423 ::unity::il2cpp_call!((::unity::module_base()+0x21f0c70usize)as*mut u8,();
5424(SoundWwise_SoundHandle)__receiver,(::unity::Il2CppString)::core::convert::Into::into(event_name),(crate::unity_engine::gameobject::GameObject)::core::convert::Into::into(game_object),(u32)::core::convert::Into::into(playing_id),(bool)::core::convert::Into::into(is_temporary_game_object))
5425 }
5426 }
5427 #[doc = "`GetEventName()` overload"]
5428 fn get_event_name(self) -> ::unity::Il2CppString {
5429 unsafe {
5430 let __receiver =
5431 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5432 {
5433 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5434 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
5435 panic!(
5436 "unity: virtual slot {}
5437 out of range (vtable len {}
5438) on the runtime class behind {}
5439 (method `{}
5440`)",
5441 5usize,
5442 __vt.len(),
5443 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5444 "GetEventName",
5445 )
5446 });
5447 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> ::unity::Il2CppString =
5448 ::core::mem::transmute(__vi.method_ptr);
5449 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5450 __inner(__receiver, __mi)
5451 }
5452 }
5453 }
5454 #[doc = "`GetEventId()` overload"]
5455 fn get_event_id(self) -> u32 {
5456 unsafe {
5457 let __receiver =
5458 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5459 {
5460 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5461 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
5462 panic!(
5463 "unity: virtual slot {}
5464 out of range (vtable len {}
5465) on the runtime class behind {}
5466 (method `{}
5467`)",
5468 6usize,
5469 __vt.len(),
5470 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5471 "GetEventId",
5472 )
5473 });
5474 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> u32 = ::core::mem::transmute(__vi.method_ptr);
5475 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5476 __inner(__receiver, __mi)
5477 }
5478 }
5479 }
5480 #[doc = "`IsPlaying()` overload"]
5481 fn is_playing(self) -> bool {
5482 unsafe {
5483 let __receiver =
5484 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5485 {
5486 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5487 let __vi = *__vt.get(9usize).unwrap_or_else(|| {
5488 panic!(
5489 "unity: virtual slot {}
5490 out of range (vtable len {}
5491) on the runtime class behind {}
5492 (method `{}
5493`)",
5494 9usize,
5495 __vt.len(),
5496 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5497 "IsPlaying",
5498 )
5499 });
5500 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
5501 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5502 __inner(__receiver, __mi)
5503 }
5504 }
5505 }
5506 #[doc = "`GetGameObject()` overload"]
5507 fn get_game_object(self) -> crate::unity_engine::gameobject::GameObject {
5508 unsafe {
5509 let __receiver =
5510 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5511 {
5512 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5513 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
5514 panic!(
5515 "unity: virtual slot {}
5516 out of range (vtable len {}
5517) on the runtime class behind {}
5518 (method `{}
5519`)",
5520 4usize,
5521 __vt.len(),
5522 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5523 "GetGameObject",
5524 )
5525 });
5526 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> crate::unity_engine::gameobject::GameObject =
5527 ::core::mem::transmute(__vi.method_ptr);
5528 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5529 __inner(__receiver, __mi)
5530 }
5531 }
5532 }
5533 #[doc = "`GetPlayingId()` overload"]
5534 fn get_playing_id(self) -> u32 {
5535 unsafe {
5536 let __receiver =
5537 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5538 {
5539 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5540 let __vi = *__vt.get(7usize).unwrap_or_else(|| {
5541 panic!(
5542 "unity: virtual slot {}
5543 out of range (vtable len {}
5544) on the runtime class behind {}
5545 (method `{}
5546`)",
5547 7usize,
5548 __vt.len(),
5549 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5550 "GetPlayingId",
5551 )
5552 });
5553 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> u32 = ::core::mem::transmute(__vi.method_ptr);
5554 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5555 __inner(__receiver, __mi)
5556 }
5557 }
5558 }
5559 #[doc = "`GetCharacter()` overload"]
5560 fn get_character(self) -> crate::combat::character::Character {
5561 unsafe {
5562 let __receiver =
5563 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5564 {
5565 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5566 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
5567 panic!(
5568 "unity: virtual slot {}
5569 out of range (vtable len {}
5570) on the runtime class behind {}
5571 (method `{}
5572`)",
5573 10usize,
5574 __vt.len(),
5575 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5576 "GetCharacter",
5577 )
5578 });
5579 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> crate::combat::character::Character =
5580 ::core::mem::transmute(__vi.method_ptr);
5581 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5582 __inner(__receiver, __mi)
5583 }
5584 }
5585 }
5586 #[doc = "`GetEventCharacterMouthController()` overload"]
5587 fn get_event_character_mouth_controller(self) -> crate::app::eventcharactermouthcontroller::EventCharacterMouthController {
5588 unsafe {
5589 let __receiver =
5590 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5591 {
5592 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5593 let __vi = *__vt.get(11usize).unwrap_or_else(|| {
5594 panic!(
5595 "unity: virtual slot {}
5596 out of range (vtable len {}
5597) on the runtime class behind {}
5598 (method `{}
5599`)",
5600 11usize,
5601 __vt.len(),
5602 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5603 "GetEventCharacterMouthController",
5604 )
5605 });
5606 let __inner: extern "C" fn(
5607 SoundWwise_SoundHandle,
5608 ::unity::OptionalMethod,
5609 ) -> crate::app::eventcharactermouthcontroller::EventCharacterMouthController = ::core::mem::transmute(__vi.method_ptr);
5610 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5611 __inner(__receiver, __mi)
5612 }
5613 }
5614 }
5615 #[doc = "`SetCharacter(crate::combat::character::Character)` overload"]
5616 fn set_character(self, character: impl ::core::convert::Into<crate::combat::character::Character>) -> () {
5617 unsafe {
5618 let __receiver =
5619 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5620 {
5621 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5622 let __vi = *__vt.get(13usize).unwrap_or_else(|| {
5623 panic!(
5624 "unity: virtual slot {}
5625 out of range (vtable len {}
5626) on the runtime class behind {}
5627 (method `{}
5628`)",
5629 13usize,
5630 __vt.len(),
5631 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5632 "SetCharacter",
5633 )
5634 });
5635 let __inner: extern "C" fn(SoundWwise_SoundHandle, crate::combat::character::Character, ::unity::OptionalMethod) -> () =
5636 ::core::mem::transmute(__vi.method_ptr);
5637 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5638 __inner(__receiver, ::core::convert::Into::into(character), __mi)
5639 }
5640 }
5641 }
5642 #[doc = "`SetEventCharacterMouthController(crate::app::eventcharactermouthcontroller::EventCharacterMouthController)` overload"]
5643 fn set_event_character_mouth_controller(
5644 self,
5645 event_character_mouth_controller: impl ::core::convert::Into<crate::app::eventcharactermouthcontroller::EventCharacterMouthController>,
5646 ) -> () {
5647 unsafe {
5648 let __receiver =
5649 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5650 {
5651 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5652 let __vi = *__vt.get(14usize).unwrap_or_else(|| {
5653 panic!(
5654 "unity: virtual slot {}
5655 out of range (vtable len {}
5656) on the runtime class behind {}
5657 (method `{}
5658`)",
5659 14usize,
5660 __vt.len(),
5661 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5662 "SetEventCharacterMouthController",
5663 )
5664 });
5665 let __inner: extern "C" fn(
5666 SoundWwise_SoundHandle,
5667 crate::app::eventcharactermouthcontroller::EventCharacterMouthController,
5668 ::unity::OptionalMethod,
5669 ) -> () = ::core::mem::transmute(__vi.method_ptr);
5670 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5671 __inner(__receiver, ::core::convert::Into::into(event_character_mouth_controller), __mi)
5672 }
5673 }
5674 }
5675 #[doc = "`GetLipSyncDataFileName()` overload"]
5676 fn get_lip_sync_data_file_name(self) -> ::unity::Il2CppString {
5677 unsafe {
5678 let __receiver =
5679 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5680 {
5681 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5682 let __vi = *__vt.get(12usize).unwrap_or_else(|| {
5683 panic!(
5684 "unity: virtual slot {}
5685 out of range (vtable len {}
5686) on the runtime class behind {}
5687 (method `{}
5688`)",
5689 12usize,
5690 __vt.len(),
5691 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5692 "GetLipSyncDataFileName",
5693 )
5694 });
5695 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> ::unity::Il2CppString =
5696 ::core::mem::transmute(__vi.method_ptr);
5697 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5698 __inner(__receiver, __mi)
5699 }
5700 }
5701 }
5702 #[doc = "`IsTemporaryObject()` overload"]
5703 fn is_temporary_object(self) -> bool {
5704 unsafe {
5705 let __receiver =
5706 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5707 ::unity::il2cpp_call!((::unity::module_base()+0x21f0e70usize)as*mut u8,bool;
5708(SoundWwise_SoundHandle)__receiver)
5709 }
5710 }
5711 #[doc = "`SetIsPlaying(bool)` overload"]
5712 fn set_is_playing(self, is_playing: impl ::core::convert::Into<bool>) -> () {
5713 unsafe {
5714 let __receiver =
5715 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5716 ::unity::il2cpp_call!((::unity::module_base()+0x21f0e80usize)as*mut u8,();
5717(SoundWwise_SoundHandle)__receiver,(bool)::core::convert::Into::into(is_playing))
5718 }
5719 }
5720 #[doc = "`SetLipSyncDataFileName(::unity::Il2CppString)` overload"]
5721 fn set_lip_sync_data_file_name(self, lip_sync_data_file_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
5722 unsafe {
5723 let __receiver =
5724 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5725 ::unity::il2cpp_call!((::unity::module_base()+0x21f0e90usize)as*mut u8,();
5726(SoundWwise_SoundHandle)__receiver,(::unity::Il2CppString)::core::convert::Into::into(lip_sync_data_file_name))
5727 }
5728 }
5729 #[doc = "`IsEnable()` overload"]
5730 fn is_enable(self) -> bool {
5731 unsafe {
5732 let __receiver =
5733 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5734 {
5735 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5736 let __vi = *__vt.get(8usize).unwrap_or_else(|| {
5737 panic!(
5738 "unity: virtual slot {}
5739 out of range (vtable len {}
5740) on the runtime class behind {}
5741 (method `{}
5742`)",
5743 8usize,
5744 __vt.len(),
5745 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5746 "IsEnable",
5747 )
5748 });
5749 let __inner: extern "C" fn(SoundWwise_SoundHandle, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__vi.method_ptr);
5750 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5751 __inner(__receiver, __mi)
5752 }
5753 }
5754 }
5755 #[doc = "`Stop(i32)` overload"]
5756 fn stop(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
5757 unsafe {
5758 let __receiver =
5759 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5760 {
5761 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5762 let __vi = *__vt.get(15usize).unwrap_or_else(|| {
5763 panic!(
5764 "unity: virtual slot {}
5765 out of range (vtable len {}
5766) on the runtime class behind {}
5767 (method `{}
5768`)",
5769 15usize,
5770 __vt.len(),
5771 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5772 "Stop",
5773 )
5774 });
5775 let __inner: extern "C" fn(SoundWwise_SoundHandle, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
5776 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5777 __inner(__receiver, ::core::convert::Into::into(fade_msec), __mi)
5778 }
5779 }
5780 }
5781 #[doc = "`Pause(i32)` overload"]
5782 fn pause(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
5783 unsafe {
5784 let __receiver =
5785 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5786 {
5787 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5788 let __vi = *__vt.get(16usize).unwrap_or_else(|| {
5789 panic!(
5790 "unity: virtual slot {}
5791 out of range (vtable len {}
5792) on the runtime class behind {}
5793 (method `{}
5794`)",
5795 16usize,
5796 __vt.len(),
5797 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5798 "Pause",
5799 )
5800 });
5801 let __inner: extern "C" fn(SoundWwise_SoundHandle, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
5802 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5803 __inner(__receiver, ::core::convert::Into::into(fade_msec), __mi)
5804 }
5805 }
5806 }
5807 #[doc = "`Resume(i32)` overload"]
5808 fn resume(self, fade_msec: impl ::core::convert::Into<i32>) -> () {
5809 unsafe {
5810 let __receiver =
5811 <SoundWwise_SoundHandle as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
5812 {
5813 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
5814 let __vi = *__vt.get(17usize).unwrap_or_else(|| {
5815 panic!(
5816 "unity: virtual slot {}
5817 out of range (vtable len {}
5818) on the runtime class behind {}
5819 (method `{}
5820`)",
5821 17usize,
5822 __vt.len(),
5823 <SoundWwise_SoundHandle as ::unity::ClassIdentity>::NAME,
5824 "Resume",
5825 )
5826 });
5827 let __inner: extern "C" fn(SoundWwise_SoundHandle, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
5828 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
5829 __inner(__receiver, ::core::convert::Into::into(fade_msec), __mi)
5830 }
5831 }
5832 }
5833}
5834
5835#[cfg(feature = "app-soundwwise")]
5836impl<__T: ISoundWwise_SoundHandle> ISoundWwise_SoundHandleMethods for __T {}
5837
5838#[cfg(feature = "app-soundwwise")]
5839impl SoundWwise_SoundHandle {
5840 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5841 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
5842 }
5843
5844 pub fn init_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5845 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
5846 }
5847
5848 pub fn get_event_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5849 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
5850 }
5851
5852 pub fn get_event_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5853 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
5854 }
5855
5856 pub fn is_playing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5857 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
5858 }
5859
5860 pub fn get_game_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5861 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
5862 }
5863
5864 pub fn get_playing_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5865 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
5866 }
5867
5868 pub fn get_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5869 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
5870 }
5871
5872 pub fn get_event_character_mouth_controller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5873 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
5874 }
5875
5876 pub fn set_character_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5877 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
5878 }
5879
5880 pub fn set_event_character_mouth_controller_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5881 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
5882 }
5883
5884 pub fn get_lip_sync_data_file_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5885 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
5886 }
5887
5888 pub fn is_temporary_object_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5889 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
5890 }
5891
5892 pub fn set_is_playing_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5893 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
5894 }
5895
5896 pub fn set_lip_sync_data_file_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5897 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
5898 }
5899
5900 pub fn is_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5901 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
5902 }
5903
5904 pub fn stop_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5905 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
5906 }
5907
5908 pub fn pause_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5909 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
5910 }
5911
5912 pub fn resume_method_info() -> &'static ::unity::il2cpp::MethodInfo {
5913 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
5914 }
5915}
5916
5917#[cfg(feature = "app-soundwwise")]
5918impl SoundWwise_SoundHandle {
5919 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `GetEventName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5920 pub unsafe fn get_event_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
5921 let __mi = Self::get_event_name_method_info();
5922 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
5923 __inner(this.into(), ::core::option::Option::None)
5924 }
5925
5926 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `GetEventId`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5927 pub unsafe fn get_event_id(this: impl ::core::convert::Into<::unity::IlInstance>) -> u32 {
5928 let __mi = Self::get_event_id_method_info();
5929 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> u32 = ::core::mem::transmute(__mi.method_ptr);
5930 __inner(this.into(), ::core::option::Option::None)
5931 }
5932
5933 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `IsPlaying`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5934 pub unsafe fn is_playing(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
5935 let __mi = Self::is_playing_method_info();
5936 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
5937 __inner(this.into(), ::core::option::Option::None)
5938 }
5939
5940 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `GetGameObject`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5941 pub unsafe fn get_game_object(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::unity_engine::gameobject::GameObject {
5942 let __mi = Self::get_game_object_method_info();
5943 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::unity_engine::gameobject::GameObject =
5944 ::core::mem::transmute(__mi.method_ptr);
5945 __inner(this.into(), ::core::option::Option::None)
5946 }
5947
5948 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `GetPlayingId`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5949 pub unsafe fn get_playing_id(this: impl ::core::convert::Into<::unity::IlInstance>) -> u32 {
5950 let __mi = Self::get_playing_id_method_info();
5951 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> u32 = ::core::mem::transmute(__mi.method_ptr);
5952 __inner(this.into(), ::core::option::Option::None)
5953 }
5954
5955 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `GetCharacter`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5956 pub unsafe fn get_character(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::combat::character::Character {
5957 let __mi = Self::get_character_method_info();
5958 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::combat::character::Character =
5959 ::core::mem::transmute(__mi.method_ptr);
5960 __inner(this.into(), ::core::option::Option::None)
5961 }
5962
5963 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `GetEventCharacterMouthController`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5964 pub unsafe fn get_event_character_mouth_controller(
5965 this: impl ::core::convert::Into<::unity::IlInstance>,
5966 ) -> crate::app::eventcharactermouthcontroller::EventCharacterMouthController {
5967 let __mi = Self::get_event_character_mouth_controller_method_info();
5968 let __inner: extern "C" fn(
5969 ::unity::IlInstance,
5970 ::unity::OptionalMethod,
5971 ) -> crate::app::eventcharactermouthcontroller::EventCharacterMouthController = ::core::mem::transmute(__mi.method_ptr);
5972 __inner(this.into(), ::core::option::Option::None)
5973 }
5974
5975 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `SetCharacter`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5976 pub unsafe fn set_character(this: impl ::core::convert::Into<::unity::IlInstance>, character: crate::combat::character::Character) -> () {
5977 let __mi = Self::set_character_method_info();
5978 let __inner: extern "C" fn(::unity::IlInstance, crate::combat::character::Character, ::unity::OptionalMethod) -> () =
5979 ::core::mem::transmute(__mi.method_ptr);
5980 __inner(this.into(), character, ::core::option::Option::None)
5981 }
5982
5983 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `SetEventCharacterMouthController`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5984 pub unsafe fn set_event_character_mouth_controller(
5985 this: impl ::core::convert::Into<::unity::IlInstance>,
5986 event_character_mouth_controller: crate::app::eventcharactermouthcontroller::EventCharacterMouthController,
5987 ) -> () {
5988 let __mi = Self::set_event_character_mouth_controller_method_info();
5989 let __inner: extern "C" fn(
5990 ::unity::IlInstance,
5991 crate::app::eventcharactermouthcontroller::EventCharacterMouthController,
5992 ::unity::OptionalMethod,
5993 ) -> () = ::core::mem::transmute(__mi.method_ptr);
5994 __inner(this.into(), event_character_mouth_controller, ::core::option::Option::None)
5995 }
5996
5997 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `GetLipSyncDataFileName`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
5998 pub unsafe fn get_lip_sync_data_file_name(this: impl ::core::convert::Into<::unity::IlInstance>) -> ::unity::Il2CppString {
5999 let __mi = Self::get_lip_sync_data_file_name_method_info();
6000 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> ::unity::Il2CppString = ::core::mem::transmute(__mi.method_ptr);
6001 __inner(this.into(), ::core::option::Option::None)
6002 }
6003
6004 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `IsEnable`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6005 pub unsafe fn is_enable(this: impl ::core::convert::Into<::unity::IlInstance>) -> bool {
6006 let __mi = Self::is_enable_method_info();
6007 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> bool = ::core::mem::transmute(__mi.method_ptr);
6008 __inner(this.into(), ::core::option::Option::None)
6009 }
6010
6011 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `Stop`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6012 pub unsafe fn stop(this: impl ::core::convert::Into<::unity::IlInstance>, fade_msec: i32) -> () {
6013 let __mi = Self::stop_method_info();
6014 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
6015 __inner(this.into(), fade_msec, ::core::option::Option::None)
6016 }
6017
6018 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `Pause`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6019 pub unsafe fn pause(this: impl ::core::convert::Into<::unity::IlInstance>, fade_msec: i32) -> () {
6020 let __mi = Self::pause_method_info();
6021 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
6022 __inner(this.into(), fade_msec, ::core::option::Option::None)
6023 }
6024
6025 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundHandle`'s own `Resume`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6026 pub unsafe fn resume(this: impl ::core::convert::Into<::unity::IlInstance>, fade_msec: i32) -> () {
6027 let __mi = Self::resume_method_info();
6028 let __inner: extern "C" fn(::unity::IlInstance, i32, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
6029 __inner(this.into(), fade_msec, ::core::option::Option::None)
6030 }
6031}
6032
6033#[cfg(feature = "app-soundwwise")]
6034impl SoundWwise_SoundHandle {
6035 #[doc = "`.ctor()` — no args"]
6036 pub fn new() -> Self {
6037 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
6038 panic!(
6039 "{}
6040::{}
6041 failed to instantiate",
6042 ::core::stringify!(SoundWwise_SoundHandle),
6043 ::core::stringify!(new),
6044 )
6045 });
6046 <Self as ISoundWwise_SoundHandleMethods>::ctor(this);
6047 this
6048 }
6049}
6050
6051#[cfg(feature = "app-soundwwise")]
6052pub trait ISoundWwise_SoundPrepareManager_SwitchParamMethods: ISoundWwise_SoundPrepareManager_SwitchParam {
6053 #[doc = "`.ctor(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
6054 fn ctor(
6055 self,
6056 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
6057 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
6058 ) -> () {
6059 unsafe {
6060 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParam as ::unity::FromIlInstance>::from_il_instance(
6061 <Self as ::unity::SystemObject>::as_instance(self),
6062 );
6063 ::unity::il2cpp_call!((::unity::module_base()+0x22f0d80usize)as*mut u8,();
6064(SoundWwise_SoundPrepareManager_SwitchParam)__receiver,(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(switch_name))
6065 }
6066 }
6067 #[doc = "`GetSwitchGroupName()` overload"]
6068 fn get_switch_group_name(self) -> ::unity::Il2CppString {
6069 unsafe {
6070 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParam as ::unity::FromIlInstance>::from_il_instance(
6071 <Self as ::unity::SystemObject>::as_instance(self),
6072 );
6073 ::unity::il2cpp_call!((::unity::module_base()+0x22f0dd0usize)as*mut u8, ::unity::Il2CppString;
6074(SoundWwise_SoundPrepareManager_SwitchParam)__receiver)
6075 }
6076 }
6077 #[doc = "`GetSwitchName()` overload"]
6078 fn get_switch_name(self) -> ::unity::Il2CppString {
6079 unsafe {
6080 let __receiver = <SoundWwise_SoundPrepareManager_SwitchParam as ::unity::FromIlInstance>::from_il_instance(
6081 <Self as ::unity::SystemObject>::as_instance(self),
6082 );
6083 ::unity::il2cpp_call!((::unity::module_base()+0x22f0de0usize)as*mut u8, ::unity::Il2CppString;
6084(SoundWwise_SoundPrepareManager_SwitchParam)__receiver)
6085 }
6086 }
6087}
6088
6089#[cfg(feature = "app-soundwwise")]
6090impl<__T: ISoundWwise_SoundPrepareManager_SwitchParam> ISoundWwise_SoundPrepareManager_SwitchParamMethods for __T {}
6091
6092#[cfg(feature = "app-soundwwise")]
6093impl SoundWwise_SoundPrepareManager_SwitchParam {
6094 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6095 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
6096 }
6097
6098 pub fn get_switch_group_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6099 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
6100 }
6101
6102 pub fn get_switch_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6103 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
6104 }
6105}
6106
6107#[cfg(feature = "app-soundwwise")]
6108impl SoundWwise_SoundPrepareManager_SwitchParam {
6109 #[doc = "`.ctor(::unity::Il2CppString, ::unity::Il2CppString)` — overload selector"]
6110 pub fn new(switch_group_name: ::unity::Il2CppString, switch_name: ::unity::Il2CppString) -> Self {
6111 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
6112 panic!(
6113 "{}
6114::{}
6115 failed to instantiate",
6116 ::core::stringify!(SoundWwise_SoundPrepareManager_SwitchParam),
6117 ::core::stringify!(new),
6118 )
6119 });
6120 <Self as ISoundWwise_SoundPrepareManager_SwitchParamMethods>::ctor(this, switch_group_name, switch_name);
6121 this
6122 }
6123}
6124
6125#[cfg(feature = "app-soundwwise")]
6126pub trait ISoundWwise_SoundPrepareManager_SwitchGroupParamListMethods: ISoundWwise_SoundPrepareManager_SwitchGroupParamList {
6127 #[doc = "`IncRef(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
6128 fn inc_ref(
6129 self,
6130 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
6131 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
6132 ) -> bool {
6133 unsafe {
6134 let __receiver = <SoundWwise_SoundPrepareManager_SwitchGroupParamList as ::unity::FromIlInstance>::from_il_instance(
6135 <Self as ::unity::SystemObject>::as_instance(self),
6136 );
6137 ::unity::il2cpp_call!((::unity::module_base()+0x22f0500usize)as*mut u8,bool;
6138(SoundWwise_SoundPrepareManager_SwitchGroupParamList)__receiver,(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(switch_name))
6139 }
6140 }
6141 #[doc = "`DecRef(::unity::Il2CppString, ::unity::Il2CppString)` overload"]
6142 fn dec_ref(
6143 self,
6144 switch_group_name: impl ::core::convert::Into<::unity::Il2CppString>,
6145 switch_name: impl ::core::convert::Into<::unity::Il2CppString>,
6146 ) -> bool {
6147 unsafe {
6148 let __receiver = <SoundWwise_SoundPrepareManager_SwitchGroupParamList as ::unity::FromIlInstance>::from_il_instance(
6149 <Self as ::unity::SystemObject>::as_instance(self),
6150 );
6151 ::unity::il2cpp_call!((::unity::module_base()+0x22f07c0usize)as*mut u8,bool;
6152(SoundWwise_SoundPrepareManager_SwitchGroupParamList)__receiver,(::unity::Il2CppString)::core::convert::Into::into(switch_group_name),(::unity::Il2CppString)::core::convert::Into::into(switch_name))
6153 }
6154 }
6155 #[doc = "`Clear()` overload"]
6156 fn clear(self) -> () {
6157 unsafe {
6158 let __receiver = <SoundWwise_SoundPrepareManager_SwitchGroupParamList as ::unity::FromIlInstance>::from_il_instance(
6159 <Self as ::unity::SystemObject>::as_instance(self),
6160 );
6161 ::unity::il2cpp_call!((::unity::module_base()+0x22f0990usize)as*mut u8,();
6162(SoundWwise_SoundPrepareManager_SwitchGroupParamList)__receiver)
6163 }
6164 }
6165 #[doc = "`.ctor()` overload"]
6166 fn ctor(self) -> () {
6167 unsafe {
6168 let __receiver = <SoundWwise_SoundPrepareManager_SwitchGroupParamList as ::unity::FromIlInstance>::from_il_instance(
6169 <Self as ::unity::SystemObject>::as_instance(self),
6170 );
6171 ::unity::il2cpp_call!((::unity::module_base()+0x22f0cf0usize)as*mut u8,();
6172(SoundWwise_SoundPrepareManager_SwitchGroupParamList)__receiver)
6173 }
6174 }
6175}
6176
6177#[cfg(feature = "app-soundwwise")]
6178impl<__T: ISoundWwise_SoundPrepareManager_SwitchGroupParamList> ISoundWwise_SoundPrepareManager_SwitchGroupParamListMethods for __T {}
6179
6180#[cfg(feature = "app-soundwwise")]
6181impl SoundWwise_SoundPrepareManager_SwitchGroupParamList {
6182 pub fn inc_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6183 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
6184 }
6185
6186 pub fn dec_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6187 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
6188 }
6189
6190 pub fn clear_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6191 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
6192 }
6193
6194 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6195 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
6196 }
6197}
6198
6199#[cfg(feature = "app-soundwwise")]
6200impl SoundWwise_SoundPrepareManager_SwitchGroupParamList {
6201 #[doc = "`.ctor()` — no args"]
6202 pub fn new() -> Self {
6203 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
6204 panic!(
6205 "{}
6206::{}
6207 failed to instantiate",
6208 ::core::stringify!(SoundWwise_SoundPrepareManager_SwitchGroupParamList),
6209 ::core::stringify!(new),
6210 )
6211 });
6212 <Self as ISoundWwise_SoundPrepareManager_SwitchGroupParamListMethods>::ctor(this);
6213 this
6214 }
6215}
6216
6217#[cfg(feature = "app-soundwwise")]
6218impl SoundWwise_SoundBankManager {
6219 #[doc = "`Create()` overload"]
6220 pub fn create() -> () {
6221 unsafe {
6222 ::unity::il2cpp_call!((::unity::module_base()+0x1d7e780usize)as*mut u8,();
6223 )
6224 }
6225 }
6226
6227 #[doc = "`LoadBank(::unity::Il2CppString)` overload"]
6228 pub fn load_bank(name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
6229 unsafe {
6230 ::unity::il2cpp_call!((::unity::module_base()+0x1d7e950usize)as*mut u8,bool;
6231(::unity::Il2CppString)::core::convert::Into::into(name))
6232 }
6233 }
6234
6235 #[doc = "`LoadBankAsync(::unity::Il2CppString)` overload"]
6236 pub fn load_bank_async(name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
6237 unsafe {
6238 ::unity::il2cpp_call!((::unity::module_base()+0x1d7eae0usize)as*mut u8,bool;
6239(::unity::Il2CppString)::core::convert::Into::into(name))
6240 }
6241 }
6242
6243 #[doc = "`IsLoading()` overload"]
6244 pub fn is_loading() -> bool {
6245 unsafe {
6246 ::unity::il2cpp_call!((::unity::module_base()+0x1d7ec70usize)as*mut u8,bool;
6247 )
6248 }
6249 }
6250
6251 #[doc = "`UnloadBank(::unity::Il2CppString)` overload"]
6252 pub fn unload_bank(name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
6253 unsafe {
6254 ::unity::il2cpp_call!((::unity::module_base()+0x1d7ee50usize)as*mut u8,();
6255(::unity::Il2CppString)::core::convert::Into::into(name))
6256 }
6257 }
6258
6259 #[doc = "`UnloadAllBanks()` overload"]
6260 pub fn unload_all_banks() -> () {
6261 unsafe {
6262 ::unity::il2cpp_call!((::unity::module_base()+0x1d7efb0usize)as*mut u8,();
6263 )
6264 }
6265 }
6266
6267 #[doc = "`Cleanup()` overload"]
6268 pub fn cleanup() -> () {
6269 unsafe {
6270 ::unity::il2cpp_call!((::unity::module_base()+0x1d7f150usize)as*mut u8,();
6271 )
6272 }
6273 }
6274
6275 #[doc = "`ReloadBankBySetLanguage(crate::app::language::Language_Voices)` overload"]
6276 pub fn reload_bank_by_set_language(language: impl ::core::convert::Into<crate::app::language::Language_Voices>) -> () {
6277 unsafe {
6278 ::unity::il2cpp_call!((::unity::module_base()+0x1d7f310usize)as*mut u8,();
6279(crate::app::language::Language_Voices)::core::convert::Into::into(language))
6280 }
6281 }
6282
6283 #[doc = "`GetState(::unity::Il2CppString)` overload"]
6284 pub fn get_state(name: impl ::core::convert::Into<::unity::Il2CppString>) -> crate::app::soundwwise::SoundWwise_SoundBankManager_States {
6285 unsafe {
6286 ::unity::il2cpp_call!((::unity::module_base()+0x1d7f6b0usize)as*mut u8,crate::app::soundwwise::SoundWwise_SoundBankManager_States;
6287(::unity::Il2CppString)::core::convert::Into::into(name))
6288 }
6289 }
6290}
6291
6292#[cfg(feature = "app-soundwwise")]
6293pub trait ISoundWwise_SoundBankManagerMethods: ISoundWwise_SoundBankManager {
6294 #[doc = "`OnTick()` overload"]
6295 fn on_tick(self) -> () {
6296 unsafe {
6297 let __receiver =
6298 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6299 {
6300 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
6301 let __vi = *__vt.get(6usize).unwrap_or_else(|| {
6302 panic!(
6303 "unity: virtual slot {}
6304 out of range (vtable len {}
6305) on the runtime class behind {}
6306 (method `{}
6307`)",
6308 6usize,
6309 __vt.len(),
6310 <SoundWwise_SoundBankManager as ::unity::ClassIdentity>::NAME,
6311 "OnTick",
6312 )
6313 });
6314 let __inner: extern "C" fn(SoundWwise_SoundBankManager, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
6315 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
6316 __inner(__receiver, __mi)
6317 }
6318 }
6319 }
6320 #[doc = "`OnDispose()` overload"]
6321 fn on_dispose(self) -> () {
6322 unsafe {
6323 let __receiver =
6324 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6325 {
6326 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
6327 let __vi = *__vt.get(10usize).unwrap_or_else(|| {
6328 panic!(
6329 "unity: virtual slot {}
6330 out of range (vtable len {}
6331) on the runtime class behind {}
6332 (method `{}
6333`)",
6334 10usize,
6335 __vt.len(),
6336 <SoundWwise_SoundBankManager as ::unity::ClassIdentity>::NAME,
6337 "OnDispose",
6338 )
6339 });
6340 let __inner: extern "C" fn(SoundWwise_SoundBankManager, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
6341 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
6342 __inner(__receiver, __mi)
6343 }
6344 }
6345 }
6346 #[doc = "`LoadBankImpl(::unity::Il2CppString)` overload"]
6347 fn load_bank_impl(self, bank_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
6348 unsafe {
6349 let __receiver =
6350 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6351 ::unity::il2cpp_call!((::unity::module_base()+0x1d7e9e0usize)as*mut u8,bool;
6352(SoundWwise_SoundBankManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bank_name))
6353 }
6354 }
6355 #[doc = "`LoadBankAsyncImpl(::unity::Il2CppString)` overload"]
6356 fn load_bank_async_impl(self, bank_name: impl ::core::convert::Into<::unity::Il2CppString>) -> bool {
6357 unsafe {
6358 let __receiver =
6359 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6360 ::unity::il2cpp_call!((::unity::module_base()+0x1d7eb70usize)as*mut u8,bool;
6361(SoundWwise_SoundBankManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bank_name))
6362 }
6363 }
6364 #[doc = "`IsLoadingImpl()` overload"]
6365 fn is_loading_impl(self) -> bool {
6366 unsafe {
6367 let __receiver =
6368 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6369 ::unity::il2cpp_call!((::unity::module_base()+0x1d7ecf0usize)as*mut u8,bool;
6370(SoundWwise_SoundBankManager)__receiver)
6371 }
6372 }
6373 #[doc = "`UnloadBankImpl(::unity::Il2CppString)` overload"]
6374 fn unload_bank_impl(self, bank_name: impl ::core::convert::Into<::unity::Il2CppString>) -> () {
6375 unsafe {
6376 let __receiver =
6377 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6378 ::unity::il2cpp_call!((::unity::module_base()+0x1d7ef30usize)as*mut u8,();
6379(SoundWwise_SoundBankManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bank_name))
6380 }
6381 }
6382 #[doc = "`UnloadBankImpl(crate::app::soundwwise::SoundWwise_SoundBankManager_BankHandle)` overload"]
6383 fn unload_bank_impl_2(self, handle: impl ::core::convert::Into<crate::app::soundwwise::SoundWwise_SoundBankManager_BankHandle>) -> () {
6384 unsafe {
6385 let __receiver =
6386 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6387 ::unity::il2cpp_call!((::unity::module_base()+0x1d7faa0usize)as*mut u8,();
6388(SoundWwise_SoundBankManager)__receiver,(crate::app::soundwwise::SoundWwise_SoundBankManager_BankHandle)::core::convert::Into::into(handle))
6389 }
6390 }
6391 #[doc = "`UnloadAllBanksImpl()` overload"]
6392 fn unload_all_banks_impl(self) -> () {
6393 unsafe {
6394 let __receiver =
6395 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6396 ::unity::il2cpp_call!((::unity::module_base()+0x1d7f030usize)as*mut u8,();
6397(SoundWwise_SoundBankManager)__receiver)
6398 }
6399 }
6400 #[doc = "`CleanupImpl()` overload"]
6401 fn cleanup_impl(self) -> () {
6402 unsafe {
6403 let __receiver =
6404 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6405 ::unity::il2cpp_call!((::unity::module_base()+0x1d7f1d0usize)as*mut u8,();
6406(SoundWwise_SoundBankManager)__receiver)
6407 }
6408 }
6409 #[doc = "`ReloadImpl(crate::app::language::Language_Voices)` overload"]
6410 fn reload_impl(self, language: impl ::core::convert::Into<crate::app::language::Language_Voices>) -> () {
6411 unsafe {
6412 let __receiver =
6413 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6414 ::unity::il2cpp_call!((::unity::module_base()+0x1d7f3a0usize)as*mut u8,();
6415(SoundWwise_SoundBankManager)__receiver,(crate::app::language::Language_Voices)::core::convert::Into::into(language))
6416 }
6417 }
6418 #[doc = "`GetStateImpl(::unity::Il2CppString)` overload"]
6419 fn get_state_impl(
6420 self,
6421 bank_name: impl ::core::convert::Into<::unity::Il2CppString>,
6422 ) -> crate::app::soundwwise::SoundWwise_SoundBankManager_States {
6423 unsafe {
6424 let __receiver =
6425 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6426 ::unity::il2cpp_call!((::unity::module_base()+0x1d7f790usize)as*mut u8,crate::app::soundwwise::SoundWwise_SoundBankManager_States;
6427(SoundWwise_SoundBankManager)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bank_name))
6428 }
6429 }
6430 #[doc = "`.ctor()` overload"]
6431 fn ctor(self) -> () {
6432 unsafe {
6433 let __receiver =
6434 <SoundWwise_SoundBankManager as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
6435 ::unity::il2cpp_call!((::unity::module_base()+0x1d7e820usize)as*mut u8,();
6436(SoundWwise_SoundBankManager)__receiver)
6437 }
6438 }
6439}
6440
6441#[cfg(feature = "app-soundwwise")]
6442impl<__T: ISoundWwise_SoundBankManager> ISoundWwise_SoundBankManagerMethods for __T {}
6443
6444#[cfg(feature = "app-soundwwise")]
6445impl SoundWwise_SoundBankManager {
6446 pub fn create_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6447 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
6448 }
6449
6450 pub fn load_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6451 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
6452 }
6453
6454 pub fn load_bank_async_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6455 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
6456 }
6457
6458 pub fn is_loading_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6459 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
6460 }
6461
6462 pub fn unload_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6463 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
6464 }
6465
6466 pub fn unload_all_banks_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6467 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
6468 }
6469
6470 pub fn cleanup_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6471 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
6472 }
6473
6474 pub fn reload_bank_by_set_language_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6475 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
6476 }
6477
6478 pub fn get_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6479 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
6480 }
6481
6482 pub fn on_tick_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6483 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
6484 }
6485
6486 pub fn on_dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6487 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
6488 }
6489
6490 pub fn load_bank_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6491 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
6492 }
6493
6494 pub fn load_bank_async_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6495 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
6496 }
6497
6498 pub fn is_loading_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6499 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
6500 }
6501
6502 pub fn unload_bank_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6503 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
6504 }
6505
6506 pub fn unload_bank_impl_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6507 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
6508 }
6509
6510 pub fn unload_all_banks_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6511 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
6512 }
6513
6514 pub fn cleanup_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6515 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
6516 }
6517
6518 pub fn reload_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6519 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
6520 }
6521
6522 pub fn get_state_impl_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6523 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
6524 }
6525
6526 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6527 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
6528 }
6529}
6530
6531#[cfg(feature = "app-soundwwise")]
6532impl SoundWwise_SoundBankManager {
6533 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundBankManager`'s own `OnTick`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6534 pub unsafe fn on_tick(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
6535 let __mi = Self::on_tick_method_info();
6536 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
6537 __inner(this.into(), ::core::option::Option::None)
6538 }
6539
6540 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundBankManager`'s own `OnDispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6541 pub unsafe fn on_dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
6542 let __mi = Self::on_dispose_method_info();
6543 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
6544 __inner(this.into(), ::core::option::Option::None)
6545 }
6546}
6547
6548#[cfg(feature = "app-soundwwise")]
6549impl SoundWwise_SoundBankManager {
6550 #[doc = "`.ctor()` — no args"]
6551 pub fn new() -> Self {
6552 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
6553 panic!(
6554 "{}
6555::{}
6556 failed to instantiate",
6557 ::core::stringify!(SoundWwise_SoundBankManager),
6558 ::core::stringify!(new),
6559 )
6560 });
6561 <Self as ISoundWwise_SoundBankManagerMethods>::ctor(this);
6562 this
6563 }
6564}
6565
6566#[cfg(feature = "app-soundwwise")]
6567pub trait ISoundWwise_SoundPrepareManager_ParamMethods: ISoundWwise_SoundPrepareManager_Param {
6568 #[doc = "`IncRef()` overload"]
6569 fn inc_ref(self) -> bool {
6570 unsafe {
6571 let __receiver = <SoundWwise_SoundPrepareManager_Param as ::unity::FromIlInstance>::from_il_instance(
6572 <Self as ::unity::SystemObject>::as_instance(self),
6573 );
6574 ::unity::il2cpp_call!((::unity::module_base()+0x22f0160usize)as*mut u8,bool;
6575(SoundWwise_SoundPrepareManager_Param)__receiver)
6576 }
6577 }
6578 #[doc = "`DecRef()` overload"]
6579 fn dec_ref(self) -> bool {
6580 unsafe {
6581 let __receiver = <SoundWwise_SoundPrepareManager_Param as ::unity::FromIlInstance>::from_il_instance(
6582 <Self as ::unity::SystemObject>::as_instance(self),
6583 );
6584 ::unity::il2cpp_call!((::unity::module_base()+0x22f0240usize)as*mut u8,bool;
6585(SoundWwise_SoundPrepareManager_Param)__receiver)
6586 }
6587 }
6588 #[doc = "`.ctor()` overload"]
6589 fn ctor(self) -> () {
6590 unsafe {
6591 let __receiver = <SoundWwise_SoundPrepareManager_Param as ::unity::FromIlInstance>::from_il_instance(
6592 <Self as ::unity::SystemObject>::as_instance(self),
6593 );
6594 ::unity::il2cpp_call!((::unity::module_base()+0x22f0050usize)as*mut u8,();
6595(SoundWwise_SoundPrepareManager_Param)__receiver)
6596 }
6597 }
6598}
6599
6600#[cfg(feature = "app-soundwwise")]
6601impl<__T: ISoundWwise_SoundPrepareManager_Param> ISoundWwise_SoundPrepareManager_ParamMethods for __T {}
6602
6603#[cfg(feature = "app-soundwwise")]
6604impl SoundWwise_SoundPrepareManager_Param {
6605 pub fn inc_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6606 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
6607 }
6608
6609 pub fn dec_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6610 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
6611 }
6612
6613 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6614 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
6615 }
6616}
6617
6618#[cfg(feature = "app-soundwwise")]
6619impl SoundWwise_SoundPrepareManager_Param {
6620 #[doc = "`.ctor()` — no args"]
6621 pub fn new() -> Self {
6622 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
6623 panic!(
6624 "{}
6625::{}
6626 failed to instantiate",
6627 ::core::stringify!(SoundWwise_SoundPrepareManager_Param),
6628 ::core::stringify!(new),
6629 )
6630 });
6631 <Self as ISoundWwise_SoundPrepareManager_ParamMethods>::ctor(this);
6632 this
6633 }
6634}
6635
6636#[cfg(feature = "app-soundwwise")]
6637pub trait ISoundWwise_SoundBankManager_BankHandleMethods: ISoundWwise_SoundBankManager_BankHandle {
6638 #[doc = "`.ctor(::unity::Il2CppString, bool)` overload"]
6639 fn ctor(self, bank_name: impl ::core::convert::Into<::unity::Il2CppString>, is_prepare_load: impl ::core::convert::Into<bool>) -> () {
6640 unsafe {
6641 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6642 <Self as ::unity::SystemObject>::as_instance(self),
6643 );
6644 ::unity::il2cpp_call!((::unity::module_base()+0x22ef7e0usize)as*mut u8,();
6645(SoundWwise_SoundBankManager_BankHandle)__receiver,(::unity::Il2CppString)::core::convert::Into::into(bank_name),(bool)::core::convert::Into::into(is_prepare_load))
6646 }
6647 }
6648 #[doc = "`LoadBank()` overload"]
6649 fn load_bank(self) -> bool {
6650 unsafe {
6651 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6652 <Self as ::unity::SystemObject>::as_instance(self),
6653 );
6654 ::unity::il2cpp_call!((::unity::module_base()+0x22efad0usize)as*mut u8,bool;
6655(SoundWwise_SoundBankManager_BankHandle)__receiver)
6656 }
6657 }
6658 #[doc = "`UnloadBank()` overload"]
6659 fn unload_bank(self) -> () {
6660 unsafe {
6661 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6662 <Self as ::unity::SystemObject>::as_instance(self),
6663 );
6664 ::unity::il2cpp_call!((::unity::module_base()+0x22efb90usize)as*mut u8,();
6665(SoundWwise_SoundBankManager_BankHandle)__receiver)
6666 }
6667 }
6668 #[doc = "`IncRef()` overload"]
6669 fn inc_ref(self) -> () {
6670 unsafe {
6671 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6672 <Self as ::unity::SystemObject>::as_instance(self),
6673 );
6674 ::unity::il2cpp_call!((::unity::module_base()+0x22efb80usize)as*mut u8,();
6675(SoundWwise_SoundBankManager_BankHandle)__receiver)
6676 }
6677 }
6678 #[doc = "`DecRef()` overload"]
6679 fn dec_ref(self) -> () {
6680 unsafe {
6681 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6682 <Self as ::unity::SystemObject>::as_instance(self),
6683 );
6684 ::unity::il2cpp_call!((::unity::module_base()+0x22efba0usize)as*mut u8,();
6685(SoundWwise_SoundBankManager_BankHandle)__receiver)
6686 }
6687 }
6688 #[doc = "`get_BankName()` overload"]
6689 fn get_bank_name(self) -> ::unity::Il2CppString {
6690 unsafe {
6691 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6692 <Self as ::unity::SystemObject>::as_instance(self),
6693 );
6694 ::unity::il2cpp_call!((::unity::module_base()+0x22efbb0usize)as*mut u8, ::unity::Il2CppString;
6695(SoundWwise_SoundBankManager_BankHandle)__receiver)
6696 }
6697 }
6698 #[doc = "`get_RefCount()` overload"]
6699 fn get_ref_count(self) -> i32 {
6700 unsafe {
6701 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6702 <Self as ::unity::SystemObject>::as_instance(self),
6703 );
6704 ::unity::il2cpp_call!((::unity::module_base()+0x22efbc0usize)as*mut u8,i32;
6705(SoundWwise_SoundBankManager_BankHandle)__receiver)
6706 }
6707 }
6708 #[doc = "`get_State()` overload"]
6709 fn get_state(self) -> crate::app::soundwwise::SoundWwise_SoundBankManager_States {
6710 unsafe {
6711 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6712 <Self as ::unity::SystemObject>::as_instance(self),
6713 );
6714 ::unity::il2cpp_call!((::unity::module_base()+0x22efbd0usize)as*mut u8,crate::app::soundwwise::SoundWwise_SoundBankManager_States;
6715(SoundWwise_SoundBankManager_BankHandle)__receiver)
6716 }
6717 }
6718 #[doc = "`set_State(crate::app::soundwwise::SoundWwise_SoundBankManager_States)` overload"]
6719 fn set_state(self, value: impl ::core::convert::Into<crate::app::soundwwise::SoundWwise_SoundBankManager_States>) -> () {
6720 unsafe {
6721 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6722 <Self as ::unity::SystemObject>::as_instance(self),
6723 );
6724 ::unity::il2cpp_call!((::unity::module_base()+0x22efbe0usize)as*mut u8,();
6725(SoundWwise_SoundBankManager_BankHandle)__receiver,(crate::app::soundwwise::SoundWwise_SoundBankManager_States)::core::convert::Into::into(value))
6726 }
6727 }
6728 #[doc = "`get_InternalState()` overload"]
6729 fn get_internal_state(self) -> crate::app::soundwwise::SoundWwise_SoundBankManager_InternalStates {
6730 unsafe {
6731 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6732 <Self as ::unity::SystemObject>::as_instance(self),
6733 );
6734 ::unity::il2cpp_call!((::unity::module_base()+0x22efbf0usize)as*mut u8,crate::app::soundwwise::SoundWwise_SoundBankManager_InternalStates;
6735(SoundWwise_SoundBankManager_BankHandle)__receiver)
6736 }
6737 }
6738 #[doc = "`DoLoadBank()` overload"]
6739 fn do_load_bank(self) -> crate::root::akresult::AKRESULT {
6740 unsafe {
6741 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6742 <Self as ::unity::SystemObject>::as_instance(self),
6743 );
6744 {
6745 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
6746 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
6747 panic!(
6748 "unity: virtual slot {}
6749 out of range (vtable len {}
6750) on the runtime class behind {}
6751 (method `{}
6752`)",
6753 4usize,
6754 __vt.len(),
6755 <SoundWwise_SoundBankManager_BankHandle as ::unity::ClassIdentity>::NAME,
6756 "DoLoadBank",
6757 )
6758 });
6759 let __inner: extern "C" fn(SoundWwise_SoundBankManager_BankHandle, ::unity::OptionalMethod) -> crate::root::akresult::AKRESULT =
6760 ::core::mem::transmute(__vi.method_ptr);
6761 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
6762 __inner(__receiver, __mi)
6763 }
6764 }
6765 }
6766 #[doc = "`DoUnloadBank()` overload"]
6767 fn do_unload_bank(self) -> () {
6768 unsafe {
6769 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6770 <Self as ::unity::SystemObject>::as_instance(self),
6771 );
6772 {
6773 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
6774 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
6775 panic!(
6776 "unity: virtual slot {}
6777 out of range (vtable len {}
6778) on the runtime class behind {}
6779 (method `{}
6780`)",
6781 5usize,
6782 __vt.len(),
6783 <SoundWwise_SoundBankManager_BankHandle as ::unity::ClassIdentity>::NAME,
6784 "DoUnloadBank",
6785 )
6786 });
6787 let __inner: extern "C" fn(SoundWwise_SoundBankManager_BankHandle, ::unity::OptionalMethod) -> () =
6788 ::core::mem::transmute(__vi.method_ptr);
6789 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
6790 __inner(__receiver, __mi)
6791 }
6792 }
6793 }
6794 #[doc = "`LogLoadResult(crate::root::akresult::AKRESULT)` overload"]
6795 fn log_load_result(self, result: impl ::core::convert::Into<crate::root::akresult::AKRESULT>) -> () {
6796 unsafe {
6797 let __receiver = <SoundWwise_SoundBankManager_BankHandle as ::unity::FromIlInstance>::from_il_instance(
6798 <Self as ::unity::SystemObject>::as_instance(self),
6799 );
6800 ::unity::il2cpp_call!((::unity::module_base()+0x22efa40usize)as*mut u8,();
6801(SoundWwise_SoundBankManager_BankHandle)__receiver,(crate::root::akresult::AKRESULT)::core::convert::Into::into(result))
6802 }
6803 }
6804}
6805
6806#[cfg(feature = "app-soundwwise")]
6807impl<__T: ISoundWwise_SoundBankManager_BankHandle> ISoundWwise_SoundBankManager_BankHandleMethods for __T {}
6808
6809#[cfg(feature = "app-soundwwise")]
6810impl SoundWwise_SoundBankManager_BankHandle {
6811 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6812 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
6813 }
6814
6815 pub fn load_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6816 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
6817 }
6818
6819 pub fn unload_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6820 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
6821 }
6822
6823 pub fn inc_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6824 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
6825 }
6826
6827 pub fn dec_ref_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6828 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
6829 }
6830
6831 pub fn get_bank_name_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6832 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
6833 }
6834
6835 pub fn get_ref_count_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6836 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
6837 }
6838
6839 pub fn get_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6840 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
6841 }
6842
6843 pub fn set_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6844 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
6845 }
6846
6847 pub fn get_internal_state_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6848 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
6849 }
6850
6851 pub fn do_load_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6852 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
6853 }
6854
6855 pub fn do_unload_bank_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6856 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
6857 }
6858
6859 pub fn log_load_result_method_info() -> &'static ::unity::il2cpp::MethodInfo {
6860 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
6861 }
6862}
6863
6864#[cfg(feature = "app-soundwwise")]
6865impl SoundWwise_SoundBankManager_BankHandle {
6866 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundBankManager_BankHandle`'s own `DoLoadBank`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6867 pub unsafe fn do_load_bank(this: impl ::core::convert::Into<::unity::IlInstance>) -> crate::root::akresult::AKRESULT {
6868 let __mi = Self::do_load_bank_method_info();
6869 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> crate::root::akresult::AKRESULT =
6870 ::core::mem::transmute(__mi.method_ptr);
6871 __inner(this.into(), ::core::option::Option::None)
6872 }
6873
6874 #[doc = "Direct (non-virtual) call to `SoundWwise_SoundBankManager_BankHandle`'s own `DoUnloadBank`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
6875 pub unsafe fn do_unload_bank(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
6876 let __mi = Self::do_unload_bank_method_info();
6877 let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
6878 __inner(this.into(), ::core::option::Option::None)
6879 }
6880}
6881
6882#[cfg(feature = "app-soundwwise")]
6883impl SoundWwise_SoundBankManager_BankHandle {
6884 #[doc = "`.ctor(::unity::Il2CppString, bool)` — overload selector"]
6885 pub fn new(bank_name: ::unity::Il2CppString, is_prepare_load: bool) -> Self {
6886 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
6887 panic!(
6888 "{}
6889::{}
6890 failed to instantiate",
6891 ::core::stringify!(SoundWwise_SoundBankManager_BankHandle),
6892 ::core::stringify!(new),
6893 )
6894 });
6895 <Self as ISoundWwise_SoundBankManager_BankHandleMethods>::ctor(this, bank_name, is_prepare_load);
6896 this
6897 }
6898}
6899
6900#[cfg(feature = "app-soundwwise")]
6901#[doc(hidden)]
6902pub mod prelude {
6903 pub use super::{
6904 ISoundWwise, ISoundWwiseMethods, ISoundWwise_SoundBankManager, ISoundWwise_SoundBankManagerMethods,
6905 ISoundWwise_SoundBankManager_AsyncBankHandle, ISoundWwise_SoundBankManager_AsyncBankHandleMethods, ISoundWwise_SoundBankManager_BankHandle,
6906 ISoundWwise_SoundBankManager_BankHandleMethods, ISoundWwise_SoundHandle, ISoundWwise_SoundHandleMethods, ISoundWwise_SoundLoad,
6907 ISoundWwise_SoundLoadMethods, ISoundWwise_SoundParam, ISoundWwise_SoundParamMethods, ISoundWwise_SoundPlay, ISoundWwise_SoundPlayMethods,
6908 ISoundWwise_SoundPlay_GameObjectPool, ISoundWwise_SoundPlay_GameObjectPoolMethods, ISoundWwise_SoundPrepareManager,
6909 ISoundWwise_SoundPrepareManagerMethods, ISoundWwise_SoundPrepareManager_EventParam, ISoundWwise_SoundPrepareManager_EventParamList,
6910 ISoundWwise_SoundPrepareManager_EventParamListMethods, ISoundWwise_SoundPrepareManager_EventParamMethods,
6911 ISoundWwise_SoundPrepareManager_Param, ISoundWwise_SoundPrepareManager_ParamMethods, ISoundWwise_SoundPrepareManager_SwitchGroupParamList,
6912 ISoundWwise_SoundPrepareManager_SwitchGroupParamListMethods, ISoundWwise_SoundPrepareManager_SwitchParam,
6913 ISoundWwise_SoundPrepareManager_SwitchParamList, ISoundWwise_SoundPrepareManager_SwitchParamListMethods,
6914 ISoundWwise_SoundPrepareManager_SwitchParamMethods, SoundWwise, SoundWwise_SoundBankManager, SoundWwise_SoundBankManager_AsyncBankHandle,
6915 SoundWwise_SoundBankManager_BankHandle, SoundWwise_SoundBankManager_InternalStates, SoundWwise_SoundBankManager_States,
6916 SoundWwise_SoundHandle, SoundWwise_SoundLoad, SoundWwise_SoundParam, SoundWwise_SoundPlay, SoundWwise_SoundPlay_GameObjectPool,
6917 SoundWwise_SoundPrepareManager, SoundWwise_SoundPrepareManager_EventParam, SoundWwise_SoundPrepareManager_EventParamList,
6918 SoundWwise_SoundPrepareManager_Param, SoundWwise_SoundPrepareManager_SwitchGroupParamList, SoundWwise_SoundPrepareManager_SwitchParam,
6919 SoundWwise_SoundPrepareManager_SwitchParamList,
6920 };
6921 #[cfg(feature = "app-procinst")]
6922 pub use crate::app::procinst::IProcInstMethods;
6923 #[cfg(feature = "app-singletonprocinst_1")]
6924 pub use crate::app::singletonprocinst_1::ISingletonProcInst_1Methods;
6925 #[cfg(feature = "app-soundsystem")]
6926 pub use crate::app::soundsystem::ISoundSystem_SoundHandleMethods;
6927 #[cfg(feature = "system-object")]
6928 pub use crate::system::object::IObjectMethods;
6929 #[cfg(feature = "system-enum")]
6930 pub use crate::system::r#enum::IEnumMethods;
6931 #[cfg(feature = "system-valuetype")]
6932 pub use crate::system::valuetype::IValueTypeMethods;
6933 pub use crate::{
6934 app::{procinst::IProcInst, singletonprocinst_1::ISingletonProcInst_1, soundsystem::ISoundSystem_SoundHandle},
6935 system::{object::IObject, r#enum::IEnum, valuetype::IValueType},
6936 };
6937}