1#[cfg(feature = "root-akaudiolistener-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::{
9 system::object::{IObject, Object},
10 unity_engine::{
11 behaviour::{Behaviour, IBehaviour},
12 component::{Component, IComponent},
13 monobehaviour::{IMonoBehaviour, MonoBehaviour},
14 object_2::{IObject_2, Object_2},
15 },
16 };
17
18 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akaudiolistener/AkAudioListener_DefaultListenerList.md"))]
19 #[::unity::class(namespace = "", name = "AkAudioListener.DefaultListenerList")]
20 #[parent(crate::root::akaudiolistener::AkAudioListener_BaseListenerList)]
21 pub struct AkAudioListener_DefaultListenerList {}
22
23 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akaudiolistener/AkAudioListener_BaseListenerList.md"))]
24 #[::unity::class(namespace = "", name = "AkAudioListener.BaseListenerList")]
25 #[parent(crate::system::object::Object)]
26 pub struct AkAudioListener_BaseListenerList {
27 #[offset(16)]
28 #[rename(name = "listenerIdList")]
29 pub listener_id_list: crate::system::collections::generic::list_1::List_1<u64>,
30 #[offset(24)]
31 #[rename(name = "listenerList")]
32 pub listener_list: crate::system::collections::generic::list_1::List_1<crate::root::akaudiolistener::AkAudioListener>,
33 }
34
35 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akaudiolistener/AkAudioListener.md"))]
36 #[::unity::class(namespace = "", name = "AkAudioListener")]
37 #[parent(crate::unity_engine::monobehaviour::MonoBehaviour)]
38 pub struct AkAudioListener {
39 #[static_field]
40 #[rename(name = "defaultListeners")]
41 pub default_listeners: crate::root::akaudiolistener::AkAudioListener_DefaultListenerList,
42 #[offset(24)]
43 #[rename(name = "akGameObjectID")]
44 pub ak_game_object_id: u64,
45 #[offset(32)]
46 #[rename(name = "EmittersToStartListeningTo")]
47 pub emitters_to_start_listening_to: crate::system::collections::generic::list_1::List_1<crate::root::akgameobj::AkGameObj>,
48 #[offset(40)]
49 #[rename(name = "EmittersToStopListeningTo")]
50 pub emitters_to_stop_listening_to: crate::system::collections::generic::list_1::List_1<crate::root::akgameobj::AkGameObj>,
51 #[offset(48)]
52 #[rename(name = "isDefaultListener")]
53 pub is_default_listener_field: bool,
54 #[offset(52)]
55 #[rename(name = "listenerId")]
56 pub listener_id: i32,
57 }
58}
59
60#[cfg(feature = "root-akaudiolistener-types")]
61pub use __types::*;
62
63#[cfg(feature = "root-akaudiolistener")]
64pub trait IAkAudioListener_DefaultListenerListMethods: IAkAudioListener_DefaultListenerList {
65 #[doc = "`Add(crate::root::akaudiolistener::AkAudioListener)` overload"]
66 fn add(self, listener: impl ::core::convert::Into<crate::root::akaudiolistener::AkAudioListener>) -> bool {
67 unsafe {
68 let __receiver = <AkAudioListener_DefaultListenerList as ::unity::FromIlInstance>::from_il_instance(
69 <Self as ::unity::SystemObject>::as_instance(self),
70 );
71 {
72 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
73 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
74 panic!(
75 "unity: virtual slot {}
76 out of range (vtable len {}
77) on the runtime class behind {}
78 (method `{}
79`)",
80 4usize,
81 __vt.len(),
82 <AkAudioListener_DefaultListenerList as ::unity::ClassIdentity>::NAME,
83 "Add",
84 )
85 });
86 let __inner: extern "C" fn(
87 AkAudioListener_DefaultListenerList,
88 crate::root::akaudiolistener::AkAudioListener,
89 ::unity::OptionalMethod,
90 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
91 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
92 __inner(__receiver, ::core::convert::Into::into(listener), __mi)
93 }
94 }
95 }
96 #[doc = "`Remove(crate::root::akaudiolistener::AkAudioListener)` overload"]
97 fn remove(self, listener: impl ::core::convert::Into<crate::root::akaudiolistener::AkAudioListener>) -> bool {
98 unsafe {
99 let __receiver = <AkAudioListener_DefaultListenerList as ::unity::FromIlInstance>::from_il_instance(
100 <Self as ::unity::SystemObject>::as_instance(self),
101 );
102 {
103 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
104 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
105 panic!(
106 "unity: virtual slot {}
107 out of range (vtable len {}
108) on the runtime class behind {}
109 (method `{}
110`)",
111 5usize,
112 __vt.len(),
113 <AkAudioListener_DefaultListenerList as ::unity::ClassIdentity>::NAME,
114 "Remove",
115 )
116 });
117 let __inner: extern "C" fn(
118 AkAudioListener_DefaultListenerList,
119 crate::root::akaudiolistener::AkAudioListener,
120 ::unity::OptionalMethod,
121 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
122 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
123 __inner(__receiver, ::core::convert::Into::into(listener), __mi)
124 }
125 }
126 }
127 #[doc = "`.ctor()` overload"]
128 fn ctor(self) -> () {
129 unsafe {
130 let __receiver = <AkAudioListener_DefaultListenerList as ::unity::FromIlInstance>::from_il_instance(
131 <Self as ::unity::SystemObject>::as_instance(self),
132 );
133 ::unity::il2cpp_call!((::unity::module_base()+0x1b9c0d0usize)as*mut u8,();
134(AkAudioListener_DefaultListenerList)__receiver)
135 }
136 }
137}
138
139#[cfg(feature = "root-akaudiolistener")]
140impl<__T: IAkAudioListener_DefaultListenerList> IAkAudioListener_DefaultListenerListMethods for __T {}
141
142#[cfg(feature = "root-akaudiolistener")]
143impl AkAudioListener_DefaultListenerList {
144 pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
145 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
146 }
147
148 pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
149 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
150 }
151
152 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
153 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
154 }
155}
156
157#[cfg(feature = "root-akaudiolistener")]
158impl AkAudioListener_DefaultListenerList {
159 #[doc = "Direct (non-virtual) call to `AkAudioListener_DefaultListenerList`'s own `Add`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
160 pub unsafe fn add(this: impl ::core::convert::Into<::unity::IlInstance>, listener: crate::root::akaudiolistener::AkAudioListener) -> bool {
161 let __mi = Self::add_method_info();
162 let __inner: extern "C" fn(::unity::IlInstance, crate::root::akaudiolistener::AkAudioListener, ::unity::OptionalMethod) -> bool =
163 ::core::mem::transmute(__mi.method_ptr);
164 __inner(this.into(), listener, ::core::option::Option::None)
165 }
166
167 #[doc = "Direct (non-virtual) call to `AkAudioListener_DefaultListenerList`'s own `Remove`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
168 pub unsafe fn remove(this: impl ::core::convert::Into<::unity::IlInstance>, listener: crate::root::akaudiolistener::AkAudioListener) -> bool {
169 let __mi = Self::remove_method_info();
170 let __inner: extern "C" fn(::unity::IlInstance, crate::root::akaudiolistener::AkAudioListener, ::unity::OptionalMethod) -> bool =
171 ::core::mem::transmute(__mi.method_ptr);
172 __inner(this.into(), listener, ::core::option::Option::None)
173 }
174}
175
176#[cfg(feature = "root-akaudiolistener")]
177impl AkAudioListener_DefaultListenerList {
178 #[doc = "`.ctor()` — no args"]
179 pub fn new() -> Self {
180 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
181 panic!(
182 "{}
183::{}
184 failed to instantiate",
185 ::core::stringify!(AkAudioListener_DefaultListenerList),
186 ::core::stringify!(new),
187 )
188 });
189 <Self as IAkAudioListener_DefaultListenerListMethods>::ctor(this);
190 this
191 }
192}
193
194#[cfg(feature = "root-akaudiolistener")]
195pub trait IAkAudioListener_BaseListenerListMethods: IAkAudioListener_BaseListenerList {
196 #[doc = "`get_ListenerList()` overload"]
197 fn get_listener_list(self) -> crate::system::collections::generic::list_1::List_1<crate::root::akaudiolistener::AkAudioListener> {
198 unsafe {
199 let __receiver =
200 <AkAudioListener_BaseListenerList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
201 ::unity::il2cpp_call!((::unity::module_base()+0x1b9bbf0usize)as*mut u8,crate::system::collections::generic::list_1::List_1<crate::root::akaudiolistener::AkAudioListener> ;
202(AkAudioListener_BaseListenerList)__receiver)
203 }
204 }
205 #[doc = "`Add(crate::root::akaudiolistener::AkAudioListener)` overload"]
206 fn add(self, listener: impl ::core::convert::Into<crate::root::akaudiolistener::AkAudioListener>) -> bool {
207 unsafe {
208 let __receiver =
209 <AkAudioListener_BaseListenerList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
210 {
211 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
212 let __vi = *__vt.get(4usize).unwrap_or_else(|| {
213 panic!(
214 "unity: virtual slot {}
215 out of range (vtable len {}
216) on the runtime class behind {}
217 (method `{}
218`)",
219 4usize,
220 __vt.len(),
221 <AkAudioListener_BaseListenerList as ::unity::ClassIdentity>::NAME,
222 "Add",
223 )
224 });
225 let __inner: extern "C" fn(
226 AkAudioListener_BaseListenerList,
227 crate::root::akaudiolistener::AkAudioListener,
228 ::unity::OptionalMethod,
229 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
230 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
231 __inner(__receiver, ::core::convert::Into::into(listener), __mi)
232 }
233 }
234 }
235 #[doc = "`Remove(crate::root::akaudiolistener::AkAudioListener)` overload"]
236 fn remove(self, listener: impl ::core::convert::Into<crate::root::akaudiolistener::AkAudioListener>) -> bool {
237 unsafe {
238 let __receiver =
239 <AkAudioListener_BaseListenerList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
240 {
241 let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
242 let __vi = *__vt.get(5usize).unwrap_or_else(|| {
243 panic!(
244 "unity: virtual slot {}
245 out of range (vtable len {}
246) on the runtime class behind {}
247 (method `{}
248`)",
249 5usize,
250 __vt.len(),
251 <AkAudioListener_BaseListenerList as ::unity::ClassIdentity>::NAME,
252 "Remove",
253 )
254 });
255 let __inner: extern "C" fn(
256 AkAudioListener_BaseListenerList,
257 crate::root::akaudiolistener::AkAudioListener,
258 ::unity::OptionalMethod,
259 ) -> bool = ::core::mem::transmute(__vi.method_ptr);
260 let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
261 __inner(__receiver, ::core::convert::Into::into(listener), __mi)
262 }
263 }
264 }
265 #[doc = "`GetListenerIds()` overload"]
266 fn get_listener_ids(self) -> ::unity::Array<u64> {
267 unsafe {
268 let __receiver =
269 <AkAudioListener_BaseListenerList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
270 ::unity::il2cpp_call!((::unity::module_base()+0x1b9bdf0usize)as*mut u8, ::unity::Array<u64> ;
271(AkAudioListener_BaseListenerList)__receiver)
272 }
273 }
274 #[doc = "`.ctor()` overload"]
275 fn ctor(self) -> () {
276 unsafe {
277 let __receiver =
278 <AkAudioListener_BaseListenerList as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
279 ::unity::il2cpp_call!((::unity::module_base()+0x1b9be50usize)as*mut u8,();
280(AkAudioListener_BaseListenerList)__receiver)
281 }
282 }
283}
284
285#[cfg(feature = "root-akaudiolistener")]
286impl<__T: IAkAudioListener_BaseListenerList> IAkAudioListener_BaseListenerListMethods for __T {}
287
288#[cfg(feature = "root-akaudiolistener")]
289impl AkAudioListener_BaseListenerList {
290 pub fn get_listener_list_method_info() -> &'static ::unity::il2cpp::MethodInfo {
291 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
292 }
293
294 pub fn add_method_info() -> &'static ::unity::il2cpp::MethodInfo {
295 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
296 }
297
298 pub fn remove_method_info() -> &'static ::unity::il2cpp::MethodInfo {
299 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
300 }
301
302 pub fn get_listener_ids_method_info() -> &'static ::unity::il2cpp::MethodInfo {
303 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
304 }
305
306 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
307 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
308 }
309}
310
311#[cfg(feature = "root-akaudiolistener")]
312impl AkAudioListener_BaseListenerList {
313 #[doc = "Direct (non-virtual) call to `AkAudioListener_BaseListenerList`'s own `Add`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
314 pub unsafe fn add(this: impl ::core::convert::Into<::unity::IlInstance>, listener: crate::root::akaudiolistener::AkAudioListener) -> bool {
315 let __mi = Self::add_method_info();
316 let __inner: extern "C" fn(::unity::IlInstance, crate::root::akaudiolistener::AkAudioListener, ::unity::OptionalMethod) -> bool =
317 ::core::mem::transmute(__mi.method_ptr);
318 __inner(this.into(), listener, ::core::option::Option::None)
319 }
320
321 #[doc = "Direct (non-virtual) call to `AkAudioListener_BaseListenerList`'s own `Remove`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
322 pub unsafe fn remove(this: impl ::core::convert::Into<::unity::IlInstance>, listener: crate::root::akaudiolistener::AkAudioListener) -> bool {
323 let __mi = Self::remove_method_info();
324 let __inner: extern "C" fn(::unity::IlInstance, crate::root::akaudiolistener::AkAudioListener, ::unity::OptionalMethod) -> bool =
325 ::core::mem::transmute(__mi.method_ptr);
326 __inner(this.into(), listener, ::core::option::Option::None)
327 }
328}
329
330#[cfg(feature = "root-akaudiolistener")]
331impl AkAudioListener_BaseListenerList {
332 #[doc = "`.ctor()` — no args"]
333 pub fn new() -> Self {
334 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
335 panic!(
336 "{}
337::{}
338 failed to instantiate",
339 ::core::stringify!(AkAudioListener_BaseListenerList),
340 ::core::stringify!(new),
341 )
342 });
343 <Self as IAkAudioListener_BaseListenerListMethods>::ctor(this);
344 this
345 }
346}
347
348#[cfg(feature = "root-akaudiolistener")]
349impl AkAudioListener {
350 #[doc = "`get_DefaultListeners()` overload"]
351 pub fn get_default_listeners() -> crate::root::akaudiolistener::AkAudioListener_DefaultListenerList {
352 unsafe {
353 ::unity::il2cpp_call!((::unity::module_base()+0x2bcf660usize)as*mut u8,crate::root::akaudiolistener::AkAudioListener_DefaultListenerList;
354 )
355 }
356 }
357
358 #[doc = "`.cctor()` overload"]
359 pub fn cctor() -> () {
360 unsafe {
361 ::unity::il2cpp_call!((::unity::module_base()+0x2bcff10usize)as*mut u8,();
362 )
363 }
364 }
365}
366
367#[cfg(feature = "root-akaudiolistener")]
368pub trait IAkAudioListenerMethods: IAkAudioListener {
369 #[doc = "`StartListeningToEmitter(crate::root::akgameobj::AkGameObj)` overload"]
370 fn start_listening_to_emitter(self, emitter: impl ::core::convert::Into<crate::root::akgameobj::AkGameObj>) -> () {
371 unsafe {
372 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
373 ::unity::il2cpp_call!((::unity::module_base()+0x2bcf6d0usize)as*mut u8,();
374(AkAudioListener)__receiver,(crate::root::akgameobj::AkGameObj)::core::convert::Into::into(emitter))
375 }
376 }
377 #[doc = "`StopListeningToEmitter(crate::root::akgameobj::AkGameObj)` overload"]
378 fn stop_listening_to_emitter(self, emitter: impl ::core::convert::Into<crate::root::akgameobj::AkGameObj>) -> () {
379 unsafe {
380 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
381 ::unity::il2cpp_call!((::unity::module_base()+0x2bcf760usize)as*mut u8,();
382(AkAudioListener)__receiver,(crate::root::akgameobj::AkGameObj)::core::convert::Into::into(emitter))
383 }
384 }
385 #[doc = "`SetIsDefaultListener(bool)` overload"]
386 fn set_is_default_listener(self, is_default: impl ::core::convert::Into<bool>) -> () {
387 unsafe {
388 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
389 ::unity::il2cpp_call!((::unity::module_base()+0x2bcf7f0usize)as*mut u8,();
390(AkAudioListener)__receiver,(bool)::core::convert::Into::into(is_default))
391 }
392 }
393 #[doc = "`Awake()` overload"]
394 fn awake(self) -> () {
395 unsafe {
396 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
397 ::unity::il2cpp_call!((::unity::module_base()+0x2bcf980usize)as*mut u8,();
398(AkAudioListener)__receiver)
399 }
400 }
401 #[doc = "`OnEnable()` overload"]
402 fn on_enable(self) -> () {
403 unsafe {
404 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
405 ::unity::il2cpp_call!((::unity::module_base()+0x2bcfa70usize)as*mut u8,();
406(AkAudioListener)__receiver)
407 }
408 }
409 #[doc = "`OnDisable()` overload"]
410 fn on_disable(self) -> () {
411 unsafe {
412 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
413 ::unity::il2cpp_call!((::unity::module_base()+0x2bcfb60usize)as*mut u8,();
414(AkAudioListener)__receiver)
415 }
416 }
417 #[doc = "`Update()` overload"]
418 fn update(self) -> () {
419 unsafe {
420 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
421 ::unity::il2cpp_call!((::unity::module_base()+0x2bcfc50usize)as*mut u8,();
422(AkAudioListener)__receiver)
423 }
424 }
425 #[doc = "`GetAkGameObjectID()` overload"]
426 fn get_ak_game_object_id(self) -> u64 {
427 unsafe {
428 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
429 ::unity::il2cpp_call!((::unity::module_base()+0x2bcfd80usize)as*mut u8,u64;
430(AkAudioListener)__receiver)
431 }
432 }
433 #[doc = "`Migrate14()` overload"]
434 fn migrate14(self) -> () {
435 unsafe {
436 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
437 ::unity::il2cpp_call!((::unity::module_base()+0x2bcfd90usize)as*mut u8,();
438(AkAudioListener)__receiver)
439 }
440 }
441 #[doc = "`.ctor()` overload"]
442 fn ctor(self) -> () {
443 unsafe {
444 let __receiver = <AkAudioListener as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
445 ::unity::il2cpp_call!((::unity::module_base()+0x2bcfe50usize)as*mut u8,();
446(AkAudioListener)__receiver)
447 }
448 }
449}
450
451#[cfg(feature = "root-akaudiolistener")]
452impl<__T: IAkAudioListener> IAkAudioListenerMethods for __T {}
453
454#[cfg(feature = "root-akaudiolistener")]
455impl AkAudioListener {
456 pub fn get_default_listeners_method_info() -> &'static ::unity::il2cpp::MethodInfo {
457 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
458 }
459
460 pub fn start_listening_to_emitter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
461 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
462 }
463
464 pub fn stop_listening_to_emitter_method_info() -> &'static ::unity::il2cpp::MethodInfo {
465 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
466 }
467
468 pub fn set_is_default_listener_method_info() -> &'static ::unity::il2cpp::MethodInfo {
469 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
470 }
471
472 pub fn awake_method_info() -> &'static ::unity::il2cpp::MethodInfo {
473 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
474 }
475
476 pub fn on_enable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
477 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
478 }
479
480 pub fn on_disable_method_info() -> &'static ::unity::il2cpp::MethodInfo {
481 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
482 }
483
484 pub fn update_method_info() -> &'static ::unity::il2cpp::MethodInfo {
485 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
486 }
487
488 pub fn get_ak_game_object_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
489 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
490 }
491
492 pub fn migrate14_method_info() -> &'static ::unity::il2cpp::MethodInfo {
493 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
494 }
495
496 pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
497 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
498 }
499
500 pub fn cctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
501 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
502 }
503}
504
505#[cfg(feature = "root-akaudiolistener")]
506impl AkAudioListener {
507 #[doc = "`.ctor()` — no args"]
508 pub fn new() -> Self {
509 let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
510 panic!(
511 "{}
512::{}
513 failed to instantiate",
514 ::core::stringify!(AkAudioListener),
515 ::core::stringify!(new),
516 )
517 });
518 <Self as IAkAudioListenerMethods>::ctor(this);
519 this
520 }
521}
522
523#[cfg(feature = "root-akaudiolistener")]
524#[doc(hidden)]
525pub mod prelude {
526 pub use super::{
527 AkAudioListener, AkAudioListener_BaseListenerList, AkAudioListener_DefaultListenerList, IAkAudioListener, IAkAudioListenerMethods,
528 IAkAudioListener_BaseListenerList, IAkAudioListener_BaseListenerListMethods, IAkAudioListener_DefaultListenerList,
529 IAkAudioListener_DefaultListenerListMethods,
530 };
531 #[cfg(feature = "system-object")]
532 pub use crate::system::object::IObjectMethods;
533 #[cfg(feature = "unity_engine-behaviour")]
534 pub use crate::unity_engine::behaviour::IBehaviourMethods;
535 #[cfg(feature = "unity_engine-component")]
536 pub use crate::unity_engine::component::IComponentMethods;
537 #[cfg(feature = "unity_engine-monobehaviour")]
538 pub use crate::unity_engine::monobehaviour::IMonoBehaviourMethods;
539 #[cfg(feature = "unity_engine-object_2")]
540 pub use crate::unity_engine::object_2::IObject_2Methods;
541 pub use crate::{
542 system::object::IObject,
543 unity_engine::{behaviour::IBehaviour, component::IComponent, monobehaviour::IMonoBehaviour, object_2::IObject_2},
544 };
545}