Skip to main content

engage/generated/root/
akmidievent.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akmidievent-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent_tNoteAftertouch.md"))]
11    #[::unity::class(namespace = "", name = "AkMIDIEvent.tNoteAftertouch")]
12    #[parent(crate::system::object::Object)]
13    pub struct AkMIDIEvent_tNoteAftertouch {
14        #[offset(16)]
15        #[rename(name = "swigCPtr")]
16        pub swig_c_ptr: ::unity::IntPtr,
17        #[offset(24)]
18        #[rename(name = "swigCMemOwn")]
19        pub swig_c_mem_own: bool,
20    }
21
22    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent_tGen.md"))]
23    #[::unity::class(namespace = "", name = "AkMIDIEvent.tGen")]
24    #[parent(crate::system::object::Object)]
25    pub struct AkMIDIEvent_tGen {
26        #[offset(16)]
27        #[rename(name = "swigCPtr")]
28        pub swig_c_ptr: ::unity::IntPtr,
29        #[offset(24)]
30        #[rename(name = "swigCMemOwn")]
31        pub swig_c_mem_own: bool,
32    }
33
34    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent_tNoteOnOff.md"))]
35    #[::unity::class(namespace = "", name = "AkMIDIEvent.tNoteOnOff")]
36    #[parent(crate::system::object::Object)]
37    pub struct AkMIDIEvent_tNoteOnOff {
38        #[offset(16)]
39        #[rename(name = "swigCPtr")]
40        pub swig_c_ptr: ::unity::IntPtr,
41        #[offset(24)]
42        #[rename(name = "swigCMemOwn")]
43        pub swig_c_mem_own: bool,
44    }
45
46    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent_tPitchBend.md"))]
47    #[::unity::class(namespace = "", name = "AkMIDIEvent.tPitchBend")]
48    #[parent(crate::system::object::Object)]
49    pub struct AkMIDIEvent_tPitchBend {
50        #[offset(16)]
51        #[rename(name = "swigCPtr")]
52        pub swig_c_ptr: ::unity::IntPtr,
53        #[offset(24)]
54        #[rename(name = "swigCMemOwn")]
55        pub swig_c_mem_own: bool,
56    }
57
58    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent.md"))]
59    #[::unity::class(namespace = "", name = "AkMIDIEvent")]
60    #[parent(crate::system::object::Object)]
61    pub struct AkMIDIEvent {
62        #[offset(16)]
63        #[rename(name = "swigCPtr")]
64        pub swig_c_ptr: ::unity::IntPtr,
65        #[offset(24)]
66        #[rename(name = "swigCMemOwn")]
67        pub swig_c_mem_own: bool,
68    }
69
70    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent_tCc.md"))]
71    #[::unity::class(namespace = "", name = "AkMIDIEvent.tCc")]
72    #[parent(crate::system::object::Object)]
73    pub struct AkMIDIEvent_tCc {
74        #[offset(16)]
75        #[rename(name = "swigCPtr")]
76        pub swig_c_ptr: ::unity::IntPtr,
77        #[offset(24)]
78        #[rename(name = "swigCMemOwn")]
79        pub swig_c_mem_own: bool,
80    }
81
82    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent_tProgramChange.md"))]
83    #[::unity::class(namespace = "", name = "AkMIDIEvent.tProgramChange")]
84    #[parent(crate::system::object::Object)]
85    pub struct AkMIDIEvent_tProgramChange {
86        #[offset(16)]
87        #[rename(name = "swigCPtr")]
88        pub swig_c_ptr: ::unity::IntPtr,
89        #[offset(24)]
90        #[rename(name = "swigCMemOwn")]
91        pub swig_c_mem_own: bool,
92    }
93
94    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akmidievent/AkMIDIEvent_tChanAftertouch.md"))]
95    #[::unity::class(namespace = "", name = "AkMIDIEvent.tChanAftertouch")]
96    #[parent(crate::system::object::Object)]
97    pub struct AkMIDIEvent_tChanAftertouch {
98        #[offset(16)]
99        #[rename(name = "swigCPtr")]
100        pub swig_c_ptr: ::unity::IntPtr,
101        #[offset(24)]
102        #[rename(name = "swigCMemOwn")]
103        pub swig_c_mem_own: bool,
104    }
105}
106
107#[cfg(feature = "root-akmidievent-types")]
108pub use __types::*;
109
110#[cfg(feature = "root-akmidievent")]
111impl AkMIDIEvent_tNoteAftertouch {
112    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch)` overload"]
113    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch>) -> ::unity::IntPtr {
114        unsafe {
115            ::unity::il2cpp_call!((::unity::module_base()+0x1b9fac0usize)as*mut u8, ::unity::IntPtr;
116(crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch)::core::convert::Into::into(obj))
117        }
118    }
119}
120
121#[cfg(feature = "root-akmidievent")]
122pub trait IAkMIDIEvent_tNoteAftertouchMethods: IAkMIDIEvent_tNoteAftertouch {
123    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
124    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
125        unsafe {
126            let __receiver =
127                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
128            ::unity::il2cpp_call!((::unity::module_base()+0x1b9fa80usize)as*mut u8,();
129(AkMIDIEvent_tNoteAftertouch)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
130        }
131    }
132    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
133    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
134        unsafe {
135            let __receiver =
136                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
137            {
138                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
139                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
140                    panic!(
141                        "unity: virtual slot {}
142 out of range (vtable len {}
143) on the runtime class behind {}
144 (method `{}
145`)",
146                        5usize,
147                        __vt.len(),
148                        <AkMIDIEvent_tNoteAftertouch as ::unity::ClassIdentity>::NAME,
149                        "setCPtr",
150                    )
151                });
152                let __inner: extern "C" fn(AkMIDIEvent_tNoteAftertouch, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
153                    ::core::mem::transmute(__vi.method_ptr);
154                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
155                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
156            }
157        }
158    }
159    #[doc = "`Finalize()` overload"]
160    fn finalize(self) -> () {
161        unsafe {
162            let __receiver =
163                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
164            {
165                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
166                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
167                    panic!(
168                        "unity: virtual slot {}
169 out of range (vtable len {}
170) on the runtime class behind {}
171 (method `{}
172`)",
173                        1usize,
174                        __vt.len(),
175                        <AkMIDIEvent_tNoteAftertouch as ::unity::ClassIdentity>::NAME,
176                        "Finalize",
177                    )
178                });
179                let __inner: extern "C" fn(AkMIDIEvent_tNoteAftertouch, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
180                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
181                __inner(__receiver, __mi)
182            }
183        }
184    }
185    #[doc = "`Dispose()` overload"]
186    fn dispose(self) -> () {
187        unsafe {
188            let __receiver =
189                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
190            {
191                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
192                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
193                    panic!(
194                        "unity: virtual slot {}
195 out of range (vtable len {}
196) on the runtime class behind {}
197 (method `{}
198`)",
199                        6usize,
200                        __vt.len(),
201                        <AkMIDIEvent_tNoteAftertouch as ::unity::ClassIdentity>::NAME,
202                        "Dispose",
203                    )
204                });
205                let __inner: extern "C" fn(AkMIDIEvent_tNoteAftertouch, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
206                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
207                __inner(__receiver, __mi)
208            }
209        }
210    }
211    #[doc = "`set_byNote(u8)` overload"]
212    fn set_by_note(self, value: impl ::core::convert::Into<u8>) -> () {
213        unsafe {
214            let __receiver =
215                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
216            ::unity::il2cpp_call!((::unity::module_base()+0x1b9fd50usize)as*mut u8,();
217(AkMIDIEvent_tNoteAftertouch)__receiver,(u8)::core::convert::Into::into(value))
218        }
219    }
220    #[doc = "`get_byNote()` overload"]
221    fn get_by_note(self) -> u8 {
222        unsafe {
223            let __receiver =
224                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
225            ::unity::il2cpp_call!((::unity::module_base()+0x1b9fdd0usize)as*mut u8,u8;
226(AkMIDIEvent_tNoteAftertouch)__receiver)
227        }
228    }
229    #[doc = "`set_byValue(u8)` overload"]
230    fn set_by_value(self, value: impl ::core::convert::Into<u8>) -> () {
231        unsafe {
232            let __receiver =
233                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
234            ::unity::il2cpp_call!((::unity::module_base()+0x1b9fe40usize)as*mut u8,();
235(AkMIDIEvent_tNoteAftertouch)__receiver,(u8)::core::convert::Into::into(value))
236        }
237    }
238    #[doc = "`get_byValue()` overload"]
239    fn get_by_value(self) -> u8 {
240        unsafe {
241            let __receiver =
242                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
243            ::unity::il2cpp_call!((::unity::module_base()+0x1b9fec0usize)as*mut u8,u8;
244(AkMIDIEvent_tNoteAftertouch)__receiver)
245        }
246    }
247    #[doc = "`.ctor()` overload"]
248    fn ctor_2(self) -> () {
249        unsafe {
250            let __receiver =
251                <AkMIDIEvent_tNoteAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
252            ::unity::il2cpp_call!((::unity::module_base()+0x1b9ff30usize)as*mut u8,();
253(AkMIDIEvent_tNoteAftertouch)__receiver)
254        }
255    }
256}
257
258#[cfg(feature = "root-akmidievent")]
259impl<__T: IAkMIDIEvent_tNoteAftertouch> IAkMIDIEvent_tNoteAftertouchMethods for __T {}
260
261#[cfg(feature = "root-akmidievent")]
262impl AkMIDIEvent_tNoteAftertouch {
263    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
264        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
265    }
266
267    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
268        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
269    }
270
271    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
272        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
273    }
274
275    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
276        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
277    }
278
279    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
280        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
281    }
282
283    pub fn set_by_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
284        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
285    }
286
287    pub fn get_by_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
288        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
289    }
290
291    pub fn set_by_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
292        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
293    }
294
295    pub fn get_by_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
296        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
297    }
298
299    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
300        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
301    }
302}
303
304#[cfg(feature = "root-akmidievent")]
305impl AkMIDIEvent_tNoteAftertouch {
306    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tNoteAftertouch`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
307    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
308        let __mi = Self::set_c_ptr_method_info();
309        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
310        __inner(this.into(), c_ptr, ::core::option::Option::None)
311    }
312
313    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tNoteAftertouch`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
314    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
315        let __mi = Self::finalize_method_info();
316        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
317        __inner(this.into(), ::core::option::Option::None)
318    }
319
320    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tNoteAftertouch`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
321    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
322        let __mi = Self::dispose_method_info();
323        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
324        __inner(this.into(), ::core::option::Option::None)
325    }
326}
327
328#[cfg(feature = "root-akmidievent")]
329impl AkMIDIEvent_tNoteAftertouch {
330    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
331    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
332        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
333            panic!(
334                "{}
335::{}
336 failed to instantiate",
337                ::core::stringify!(AkMIDIEvent_tNoteAftertouch),
338                ::core::stringify!(new),
339            )
340        });
341        <Self as IAkMIDIEvent_tNoteAftertouchMethods>::ctor(this, c_ptr, c_memory_own);
342        this
343    }
344
345    #[doc = "`.ctor()` — no args"]
346    pub fn new_2() -> Self {
347        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
348            panic!(
349                "{}
350::{}
351 failed to instantiate",
352                ::core::stringify!(AkMIDIEvent_tNoteAftertouch),
353                ::core::stringify!(new_2),
354            )
355        });
356        <Self as IAkMIDIEvent_tNoteAftertouchMethods>::ctor_2(this);
357        this
358    }
359}
360
361#[cfg(feature = "root-akmidievent")]
362impl AkMIDIEvent_tGen {
363    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent_tGen)` overload"]
364    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tGen>) -> ::unity::IntPtr {
365        unsafe {
366            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f580usize)as*mut u8, ::unity::IntPtr;
367(crate::root::akmidievent::AkMIDIEvent_tGen)::core::convert::Into::into(obj))
368        }
369    }
370}
371
372#[cfg(feature = "root-akmidievent")]
373pub trait IAkMIDIEvent_tGenMethods: IAkMIDIEvent_tGen {
374    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
375    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
376        unsafe {
377            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
378            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f540usize)as*mut u8,();
379(AkMIDIEvent_tGen)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
380        }
381    }
382    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
383    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
384        unsafe {
385            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
386            {
387                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
388                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
389                    panic!(
390                        "unity: virtual slot {}
391 out of range (vtable len {}
392) on the runtime class behind {}
393 (method `{}
394`)",
395                        5usize,
396                        __vt.len(),
397                        <AkMIDIEvent_tGen as ::unity::ClassIdentity>::NAME,
398                        "setCPtr",
399                    )
400                });
401                let __inner: extern "C" fn(AkMIDIEvent_tGen, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
402                    ::core::mem::transmute(__vi.method_ptr);
403                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
404                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
405            }
406        }
407    }
408    #[doc = "`Finalize()` overload"]
409    fn finalize(self) -> () {
410        unsafe {
411            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
412            {
413                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
414                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
415                    panic!(
416                        "unity: virtual slot {}
417 out of range (vtable len {}
418) on the runtime class behind {}
419 (method `{}
420`)",
421                        1usize,
422                        __vt.len(),
423                        <AkMIDIEvent_tGen as ::unity::ClassIdentity>::NAME,
424                        "Finalize",
425                    )
426                });
427                let __inner: extern "C" fn(AkMIDIEvent_tGen, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
428                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
429                __inner(__receiver, __mi)
430            }
431        }
432    }
433    #[doc = "`Dispose()` overload"]
434    fn dispose(self) -> () {
435        unsafe {
436            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
437            {
438                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
439                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
440                    panic!(
441                        "unity: virtual slot {}
442 out of range (vtable len {}
443) on the runtime class behind {}
444 (method `{}
445`)",
446                        6usize,
447                        __vt.len(),
448                        <AkMIDIEvent_tGen as ::unity::ClassIdentity>::NAME,
449                        "Dispose",
450                    )
451                });
452                let __inner: extern "C" fn(AkMIDIEvent_tGen, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
453                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
454                __inner(__receiver, __mi)
455            }
456        }
457    }
458    #[doc = "`set_byParam1(u8)` overload"]
459    fn set_by_param1(self, value: impl ::core::convert::Into<u8>) -> () {
460        unsafe {
461            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
462            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f810usize)as*mut u8,();
463(AkMIDIEvent_tGen)__receiver,(u8)::core::convert::Into::into(value))
464        }
465    }
466    #[doc = "`get_byParam1()` overload"]
467    fn get_by_param1(self) -> u8 {
468        unsafe {
469            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
470            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f890usize)as*mut u8,u8;
471(AkMIDIEvent_tGen)__receiver)
472        }
473    }
474    #[doc = "`set_byParam2(u8)` overload"]
475    fn set_by_param2(self, value: impl ::core::convert::Into<u8>) -> () {
476        unsafe {
477            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
478            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f900usize)as*mut u8,();
479(AkMIDIEvent_tGen)__receiver,(u8)::core::convert::Into::into(value))
480        }
481    }
482    #[doc = "`get_byParam2()` overload"]
483    fn get_by_param2(self) -> u8 {
484        unsafe {
485            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
486            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f980usize)as*mut u8,u8;
487(AkMIDIEvent_tGen)__receiver)
488        }
489    }
490    #[doc = "`.ctor()` overload"]
491    fn ctor_2(self) -> () {
492        unsafe {
493            let __receiver = <AkMIDIEvent_tGen as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
494            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f9f0usize)as*mut u8,();
495(AkMIDIEvent_tGen)__receiver)
496        }
497    }
498}
499
500#[cfg(feature = "root-akmidievent")]
501impl<__T: IAkMIDIEvent_tGen> IAkMIDIEvent_tGenMethods for __T {}
502
503#[cfg(feature = "root-akmidievent")]
504impl AkMIDIEvent_tGen {
505    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
506        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
507    }
508
509    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
510        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
511    }
512
513    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
514        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
515    }
516
517    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
518        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
519    }
520
521    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
522        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
523    }
524
525    pub fn set_by_param1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
526        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
527    }
528
529    pub fn get_by_param1_method_info() -> &'static ::unity::il2cpp::MethodInfo {
530        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
531    }
532
533    pub fn set_by_param2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
534        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
535    }
536
537    pub fn get_by_param2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
538        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
539    }
540
541    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
542        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
543    }
544}
545
546#[cfg(feature = "root-akmidievent")]
547impl AkMIDIEvent_tGen {
548    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tGen`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
549    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
550        let __mi = Self::set_c_ptr_method_info();
551        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
552        __inner(this.into(), c_ptr, ::core::option::Option::None)
553    }
554
555    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tGen`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
556    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
557        let __mi = Self::finalize_method_info();
558        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
559        __inner(this.into(), ::core::option::Option::None)
560    }
561
562    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tGen`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
563    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
564        let __mi = Self::dispose_method_info();
565        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
566        __inner(this.into(), ::core::option::Option::None)
567    }
568}
569
570#[cfg(feature = "root-akmidievent")]
571impl AkMIDIEvent_tGen {
572    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
573    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
574        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
575            panic!(
576                "{}
577::{}
578 failed to instantiate",
579                ::core::stringify!(AkMIDIEvent_tGen),
580                ::core::stringify!(new),
581            )
582        });
583        <Self as IAkMIDIEvent_tGenMethods>::ctor(this, c_ptr, c_memory_own);
584        this
585    }
586
587    #[doc = "`.ctor()` — no args"]
588    pub fn new_2() -> Self {
589        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
590            panic!(
591                "{}
592::{}
593 failed to instantiate",
594                ::core::stringify!(AkMIDIEvent_tGen),
595                ::core::stringify!(new_2),
596            )
597        });
598        <Self as IAkMIDIEvent_tGenMethods>::ctor_2(this);
599        this
600    }
601}
602
603#[cfg(feature = "root-akmidievent")]
604impl AkMIDIEvent_tNoteOnOff {
605    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent_tNoteOnOff)` overload"]
606    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tNoteOnOff>) -> ::unity::IntPtr {
607        unsafe {
608            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0000usize)as*mut u8, ::unity::IntPtr;
609(crate::root::akmidievent::AkMIDIEvent_tNoteOnOff)::core::convert::Into::into(obj))
610        }
611    }
612}
613
614#[cfg(feature = "root-akmidievent")]
615pub trait IAkMIDIEvent_tNoteOnOffMethods: IAkMIDIEvent_tNoteOnOff {
616    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
617    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
618        unsafe {
619            let __receiver =
620                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
621            ::unity::il2cpp_call!((::unity::module_base()+0x1b9ffc0usize)as*mut u8,();
622(AkMIDIEvent_tNoteOnOff)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
623        }
624    }
625    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
626    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
627        unsafe {
628            let __receiver =
629                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
630            {
631                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
632                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
633                    panic!(
634                        "unity: virtual slot {}
635 out of range (vtable len {}
636) on the runtime class behind {}
637 (method `{}
638`)",
639                        5usize,
640                        __vt.len(),
641                        <AkMIDIEvent_tNoteOnOff as ::unity::ClassIdentity>::NAME,
642                        "setCPtr",
643                    )
644                });
645                let __inner: extern "C" fn(AkMIDIEvent_tNoteOnOff, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
646                    ::core::mem::transmute(__vi.method_ptr);
647                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
648                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
649            }
650        }
651    }
652    #[doc = "`Finalize()` overload"]
653    fn finalize(self) -> () {
654        unsafe {
655            let __receiver =
656                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
657            {
658                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
659                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
660                    panic!(
661                        "unity: virtual slot {}
662 out of range (vtable len {}
663) on the runtime class behind {}
664 (method `{}
665`)",
666                        1usize,
667                        __vt.len(),
668                        <AkMIDIEvent_tNoteOnOff as ::unity::ClassIdentity>::NAME,
669                        "Finalize",
670                    )
671                });
672                let __inner: extern "C" fn(AkMIDIEvent_tNoteOnOff, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
673                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
674                __inner(__receiver, __mi)
675            }
676        }
677    }
678    #[doc = "`Dispose()` overload"]
679    fn dispose(self) -> () {
680        unsafe {
681            let __receiver =
682                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
683            {
684                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
685                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
686                    panic!(
687                        "unity: virtual slot {}
688 out of range (vtable len {}
689) on the runtime class behind {}
690 (method `{}
691`)",
692                        6usize,
693                        __vt.len(),
694                        <AkMIDIEvent_tNoteOnOff as ::unity::ClassIdentity>::NAME,
695                        "Dispose",
696                    )
697                });
698                let __inner: extern "C" fn(AkMIDIEvent_tNoteOnOff, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
699                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
700                __inner(__receiver, __mi)
701            }
702        }
703    }
704    #[doc = "`set_byNote(u8)` overload"]
705    fn set_by_note(self, value: impl ::core::convert::Into<u8>) -> () {
706        unsafe {
707            let __receiver =
708                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
709            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0290usize)as*mut u8,();
710(AkMIDIEvent_tNoteOnOff)__receiver,(u8)::core::convert::Into::into(value))
711        }
712    }
713    #[doc = "`get_byNote()` overload"]
714    fn get_by_note(self) -> u8 {
715        unsafe {
716            let __receiver =
717                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
718            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0310usize)as*mut u8,u8;
719(AkMIDIEvent_tNoteOnOff)__receiver)
720        }
721    }
722    #[doc = "`set_byVelocity(u8)` overload"]
723    fn set_by_velocity(self, value: impl ::core::convert::Into<u8>) -> () {
724        unsafe {
725            let __receiver =
726                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
727            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0380usize)as*mut u8,();
728(AkMIDIEvent_tNoteOnOff)__receiver,(u8)::core::convert::Into::into(value))
729        }
730    }
731    #[doc = "`get_byVelocity()` overload"]
732    fn get_by_velocity(self) -> u8 {
733        unsafe {
734            let __receiver =
735                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
736            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0400usize)as*mut u8,u8;
737(AkMIDIEvent_tNoteOnOff)__receiver)
738        }
739    }
740    #[doc = "`.ctor()` overload"]
741    fn ctor_2(self) -> () {
742        unsafe {
743            let __receiver =
744                <AkMIDIEvent_tNoteOnOff as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
745            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0470usize)as*mut u8,();
746(AkMIDIEvent_tNoteOnOff)__receiver)
747        }
748    }
749}
750
751#[cfg(feature = "root-akmidievent")]
752impl<__T: IAkMIDIEvent_tNoteOnOff> IAkMIDIEvent_tNoteOnOffMethods for __T {}
753
754#[cfg(feature = "root-akmidievent")]
755impl AkMIDIEvent_tNoteOnOff {
756    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
757        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
758    }
759
760    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
761        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
762    }
763
764    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
765        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
766    }
767
768    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
769        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
770    }
771
772    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
773        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
774    }
775
776    pub fn set_by_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
777        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
778    }
779
780    pub fn get_by_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
781        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
782    }
783
784    pub fn set_by_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
785        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
786    }
787
788    pub fn get_by_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
789        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
790    }
791
792    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
793        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
794    }
795}
796
797#[cfg(feature = "root-akmidievent")]
798impl AkMIDIEvent_tNoteOnOff {
799    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tNoteOnOff`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
800    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
801        let __mi = Self::set_c_ptr_method_info();
802        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
803        __inner(this.into(), c_ptr, ::core::option::Option::None)
804    }
805
806    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tNoteOnOff`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
807    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
808        let __mi = Self::finalize_method_info();
809        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
810        __inner(this.into(), ::core::option::Option::None)
811    }
812
813    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tNoteOnOff`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
814    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
815        let __mi = Self::dispose_method_info();
816        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
817        __inner(this.into(), ::core::option::Option::None)
818    }
819}
820
821#[cfg(feature = "root-akmidievent")]
822impl AkMIDIEvent_tNoteOnOff {
823    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
824    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
825        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
826            panic!(
827                "{}
828::{}
829 failed to instantiate",
830                ::core::stringify!(AkMIDIEvent_tNoteOnOff),
831                ::core::stringify!(new),
832            )
833        });
834        <Self as IAkMIDIEvent_tNoteOnOffMethods>::ctor(this, c_ptr, c_memory_own);
835        this
836    }
837
838    #[doc = "`.ctor()` — no args"]
839    pub fn new_2() -> Self {
840        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
841            panic!(
842                "{}
843::{}
844 failed to instantiate",
845                ::core::stringify!(AkMIDIEvent_tNoteOnOff),
846                ::core::stringify!(new_2),
847            )
848        });
849        <Self as IAkMIDIEvent_tNoteOnOffMethods>::ctor_2(this);
850        this
851    }
852}
853
854#[cfg(feature = "root-akmidievent")]
855impl AkMIDIEvent_tPitchBend {
856    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent_tPitchBend)` overload"]
857    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tPitchBend>) -> ::unity::IntPtr {
858        unsafe {
859            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0540usize)as*mut u8, ::unity::IntPtr;
860(crate::root::akmidievent::AkMIDIEvent_tPitchBend)::core::convert::Into::into(obj))
861        }
862    }
863}
864
865#[cfg(feature = "root-akmidievent")]
866pub trait IAkMIDIEvent_tPitchBendMethods: IAkMIDIEvent_tPitchBend {
867    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
868    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
869        unsafe {
870            let __receiver =
871                <AkMIDIEvent_tPitchBend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
872            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0500usize)as*mut u8,();
873(AkMIDIEvent_tPitchBend)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
874        }
875    }
876    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
877    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
878        unsafe {
879            let __receiver =
880                <AkMIDIEvent_tPitchBend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
881            {
882                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
883                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
884                    panic!(
885                        "unity: virtual slot {}
886 out of range (vtable len {}
887) on the runtime class behind {}
888 (method `{}
889`)",
890                        5usize,
891                        __vt.len(),
892                        <AkMIDIEvent_tPitchBend as ::unity::ClassIdentity>::NAME,
893                        "setCPtr",
894                    )
895                });
896                let __inner: extern "C" fn(AkMIDIEvent_tPitchBend, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
897                    ::core::mem::transmute(__vi.method_ptr);
898                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
899                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
900            }
901        }
902    }
903    #[doc = "`Finalize()` overload"]
904    fn finalize(self) -> () {
905        unsafe {
906            let __receiver =
907                <AkMIDIEvent_tPitchBend 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(1usize).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                        1usize,
918                        __vt.len(),
919                        <AkMIDIEvent_tPitchBend as ::unity::ClassIdentity>::NAME,
920                        "Finalize",
921                    )
922                });
923                let __inner: extern "C" fn(AkMIDIEvent_tPitchBend, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
924                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
925                __inner(__receiver, __mi)
926            }
927        }
928    }
929    #[doc = "`Dispose()` overload"]
930    fn dispose(self) -> () {
931        unsafe {
932            let __receiver =
933                <AkMIDIEvent_tPitchBend 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(6usize).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                        6usize,
944                        __vt.len(),
945                        <AkMIDIEvent_tPitchBend as ::unity::ClassIdentity>::NAME,
946                        "Dispose",
947                    )
948                });
949                let __inner: extern "C" fn(AkMIDIEvent_tPitchBend, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
950                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
951                __inner(__receiver, __mi)
952            }
953        }
954    }
955    #[doc = "`set_byValueLsb(u8)` overload"]
956    fn set_by_value_lsb(self, value: impl ::core::convert::Into<u8>) -> () {
957        unsafe {
958            let __receiver =
959                <AkMIDIEvent_tPitchBend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
960            ::unity::il2cpp_call!((::unity::module_base()+0x1ba07d0usize)as*mut u8,();
961(AkMIDIEvent_tPitchBend)__receiver,(u8)::core::convert::Into::into(value))
962        }
963    }
964    #[doc = "`get_byValueLsb()` overload"]
965    fn get_by_value_lsb(self) -> u8 {
966        unsafe {
967            let __receiver =
968                <AkMIDIEvent_tPitchBend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
969            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0850usize)as*mut u8,u8;
970(AkMIDIEvent_tPitchBend)__receiver)
971        }
972    }
973    #[doc = "`set_byValueMsb(u8)` overload"]
974    fn set_by_value_msb(self, value: impl ::core::convert::Into<u8>) -> () {
975        unsafe {
976            let __receiver =
977                <AkMIDIEvent_tPitchBend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
978            ::unity::il2cpp_call!((::unity::module_base()+0x1ba08c0usize)as*mut u8,();
979(AkMIDIEvent_tPitchBend)__receiver,(u8)::core::convert::Into::into(value))
980        }
981    }
982    #[doc = "`get_byValueMsb()` overload"]
983    fn get_by_value_msb(self) -> u8 {
984        unsafe {
985            let __receiver =
986                <AkMIDIEvent_tPitchBend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
987            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0940usize)as*mut u8,u8;
988(AkMIDIEvent_tPitchBend)__receiver)
989        }
990    }
991    #[doc = "`.ctor()` overload"]
992    fn ctor_2(self) -> () {
993        unsafe {
994            let __receiver =
995                <AkMIDIEvent_tPitchBend as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
996            ::unity::il2cpp_call!((::unity::module_base()+0x1ba09b0usize)as*mut u8,();
997(AkMIDIEvent_tPitchBend)__receiver)
998        }
999    }
1000}
1001
1002#[cfg(feature = "root-akmidievent")]
1003impl<__T: IAkMIDIEvent_tPitchBend> IAkMIDIEvent_tPitchBendMethods for __T {}
1004
1005#[cfg(feature = "root-akmidievent")]
1006impl AkMIDIEvent_tPitchBend {
1007    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1008        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1009    }
1010
1011    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1012        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1013    }
1014
1015    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1016        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1017    }
1018
1019    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1020        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1021    }
1022
1023    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1024        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1025    }
1026
1027    pub fn set_by_value_lsb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1028        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1029    }
1030
1031    pub fn get_by_value_lsb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1032        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1033    }
1034
1035    pub fn set_by_value_msb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1036        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1037    }
1038
1039    pub fn get_by_value_msb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1040        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1041    }
1042
1043    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1044        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1045    }
1046}
1047
1048#[cfg(feature = "root-akmidievent")]
1049impl AkMIDIEvent_tPitchBend {
1050    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tPitchBend`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1051    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
1052        let __mi = Self::set_c_ptr_method_info();
1053        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1054        __inner(this.into(), c_ptr, ::core::option::Option::None)
1055    }
1056
1057    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tPitchBend`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1058    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1059        let __mi = Self::finalize_method_info();
1060        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1061        __inner(this.into(), ::core::option::Option::None)
1062    }
1063
1064    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tPitchBend`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1065    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1066        let __mi = Self::dispose_method_info();
1067        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1068        __inner(this.into(), ::core::option::Option::None)
1069    }
1070}
1071
1072#[cfg(feature = "root-akmidievent")]
1073impl AkMIDIEvent_tPitchBend {
1074    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
1075    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
1076        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1077            panic!(
1078                "{}
1079::{}
1080 failed to instantiate",
1081                ::core::stringify!(AkMIDIEvent_tPitchBend),
1082                ::core::stringify!(new),
1083            )
1084        });
1085        <Self as IAkMIDIEvent_tPitchBendMethods>::ctor(this, c_ptr, c_memory_own);
1086        this
1087    }
1088
1089    #[doc = "`.ctor()` — no args"]
1090    pub fn new_2() -> Self {
1091        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1092            panic!(
1093                "{}
1094::{}
1095 failed to instantiate",
1096                ::core::stringify!(AkMIDIEvent_tPitchBend),
1097                ::core::stringify!(new_2),
1098            )
1099        });
1100        <Self as IAkMIDIEvent_tPitchBendMethods>::ctor_2(this);
1101        this
1102    }
1103}
1104
1105#[cfg(feature = "root-akmidievent")]
1106impl AkMIDIEvent {
1107    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent)` overload"]
1108    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent>) -> ::unity::IntPtr {
1109        unsafe {
1110            ::unity::il2cpp_call!((::unity::module_base()+0x2f23420usize)as*mut u8, ::unity::IntPtr;
1111(crate::root::akmidievent::AkMIDIEvent)::core::convert::Into::into(obj))
1112        }
1113    }
1114}
1115
1116#[cfg(feature = "root-akmidievent")]
1117pub trait IAkMIDIEventMethods: IAkMIDIEvent {
1118    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
1119    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
1120        unsafe {
1121            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1122            ::unity::il2cpp_call!((::unity::module_base()+0x2f233e0usize)as*mut u8,();
1123(AkMIDIEvent)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
1124        }
1125    }
1126    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
1127    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1128        unsafe {
1129            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1130            {
1131                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1132                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1133                    panic!(
1134                        "unity: virtual slot {}
1135 out of range (vtable len {}
1136) on the runtime class behind {}
1137 (method `{}
1138`)",
1139                        5usize,
1140                        __vt.len(),
1141                        <AkMIDIEvent as ::unity::ClassIdentity>::NAME,
1142                        "setCPtr",
1143                    )
1144                });
1145                let __inner: extern "C" fn(AkMIDIEvent, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1146                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1147                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
1148            }
1149        }
1150    }
1151    #[doc = "`Finalize()` overload"]
1152    fn finalize(self) -> () {
1153        unsafe {
1154            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1155            {
1156                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1157                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
1158                    panic!(
1159                        "unity: virtual slot {}
1160 out of range (vtable len {}
1161) on the runtime class behind {}
1162 (method `{}
1163`)",
1164                        1usize,
1165                        __vt.len(),
1166                        <AkMIDIEvent as ::unity::ClassIdentity>::NAME,
1167                        "Finalize",
1168                    )
1169                });
1170                let __inner: extern "C" fn(AkMIDIEvent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1171                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1172                __inner(__receiver, __mi)
1173            }
1174        }
1175    }
1176    #[doc = "`Dispose()` overload"]
1177    fn dispose(self) -> () {
1178        unsafe {
1179            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1180            {
1181                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1182                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1183                    panic!(
1184                        "unity: virtual slot {}
1185 out of range (vtable len {}
1186) on the runtime class behind {}
1187 (method `{}
1188`)",
1189                        6usize,
1190                        __vt.len(),
1191                        <AkMIDIEvent as ::unity::ClassIdentity>::NAME,
1192                        "Dispose",
1193                    )
1194                });
1195                let __inner: extern "C" fn(AkMIDIEvent, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1196                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1197                __inner(__receiver, __mi)
1198            }
1199        }
1200    }
1201    #[doc = "`set_byChan(u8)` overload"]
1202    fn set_by_chan(self, value: impl ::core::convert::Into<u8>) -> () {
1203        unsafe {
1204            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1205            ::unity::il2cpp_call!((::unity::module_base()+0x2f236b0usize)as*mut u8,();
1206(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1207        }
1208    }
1209    #[doc = "`get_byChan()` overload"]
1210    fn get_by_chan(self) -> u8 {
1211        unsafe {
1212            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1213            ::unity::il2cpp_call!((::unity::module_base()+0x2f23730usize)as*mut u8,u8;
1214(AkMIDIEvent)__receiver)
1215        }
1216    }
1217    #[doc = "`set_Gen(crate::root::akmidievent::AkMIDIEvent_tGen)` overload"]
1218    fn set_gen(self, value: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tGen>) -> () {
1219        unsafe {
1220            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1221            ::unity::il2cpp_call!((::unity::module_base()+0x2f237a0usize)as*mut u8,();
1222(AkMIDIEvent)__receiver,(crate::root::akmidievent::AkMIDIEvent_tGen)::core::convert::Into::into(value))
1223        }
1224    }
1225    #[doc = "`get_Gen()` overload"]
1226    fn get_gen(self) -> crate::root::akmidievent::AkMIDIEvent_tGen {
1227        unsafe {
1228            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1229            ::unity::il2cpp_call!((::unity::module_base()+0x2f23830usize)as*mut u8,crate::root::akmidievent::AkMIDIEvent_tGen;
1230(AkMIDIEvent)__receiver)
1231        }
1232    }
1233    #[doc = "`set_Cc(crate::root::akmidievent::AkMIDIEvent_tCc)` overload"]
1234    fn set_cc(self, value: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tCc>) -> () {
1235        unsafe {
1236            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1237            ::unity::il2cpp_call!((::unity::module_base()+0x2f23910usize)as*mut u8,();
1238(AkMIDIEvent)__receiver,(crate::root::akmidievent::AkMIDIEvent_tCc)::core::convert::Into::into(value))
1239        }
1240    }
1241    #[doc = "`get_Cc()` overload"]
1242    fn get_cc(self) -> crate::root::akmidievent::AkMIDIEvent_tCc {
1243        unsafe {
1244            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1245            ::unity::il2cpp_call!((::unity::module_base()+0x2f239a0usize)as*mut u8,crate::root::akmidievent::AkMIDIEvent_tCc;
1246(AkMIDIEvent)__receiver)
1247        }
1248    }
1249    #[doc = "`set_NoteOnOff(crate::root::akmidievent::AkMIDIEvent_tNoteOnOff)` overload"]
1250    fn set_note_on_off(self, value: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tNoteOnOff>) -> () {
1251        unsafe {
1252            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1253            ::unity::il2cpp_call!((::unity::module_base()+0x2f23a80usize)as*mut u8,();
1254(AkMIDIEvent)__receiver,(crate::root::akmidievent::AkMIDIEvent_tNoteOnOff)::core::convert::Into::into(value))
1255        }
1256    }
1257    #[doc = "`get_NoteOnOff()` overload"]
1258    fn get_note_on_off(self) -> crate::root::akmidievent::AkMIDIEvent_tNoteOnOff {
1259        unsafe {
1260            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1261            ::unity::il2cpp_call!((::unity::module_base()+0x2f23b10usize)as*mut u8,crate::root::akmidievent::AkMIDIEvent_tNoteOnOff;
1262(AkMIDIEvent)__receiver)
1263        }
1264    }
1265    #[doc = "`set_PitchBend(crate::root::akmidievent::AkMIDIEvent_tPitchBend)` overload"]
1266    fn set_pitch_bend(self, value: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tPitchBend>) -> () {
1267        unsafe {
1268            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1269            ::unity::il2cpp_call!((::unity::module_base()+0x2f23bf0usize)as*mut u8,();
1270(AkMIDIEvent)__receiver,(crate::root::akmidievent::AkMIDIEvent_tPitchBend)::core::convert::Into::into(value))
1271        }
1272    }
1273    #[doc = "`get_PitchBend()` overload"]
1274    fn get_pitch_bend(self) -> crate::root::akmidievent::AkMIDIEvent_tPitchBend {
1275        unsafe {
1276            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1277            ::unity::il2cpp_call!((::unity::module_base()+0x2f23c80usize)as*mut u8,crate::root::akmidievent::AkMIDIEvent_tPitchBend;
1278(AkMIDIEvent)__receiver)
1279        }
1280    }
1281    #[doc = "`set_NoteAftertouch(crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch)` overload"]
1282    fn set_note_aftertouch(self, value: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch>) -> () {
1283        unsafe {
1284            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1285            ::unity::il2cpp_call!((::unity::module_base()+0x2f23d60usize)as*mut u8,();
1286(AkMIDIEvent)__receiver,(crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch)::core::convert::Into::into(value))
1287        }
1288    }
1289    #[doc = "`get_NoteAftertouch()` overload"]
1290    fn get_note_aftertouch(self) -> crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch {
1291        unsafe {
1292            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1293            ::unity::il2cpp_call!((::unity::module_base()+0x2f23df0usize)as*mut u8,crate::root::akmidievent::AkMIDIEvent_tNoteAftertouch;
1294(AkMIDIEvent)__receiver)
1295        }
1296    }
1297    #[doc = "`set_ChanAftertouch(crate::root::akmidievent::AkMIDIEvent_tChanAftertouch)` overload"]
1298    fn set_chan_aftertouch(self, value: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tChanAftertouch>) -> () {
1299        unsafe {
1300            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1301            ::unity::il2cpp_call!((::unity::module_base()+0x2f23ed0usize)as*mut u8,();
1302(AkMIDIEvent)__receiver,(crate::root::akmidievent::AkMIDIEvent_tChanAftertouch)::core::convert::Into::into(value))
1303        }
1304    }
1305    #[doc = "`get_ChanAftertouch()` overload"]
1306    fn get_chan_aftertouch(self) -> crate::root::akmidievent::AkMIDIEvent_tChanAftertouch {
1307        unsafe {
1308            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1309            ::unity::il2cpp_call!((::unity::module_base()+0x2f23f60usize)as*mut u8,crate::root::akmidievent::AkMIDIEvent_tChanAftertouch;
1310(AkMIDIEvent)__receiver)
1311        }
1312    }
1313    #[doc = "`set_ProgramChange(crate::root::akmidievent::AkMIDIEvent_tProgramChange)` overload"]
1314    fn set_program_change(self, value: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tProgramChange>) -> () {
1315        unsafe {
1316            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1317            ::unity::il2cpp_call!((::unity::module_base()+0x2f24040usize)as*mut u8,();
1318(AkMIDIEvent)__receiver,(crate::root::akmidievent::AkMIDIEvent_tProgramChange)::core::convert::Into::into(value))
1319        }
1320    }
1321    #[doc = "`get_ProgramChange()` overload"]
1322    fn get_program_change(self) -> crate::root::akmidievent::AkMIDIEvent_tProgramChange {
1323        unsafe {
1324            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1325            ::unity::il2cpp_call!((::unity::module_base()+0x2f240d0usize)as*mut u8,crate::root::akmidievent::AkMIDIEvent_tProgramChange;
1326(AkMIDIEvent)__receiver)
1327        }
1328    }
1329    #[doc = "`set_byType(crate::root::akmidieventtypes::AkMIDIEventTypes)` overload"]
1330    fn set_by_type(self, value: impl ::core::convert::Into<crate::root::akmidieventtypes::AkMIDIEventTypes>) -> () {
1331        unsafe {
1332            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1333            ::unity::il2cpp_call!((::unity::module_base()+0x2f241b0usize)as*mut u8,();
1334(AkMIDIEvent)__receiver,(crate::root::akmidieventtypes::AkMIDIEventTypes)::core::convert::Into::into(value))
1335        }
1336    }
1337    #[doc = "`get_byType()` overload"]
1338    fn get_by_type(self) -> crate::root::akmidieventtypes::AkMIDIEventTypes {
1339        unsafe {
1340            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1341            ::unity::il2cpp_call!((::unity::module_base()+0x2f24230usize)as*mut u8,crate::root::akmidieventtypes::AkMIDIEventTypes;
1342(AkMIDIEvent)__receiver)
1343        }
1344    }
1345    #[doc = "`set_byOnOffNote(u8)` overload"]
1346    fn set_by_on_off_note(self, value: impl ::core::convert::Into<u8>) -> () {
1347        unsafe {
1348            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1349            ::unity::il2cpp_call!((::unity::module_base()+0x2f242a0usize)as*mut u8,();
1350(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1351        }
1352    }
1353    #[doc = "`get_byOnOffNote()` overload"]
1354    fn get_by_on_off_note(self) -> u8 {
1355        unsafe {
1356            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1357            ::unity::il2cpp_call!((::unity::module_base()+0x2f24320usize)as*mut u8,u8;
1358(AkMIDIEvent)__receiver)
1359        }
1360    }
1361    #[doc = "`set_byVelocity(u8)` overload"]
1362    fn set_by_velocity(self, value: impl ::core::convert::Into<u8>) -> () {
1363        unsafe {
1364            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1365            ::unity::il2cpp_call!((::unity::module_base()+0x2f24390usize)as*mut u8,();
1366(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1367        }
1368    }
1369    #[doc = "`get_byVelocity()` overload"]
1370    fn get_by_velocity(self) -> u8 {
1371        unsafe {
1372            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1373            ::unity::il2cpp_call!((::unity::module_base()+0x2f24410usize)as*mut u8,u8;
1374(AkMIDIEvent)__receiver)
1375        }
1376    }
1377    #[doc = "`set_byCc(crate::root::akmidicctypes::AkMIDICcTypes)` overload"]
1378    fn set_by_cc(self, value: impl ::core::convert::Into<crate::root::akmidicctypes::AkMIDICcTypes>) -> () {
1379        unsafe {
1380            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1381            ::unity::il2cpp_call!((::unity::module_base()+0x2f24480usize)as*mut u8,();
1382(AkMIDIEvent)__receiver,(crate::root::akmidicctypes::AkMIDICcTypes)::core::convert::Into::into(value))
1383        }
1384    }
1385    #[doc = "`get_byCc()` overload"]
1386    fn get_by_cc(self) -> crate::root::akmidicctypes::AkMIDICcTypes {
1387        unsafe {
1388            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1389            ::unity::il2cpp_call!((::unity::module_base()+0x2f24500usize)as*mut u8,crate::root::akmidicctypes::AkMIDICcTypes;
1390(AkMIDIEvent)__receiver)
1391        }
1392    }
1393    #[doc = "`set_byCcValue(u8)` overload"]
1394    fn set_by_cc_value(self, value: impl ::core::convert::Into<u8>) -> () {
1395        unsafe {
1396            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1397            ::unity::il2cpp_call!((::unity::module_base()+0x2f24570usize)as*mut u8,();
1398(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1399        }
1400    }
1401    #[doc = "`get_byCcValue()` overload"]
1402    fn get_by_cc_value(self) -> u8 {
1403        unsafe {
1404            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1405            ::unity::il2cpp_call!((::unity::module_base()+0x2f245f0usize)as*mut u8,u8;
1406(AkMIDIEvent)__receiver)
1407        }
1408    }
1409    #[doc = "`set_byValueLsb(u8)` overload"]
1410    fn set_by_value_lsb(self, value: impl ::core::convert::Into<u8>) -> () {
1411        unsafe {
1412            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1413            ::unity::il2cpp_call!((::unity::module_base()+0x2f24660usize)as*mut u8,();
1414(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1415        }
1416    }
1417    #[doc = "`get_byValueLsb()` overload"]
1418    fn get_by_value_lsb(self) -> u8 {
1419        unsafe {
1420            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1421            ::unity::il2cpp_call!((::unity::module_base()+0x2f246e0usize)as*mut u8,u8;
1422(AkMIDIEvent)__receiver)
1423        }
1424    }
1425    #[doc = "`set_byValueMsb(u8)` overload"]
1426    fn set_by_value_msb(self, value: impl ::core::convert::Into<u8>) -> () {
1427        unsafe {
1428            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1429            ::unity::il2cpp_call!((::unity::module_base()+0x2f24750usize)as*mut u8,();
1430(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1431        }
1432    }
1433    #[doc = "`get_byValueMsb()` overload"]
1434    fn get_by_value_msb(self) -> u8 {
1435        unsafe {
1436            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1437            ::unity::il2cpp_call!((::unity::module_base()+0x2f247d0usize)as*mut u8,u8;
1438(AkMIDIEvent)__receiver)
1439        }
1440    }
1441    #[doc = "`set_byAftertouchNote(u8)` overload"]
1442    fn set_by_aftertouch_note(self, value: impl ::core::convert::Into<u8>) -> () {
1443        unsafe {
1444            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1445            ::unity::il2cpp_call!((::unity::module_base()+0x2f24840usize)as*mut u8,();
1446(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1447        }
1448    }
1449    #[doc = "`get_byAftertouchNote()` overload"]
1450    fn get_by_aftertouch_note(self) -> u8 {
1451        unsafe {
1452            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1453            ::unity::il2cpp_call!((::unity::module_base()+0x2f248c0usize)as*mut u8,u8;
1454(AkMIDIEvent)__receiver)
1455        }
1456    }
1457    #[doc = "`set_byNoteAftertouchValue(u8)` overload"]
1458    fn set_by_note_aftertouch_value(self, value: impl ::core::convert::Into<u8>) -> () {
1459        unsafe {
1460            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1461            ::unity::il2cpp_call!((::unity::module_base()+0x2f24930usize)as*mut u8,();
1462(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1463        }
1464    }
1465    #[doc = "`get_byNoteAftertouchValue()` overload"]
1466    fn get_by_note_aftertouch_value(self) -> u8 {
1467        unsafe {
1468            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1469            ::unity::il2cpp_call!((::unity::module_base()+0x2f249b0usize)as*mut u8,u8;
1470(AkMIDIEvent)__receiver)
1471        }
1472    }
1473    #[doc = "`set_byChanAftertouchValue(u8)` overload"]
1474    fn set_by_chan_aftertouch_value(self, value: impl ::core::convert::Into<u8>) -> () {
1475        unsafe {
1476            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1477            ::unity::il2cpp_call!((::unity::module_base()+0x2f24a20usize)as*mut u8,();
1478(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1479        }
1480    }
1481    #[doc = "`get_byChanAftertouchValue()` overload"]
1482    fn get_by_chan_aftertouch_value(self) -> u8 {
1483        unsafe {
1484            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1485            ::unity::il2cpp_call!((::unity::module_base()+0x2f24aa0usize)as*mut u8,u8;
1486(AkMIDIEvent)__receiver)
1487        }
1488    }
1489    #[doc = "`set_byProgramNum(u8)` overload"]
1490    fn set_by_program_num(self, value: impl ::core::convert::Into<u8>) -> () {
1491        unsafe {
1492            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1493            ::unity::il2cpp_call!((::unity::module_base()+0x2f24b10usize)as*mut u8,();
1494(AkMIDIEvent)__receiver,(u8)::core::convert::Into::into(value))
1495        }
1496    }
1497    #[doc = "`get_byProgramNum()` overload"]
1498    fn get_by_program_num(self) -> u8 {
1499        unsafe {
1500            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1501            ::unity::il2cpp_call!((::unity::module_base()+0x2f24b90usize)as*mut u8,u8;
1502(AkMIDIEvent)__receiver)
1503        }
1504    }
1505    #[doc = "`.ctor()` overload"]
1506    fn ctor_2(self) -> () {
1507        unsafe {
1508            let __receiver = <AkMIDIEvent as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1509            ::unity::il2cpp_call!((::unity::module_base()+0x2f24c00usize)as*mut u8,();
1510(AkMIDIEvent)__receiver)
1511        }
1512    }
1513}
1514
1515#[cfg(feature = "root-akmidievent")]
1516impl<__T: IAkMIDIEvent> IAkMIDIEventMethods for __T {}
1517
1518#[cfg(feature = "root-akmidievent")]
1519impl AkMIDIEvent {
1520    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1521        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1522    }
1523
1524    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1525        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1526    }
1527
1528    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1529        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1530    }
1531
1532    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1533        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1534    }
1535
1536    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1537        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1538    }
1539
1540    pub fn set_by_chan_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1541        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1542    }
1543
1544    pub fn get_by_chan_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1545        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1546    }
1547
1548    pub fn set_gen_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1549        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1550    }
1551
1552    pub fn get_gen_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1553        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1554    }
1555
1556    pub fn set_cc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1557        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1558    }
1559
1560    pub fn get_cc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1561        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
1562    }
1563
1564    pub fn set_note_on_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1565        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
1566    }
1567
1568    pub fn get_note_on_off_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1569        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
1570    }
1571
1572    pub fn set_pitch_bend_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1573        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
1574    }
1575
1576    pub fn get_pitch_bend_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1577        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
1578    }
1579
1580    pub fn set_note_aftertouch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1581        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
1582    }
1583
1584    pub fn get_note_aftertouch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1585        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
1586    }
1587
1588    pub fn set_chan_aftertouch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1589        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
1590    }
1591
1592    pub fn get_chan_aftertouch_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1593        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
1594    }
1595
1596    pub fn set_program_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1597        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
1598    }
1599
1600    pub fn get_program_change_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1601        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
1602    }
1603
1604    pub fn set_by_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1605        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
1606    }
1607
1608    pub fn get_by_type_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1609        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
1610    }
1611
1612    pub fn set_by_on_off_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1613        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
1614    }
1615
1616    pub fn get_by_on_off_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1617        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
1618    }
1619
1620    pub fn set_by_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1621        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
1622    }
1623
1624    pub fn get_by_velocity_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1625        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
1626    }
1627
1628    pub fn set_by_cc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1629        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
1630    }
1631
1632    pub fn get_by_cc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1633        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
1634    }
1635
1636    pub fn set_by_cc_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1637        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
1638    }
1639
1640    pub fn get_by_cc_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1641        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[30]
1642    }
1643
1644    pub fn set_by_value_lsb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1645        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[31]
1646    }
1647
1648    pub fn get_by_value_lsb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1649        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[32]
1650    }
1651
1652    pub fn set_by_value_msb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1653        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[33]
1654    }
1655
1656    pub fn get_by_value_msb_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1657        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[34]
1658    }
1659
1660    pub fn set_by_aftertouch_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1661        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[35]
1662    }
1663
1664    pub fn get_by_aftertouch_note_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1665        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[36]
1666    }
1667
1668    pub fn set_by_note_aftertouch_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1669        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[37]
1670    }
1671
1672    pub fn get_by_note_aftertouch_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1673        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[38]
1674    }
1675
1676    pub fn set_by_chan_aftertouch_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1677        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[39]
1678    }
1679
1680    pub fn get_by_chan_aftertouch_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1681        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[40]
1682    }
1683
1684    pub fn set_by_program_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1685        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[41]
1686    }
1687
1688    pub fn get_by_program_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1689        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[42]
1690    }
1691
1692    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1693        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[43]
1694    }
1695}
1696
1697#[cfg(feature = "root-akmidievent")]
1698impl AkMIDIEvent {
1699    #[doc = "Direct (non-virtual) call to `AkMIDIEvent`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1700    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
1701        let __mi = Self::set_c_ptr_method_info();
1702        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1703        __inner(this.into(), c_ptr, ::core::option::Option::None)
1704    }
1705
1706    #[doc = "Direct (non-virtual) call to `AkMIDIEvent`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1707    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1708        let __mi = Self::finalize_method_info();
1709        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1710        __inner(this.into(), ::core::option::Option::None)
1711    }
1712
1713    #[doc = "Direct (non-virtual) call to `AkMIDIEvent`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1714    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1715        let __mi = Self::dispose_method_info();
1716        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1717        __inner(this.into(), ::core::option::Option::None)
1718    }
1719}
1720
1721#[cfg(feature = "root-akmidievent")]
1722impl AkMIDIEvent {
1723    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
1724    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
1725        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1726            panic!(
1727                "{}
1728::{}
1729 failed to instantiate",
1730                ::core::stringify!(AkMIDIEvent),
1731                ::core::stringify!(new),
1732            )
1733        });
1734        <Self as IAkMIDIEventMethods>::ctor(this, c_ptr, c_memory_own);
1735        this
1736    }
1737
1738    #[doc = "`.ctor()` — no args"]
1739    pub fn new_2() -> Self {
1740        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1741            panic!(
1742                "{}
1743::{}
1744 failed to instantiate",
1745                ::core::stringify!(AkMIDIEvent),
1746                ::core::stringify!(new_2),
1747            )
1748        });
1749        <Self as IAkMIDIEventMethods>::ctor_2(this);
1750        this
1751    }
1752}
1753
1754#[cfg(feature = "root-akmidievent")]
1755impl AkMIDIEvent_tCc {
1756    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent_tCc)` overload"]
1757    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tCc>) -> ::unity::IntPtr {
1758        unsafe {
1759            ::unity::il2cpp_call!((::unity::module_base()+0x1b9ebf0usize)as*mut u8, ::unity::IntPtr;
1760(crate::root::akmidievent::AkMIDIEvent_tCc)::core::convert::Into::into(obj))
1761        }
1762    }
1763}
1764
1765#[cfg(feature = "root-akmidievent")]
1766pub trait IAkMIDIEvent_tCcMethods: IAkMIDIEvent_tCc {
1767    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
1768    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
1769        unsafe {
1770            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1771            ::unity::il2cpp_call!((::unity::module_base()+0x1b9ebb0usize)as*mut u8,();
1772(AkMIDIEvent_tCc)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
1773        }
1774    }
1775    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
1776    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
1777        unsafe {
1778            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1779            {
1780                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1781                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
1782                    panic!(
1783                        "unity: virtual slot {}
1784 out of range (vtable len {}
1785) on the runtime class behind {}
1786 (method `{}
1787`)",
1788                        5usize,
1789                        __vt.len(),
1790                        <AkMIDIEvent_tCc as ::unity::ClassIdentity>::NAME,
1791                        "setCPtr",
1792                    )
1793                });
1794                let __inner: extern "C" fn(AkMIDIEvent_tCc, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1795                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1796                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
1797            }
1798        }
1799    }
1800    #[doc = "`Finalize()` overload"]
1801    fn finalize(self) -> () {
1802        unsafe {
1803            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1804            {
1805                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1806                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
1807                    panic!(
1808                        "unity: virtual slot {}
1809 out of range (vtable len {}
1810) on the runtime class behind {}
1811 (method `{}
1812`)",
1813                        1usize,
1814                        __vt.len(),
1815                        <AkMIDIEvent_tCc as ::unity::ClassIdentity>::NAME,
1816                        "Finalize",
1817                    )
1818                });
1819                let __inner: extern "C" fn(AkMIDIEvent_tCc, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1820                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1821                __inner(__receiver, __mi)
1822            }
1823        }
1824    }
1825    #[doc = "`Dispose()` overload"]
1826    fn dispose(self) -> () {
1827        unsafe {
1828            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1829            {
1830                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
1831                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
1832                    panic!(
1833                        "unity: virtual slot {}
1834 out of range (vtable len {}
1835) on the runtime class behind {}
1836 (method `{}
1837`)",
1838                        6usize,
1839                        __vt.len(),
1840                        <AkMIDIEvent_tCc as ::unity::ClassIdentity>::NAME,
1841                        "Dispose",
1842                    )
1843                });
1844                let __inner: extern "C" fn(AkMIDIEvent_tCc, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
1845                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
1846                __inner(__receiver, __mi)
1847            }
1848        }
1849    }
1850    #[doc = "`set_byCc(u8)` overload"]
1851    fn set_by_cc(self, value: impl ::core::convert::Into<u8>) -> () {
1852        unsafe {
1853            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1854            ::unity::il2cpp_call!((::unity::module_base()+0x1b9ee80usize)as*mut u8,();
1855(AkMIDIEvent_tCc)__receiver,(u8)::core::convert::Into::into(value))
1856        }
1857    }
1858    #[doc = "`get_byCc()` overload"]
1859    fn get_by_cc(self) -> u8 {
1860        unsafe {
1861            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1862            ::unity::il2cpp_call!((::unity::module_base()+0x1b9ef00usize)as*mut u8,u8;
1863(AkMIDIEvent_tCc)__receiver)
1864        }
1865    }
1866    #[doc = "`set_byValue(u8)` overload"]
1867    fn set_by_value(self, value: impl ::core::convert::Into<u8>) -> () {
1868        unsafe {
1869            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1870            ::unity::il2cpp_call!((::unity::module_base()+0x1b9ef70usize)as*mut u8,();
1871(AkMIDIEvent_tCc)__receiver,(u8)::core::convert::Into::into(value))
1872        }
1873    }
1874    #[doc = "`get_byValue()` overload"]
1875    fn get_by_value(self) -> u8 {
1876        unsafe {
1877            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1878            ::unity::il2cpp_call!((::unity::module_base()+0x1b9eff0usize)as*mut u8,u8;
1879(AkMIDIEvent_tCc)__receiver)
1880        }
1881    }
1882    #[doc = "`.ctor()` overload"]
1883    fn ctor_2(self) -> () {
1884        unsafe {
1885            let __receiver = <AkMIDIEvent_tCc as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
1886            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f060usize)as*mut u8,();
1887(AkMIDIEvent_tCc)__receiver)
1888        }
1889    }
1890}
1891
1892#[cfg(feature = "root-akmidievent")]
1893impl<__T: IAkMIDIEvent_tCc> IAkMIDIEvent_tCcMethods for __T {}
1894
1895#[cfg(feature = "root-akmidievent")]
1896impl AkMIDIEvent_tCc {
1897    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1898        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
1899    }
1900
1901    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1902        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
1903    }
1904
1905    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1906        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
1907    }
1908
1909    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1910        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
1911    }
1912
1913    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1914        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
1915    }
1916
1917    pub fn set_by_cc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1918        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
1919    }
1920
1921    pub fn get_by_cc_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1922        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
1923    }
1924
1925    pub fn set_by_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1926        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
1927    }
1928
1929    pub fn get_by_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1930        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
1931    }
1932
1933    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
1934        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
1935    }
1936}
1937
1938#[cfg(feature = "root-akmidievent")]
1939impl AkMIDIEvent_tCc {
1940    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tCc`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1941    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
1942        let __mi = Self::set_c_ptr_method_info();
1943        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1944        __inner(this.into(), c_ptr, ::core::option::Option::None)
1945    }
1946
1947    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tCc`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1948    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1949        let __mi = Self::finalize_method_info();
1950        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1951        __inner(this.into(), ::core::option::Option::None)
1952    }
1953
1954    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tCc`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
1955    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
1956        let __mi = Self::dispose_method_info();
1957        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
1958        __inner(this.into(), ::core::option::Option::None)
1959    }
1960}
1961
1962#[cfg(feature = "root-akmidievent")]
1963impl AkMIDIEvent_tCc {
1964    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
1965    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
1966        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1967            panic!(
1968                "{}
1969::{}
1970 failed to instantiate",
1971                ::core::stringify!(AkMIDIEvent_tCc),
1972                ::core::stringify!(new),
1973            )
1974        });
1975        <Self as IAkMIDIEvent_tCcMethods>::ctor(this, c_ptr, c_memory_own);
1976        this
1977    }
1978
1979    #[doc = "`.ctor()` — no args"]
1980    pub fn new_2() -> Self {
1981        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
1982            panic!(
1983                "{}
1984::{}
1985 failed to instantiate",
1986                ::core::stringify!(AkMIDIEvent_tCc),
1987                ::core::stringify!(new_2),
1988            )
1989        });
1990        <Self as IAkMIDIEvent_tCcMethods>::ctor_2(this);
1991        this
1992    }
1993}
1994
1995#[cfg(feature = "root-akmidievent")]
1996impl AkMIDIEvent_tProgramChange {
1997    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent_tProgramChange)` overload"]
1998    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tProgramChange>) -> ::unity::IntPtr {
1999        unsafe {
2000            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0a80usize)as*mut u8, ::unity::IntPtr;
2001(crate::root::akmidievent::AkMIDIEvent_tProgramChange)::core::convert::Into::into(obj))
2002        }
2003    }
2004}
2005
2006#[cfg(feature = "root-akmidievent")]
2007pub trait IAkMIDIEvent_tProgramChangeMethods: IAkMIDIEvent_tProgramChange {
2008    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
2009    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
2010        unsafe {
2011            let __receiver =
2012                <AkMIDIEvent_tProgramChange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2013            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0a40usize)as*mut u8,();
2014(AkMIDIEvent_tProgramChange)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
2015        }
2016    }
2017    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
2018    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
2019        unsafe {
2020            let __receiver =
2021                <AkMIDIEvent_tProgramChange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2022            {
2023                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2024                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
2025                    panic!(
2026                        "unity: virtual slot {}
2027 out of range (vtable len {}
2028) on the runtime class behind {}
2029 (method `{}
2030`)",
2031                        5usize,
2032                        __vt.len(),
2033                        <AkMIDIEvent_tProgramChange as ::unity::ClassIdentity>::NAME,
2034                        "setCPtr",
2035                    )
2036                });
2037                let __inner: extern "C" fn(AkMIDIEvent_tProgramChange, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
2038                    ::core::mem::transmute(__vi.method_ptr);
2039                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2040                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
2041            }
2042        }
2043    }
2044    #[doc = "`Finalize()` overload"]
2045    fn finalize(self) -> () {
2046        unsafe {
2047            let __receiver =
2048                <AkMIDIEvent_tProgramChange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2049            {
2050                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2051                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
2052                    panic!(
2053                        "unity: virtual slot {}
2054 out of range (vtable len {}
2055) on the runtime class behind {}
2056 (method `{}
2057`)",
2058                        1usize,
2059                        __vt.len(),
2060                        <AkMIDIEvent_tProgramChange as ::unity::ClassIdentity>::NAME,
2061                        "Finalize",
2062                    )
2063                });
2064                let __inner: extern "C" fn(AkMIDIEvent_tProgramChange, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2065                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2066                __inner(__receiver, __mi)
2067            }
2068        }
2069    }
2070    #[doc = "`Dispose()` overload"]
2071    fn dispose(self) -> () {
2072        unsafe {
2073            let __receiver =
2074                <AkMIDIEvent_tProgramChange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2075            {
2076                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2077                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
2078                    panic!(
2079                        "unity: virtual slot {}
2080 out of range (vtable len {}
2081) on the runtime class behind {}
2082 (method `{}
2083`)",
2084                        6usize,
2085                        __vt.len(),
2086                        <AkMIDIEvent_tProgramChange as ::unity::ClassIdentity>::NAME,
2087                        "Dispose",
2088                    )
2089                });
2090                let __inner: extern "C" fn(AkMIDIEvent_tProgramChange, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2091                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2092                __inner(__receiver, __mi)
2093            }
2094        }
2095    }
2096    #[doc = "`set_byProgramNum(u8)` overload"]
2097    fn set_by_program_num(self, value: impl ::core::convert::Into<u8>) -> () {
2098        unsafe {
2099            let __receiver =
2100                <AkMIDIEvent_tProgramChange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2101            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0d10usize)as*mut u8,();
2102(AkMIDIEvent_tProgramChange)__receiver,(u8)::core::convert::Into::into(value))
2103        }
2104    }
2105    #[doc = "`get_byProgramNum()` overload"]
2106    fn get_by_program_num(self) -> u8 {
2107        unsafe {
2108            let __receiver =
2109                <AkMIDIEvent_tProgramChange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2110            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0d90usize)as*mut u8,u8;
2111(AkMIDIEvent_tProgramChange)__receiver)
2112        }
2113    }
2114    #[doc = "`.ctor()` overload"]
2115    fn ctor_2(self) -> () {
2116        unsafe {
2117            let __receiver =
2118                <AkMIDIEvent_tProgramChange as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2119            ::unity::il2cpp_call!((::unity::module_base()+0x1ba0e00usize)as*mut u8,();
2120(AkMIDIEvent_tProgramChange)__receiver)
2121        }
2122    }
2123}
2124
2125#[cfg(feature = "root-akmidievent")]
2126impl<__T: IAkMIDIEvent_tProgramChange> IAkMIDIEvent_tProgramChangeMethods for __T {}
2127
2128#[cfg(feature = "root-akmidievent")]
2129impl AkMIDIEvent_tProgramChange {
2130    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2131        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2132    }
2133
2134    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2135        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2136    }
2137
2138    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2139        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2140    }
2141
2142    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2143        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2144    }
2145
2146    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2147        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2148    }
2149
2150    pub fn set_by_program_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2151        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
2152    }
2153
2154    pub fn get_by_program_num_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2155        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2156    }
2157
2158    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2159        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2160    }
2161}
2162
2163#[cfg(feature = "root-akmidievent")]
2164impl AkMIDIEvent_tProgramChange {
2165    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tProgramChange`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2166    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
2167        let __mi = Self::set_c_ptr_method_info();
2168        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2169        __inner(this.into(), c_ptr, ::core::option::Option::None)
2170    }
2171
2172    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tProgramChange`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2173    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2174        let __mi = Self::finalize_method_info();
2175        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2176        __inner(this.into(), ::core::option::Option::None)
2177    }
2178
2179    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tProgramChange`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2180    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2181        let __mi = Self::dispose_method_info();
2182        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2183        __inner(this.into(), ::core::option::Option::None)
2184    }
2185}
2186
2187#[cfg(feature = "root-akmidievent")]
2188impl AkMIDIEvent_tProgramChange {
2189    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
2190    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
2191        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2192            panic!(
2193                "{}
2194::{}
2195 failed to instantiate",
2196                ::core::stringify!(AkMIDIEvent_tProgramChange),
2197                ::core::stringify!(new),
2198            )
2199        });
2200        <Self as IAkMIDIEvent_tProgramChangeMethods>::ctor(this, c_ptr, c_memory_own);
2201        this
2202    }
2203
2204    #[doc = "`.ctor()` — no args"]
2205    pub fn new_2() -> Self {
2206        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2207            panic!(
2208                "{}
2209::{}
2210 failed to instantiate",
2211                ::core::stringify!(AkMIDIEvent_tProgramChange),
2212                ::core::stringify!(new_2),
2213            )
2214        });
2215        <Self as IAkMIDIEvent_tProgramChangeMethods>::ctor_2(this);
2216        this
2217    }
2218}
2219
2220#[cfg(feature = "root-akmidievent")]
2221impl AkMIDIEvent_tChanAftertouch {
2222    #[doc = "`getCPtr(crate::root::akmidievent::AkMIDIEvent_tChanAftertouch)` overload"]
2223    pub fn get_c_ptr(obj: impl ::core::convert::Into<crate::root::akmidievent::AkMIDIEvent_tChanAftertouch>) -> ::unity::IntPtr {
2224        unsafe {
2225            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f130usize)as*mut u8, ::unity::IntPtr;
2226(crate::root::akmidievent::AkMIDIEvent_tChanAftertouch)::core::convert::Into::into(obj))
2227        }
2228    }
2229}
2230
2231#[cfg(feature = "root-akmidievent")]
2232pub trait IAkMIDIEvent_tChanAftertouchMethods: IAkMIDIEvent_tChanAftertouch {
2233    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
2234    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
2235        unsafe {
2236            let __receiver =
2237                <AkMIDIEvent_tChanAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2238            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f0f0usize)as*mut u8,();
2239(AkMIDIEvent_tChanAftertouch)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
2240        }
2241    }
2242    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
2243    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
2244        unsafe {
2245            let __receiver =
2246                <AkMIDIEvent_tChanAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2247            {
2248                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2249                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
2250                    panic!(
2251                        "unity: virtual slot {}
2252 out of range (vtable len {}
2253) on the runtime class behind {}
2254 (method `{}
2255`)",
2256                        5usize,
2257                        __vt.len(),
2258                        <AkMIDIEvent_tChanAftertouch as ::unity::ClassIdentity>::NAME,
2259                        "setCPtr",
2260                    )
2261                });
2262                let __inner: extern "C" fn(AkMIDIEvent_tChanAftertouch, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
2263                    ::core::mem::transmute(__vi.method_ptr);
2264                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2265                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
2266            }
2267        }
2268    }
2269    #[doc = "`Finalize()` overload"]
2270    fn finalize(self) -> () {
2271        unsafe {
2272            let __receiver =
2273                <AkMIDIEvent_tChanAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2274            {
2275                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2276                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
2277                    panic!(
2278                        "unity: virtual slot {}
2279 out of range (vtable len {}
2280) on the runtime class behind {}
2281 (method `{}
2282`)",
2283                        1usize,
2284                        __vt.len(),
2285                        <AkMIDIEvent_tChanAftertouch as ::unity::ClassIdentity>::NAME,
2286                        "Finalize",
2287                    )
2288                });
2289                let __inner: extern "C" fn(AkMIDIEvent_tChanAftertouch, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2290                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2291                __inner(__receiver, __mi)
2292            }
2293        }
2294    }
2295    #[doc = "`Dispose()` overload"]
2296    fn dispose(self) -> () {
2297        unsafe {
2298            let __receiver =
2299                <AkMIDIEvent_tChanAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2300            {
2301                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
2302                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
2303                    panic!(
2304                        "unity: virtual slot {}
2305 out of range (vtable len {}
2306) on the runtime class behind {}
2307 (method `{}
2308`)",
2309                        6usize,
2310                        __vt.len(),
2311                        <AkMIDIEvent_tChanAftertouch as ::unity::ClassIdentity>::NAME,
2312                        "Dispose",
2313                    )
2314                });
2315                let __inner: extern "C" fn(AkMIDIEvent_tChanAftertouch, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__vi.method_ptr);
2316                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
2317                __inner(__receiver, __mi)
2318            }
2319        }
2320    }
2321    #[doc = "`set_byValue(u8)` overload"]
2322    fn set_by_value(self, value: impl ::core::convert::Into<u8>) -> () {
2323        unsafe {
2324            let __receiver =
2325                <AkMIDIEvent_tChanAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2326            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f3c0usize)as*mut u8,();
2327(AkMIDIEvent_tChanAftertouch)__receiver,(u8)::core::convert::Into::into(value))
2328        }
2329    }
2330    #[doc = "`get_byValue()` overload"]
2331    fn get_by_value(self) -> u8 {
2332        unsafe {
2333            let __receiver =
2334                <AkMIDIEvent_tChanAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2335            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f440usize)as*mut u8,u8;
2336(AkMIDIEvent_tChanAftertouch)__receiver)
2337        }
2338    }
2339    #[doc = "`.ctor()` overload"]
2340    fn ctor_2(self) -> () {
2341        unsafe {
2342            let __receiver =
2343                <AkMIDIEvent_tChanAftertouch as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
2344            ::unity::il2cpp_call!((::unity::module_base()+0x1b9f4b0usize)as*mut u8,();
2345(AkMIDIEvent_tChanAftertouch)__receiver)
2346        }
2347    }
2348}
2349
2350#[cfg(feature = "root-akmidievent")]
2351impl<__T: IAkMIDIEvent_tChanAftertouch> IAkMIDIEvent_tChanAftertouchMethods for __T {}
2352
2353#[cfg(feature = "root-akmidievent")]
2354impl AkMIDIEvent_tChanAftertouch {
2355    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2356        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
2357    }
2358
2359    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2360        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
2361    }
2362
2363    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2364        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
2365    }
2366
2367    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2368        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
2369    }
2370
2371    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2372        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
2373    }
2374
2375    pub fn set_by_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2376        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
2377    }
2378
2379    pub fn get_by_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2380        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
2381    }
2382
2383    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
2384        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
2385    }
2386}
2387
2388#[cfg(feature = "root-akmidievent")]
2389impl AkMIDIEvent_tChanAftertouch {
2390    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tChanAftertouch`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2391    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
2392        let __mi = Self::set_c_ptr_method_info();
2393        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2394        __inner(this.into(), c_ptr, ::core::option::Option::None)
2395    }
2396
2397    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tChanAftertouch`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2398    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2399        let __mi = Self::finalize_method_info();
2400        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2401        __inner(this.into(), ::core::option::Option::None)
2402    }
2403
2404    #[doc = "Direct (non-virtual) call to `AkMIDIEvent_tChanAftertouch`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
2405    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
2406        let __mi = Self::dispose_method_info();
2407        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
2408        __inner(this.into(), ::core::option::Option::None)
2409    }
2410}
2411
2412#[cfg(feature = "root-akmidievent")]
2413impl AkMIDIEvent_tChanAftertouch {
2414    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
2415    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
2416        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2417            panic!(
2418                "{}
2419::{}
2420 failed to instantiate",
2421                ::core::stringify!(AkMIDIEvent_tChanAftertouch),
2422                ::core::stringify!(new),
2423            )
2424        });
2425        <Self as IAkMIDIEvent_tChanAftertouchMethods>::ctor(this, c_ptr, c_memory_own);
2426        this
2427    }
2428
2429    #[doc = "`.ctor()` — no args"]
2430    pub fn new_2() -> Self {
2431        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
2432            panic!(
2433                "{}
2434::{}
2435 failed to instantiate",
2436                ::core::stringify!(AkMIDIEvent_tChanAftertouch),
2437                ::core::stringify!(new_2),
2438            )
2439        });
2440        <Self as IAkMIDIEvent_tChanAftertouchMethods>::ctor_2(this);
2441        this
2442    }
2443}
2444
2445#[cfg(feature = "root-akmidievent")]
2446#[doc(hidden)]
2447pub mod prelude {
2448    pub use super::{
2449        AkMIDIEvent, AkMIDIEvent_tCc, AkMIDIEvent_tChanAftertouch, AkMIDIEvent_tGen, AkMIDIEvent_tNoteAftertouch, AkMIDIEvent_tNoteOnOff,
2450        AkMIDIEvent_tPitchBend, AkMIDIEvent_tProgramChange, IAkMIDIEvent, IAkMIDIEventMethods, IAkMIDIEvent_tCc, IAkMIDIEvent_tCcMethods,
2451        IAkMIDIEvent_tChanAftertouch, IAkMIDIEvent_tChanAftertouchMethods, IAkMIDIEvent_tGen, IAkMIDIEvent_tGenMethods, IAkMIDIEvent_tNoteAftertouch,
2452        IAkMIDIEvent_tNoteAftertouchMethods, IAkMIDIEvent_tNoteOnOff, IAkMIDIEvent_tNoteOnOffMethods, IAkMIDIEvent_tPitchBend,
2453        IAkMIDIEvent_tPitchBendMethods, IAkMIDIEvent_tProgramChange, IAkMIDIEvent_tProgramChangeMethods,
2454    };
2455    pub use crate::system::object::IObject;
2456    #[cfg(feature = "system-object")]
2457    pub use crate::system::object::IObjectMethods;
2458}