Skip to main content

engage/generated/root/
akdynamicsequenceitemcallbackinfo.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::{
9        root::akcallbackinfo::{AkCallbackInfo, IAkCallbackInfo},
10        system::object::{IObject, Object},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/root/akdynamicsequenceitemcallbackinfo/AkDynamicSequenceItemCallbackInfo.md"))]
14    #[::unity::class(namespace = "", name = "AkDynamicSequenceItemCallbackInfo")]
15    #[parent(crate::root::akcallbackinfo::AkCallbackInfo)]
16    pub struct AkDynamicSequenceItemCallbackInfo {
17        #[offset(32)]
18        #[rename(name = "swigCPtr")]
19        pub swig_c_ptr: ::unity::IntPtr,
20    }
21}
22
23#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo-types")]
24pub use __types::*;
25
26#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo")]
27impl AkDynamicSequenceItemCallbackInfo {
28    #[doc = "`getCPtr(crate::root::akdynamicsequenceitemcallbackinfo::AkDynamicSequenceItemCallbackInfo)` overload"]
29    pub fn get_c_ptr(
30        obj: impl ::core::convert::Into<crate::root::akdynamicsequenceitemcallbackinfo::AkDynamicSequenceItemCallbackInfo>,
31    ) -> ::unity::IntPtr {
32        unsafe {
33            ::unity::il2cpp_call!((::unity::module_base()+0x2f190f0usize)as*mut u8, ::unity::IntPtr;
34(crate::root::akdynamicsequenceitemcallbackinfo::AkDynamicSequenceItemCallbackInfo)::core::convert::Into::into(obj))
35        }
36    }
37}
38
39#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo")]
40pub trait IAkDynamicSequenceItemCallbackInfoMethods: IAkDynamicSequenceItemCallbackInfo {
41    #[doc = "`.ctor(::unity::IntPtr, bool)` overload"]
42    fn ctor(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>, c_memory_own: impl ::core::convert::Into<bool>) -> () {
43        unsafe {
44            let __receiver =
45                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
46            ::unity::il2cpp_call!((::unity::module_base()+0x2f19050usize)as*mut u8,();
47(AkDynamicSequenceItemCallbackInfo)__receiver,(::unity::IntPtr)::core::convert::Into::into(c_ptr),(bool)::core::convert::Into::into(c_memory_own))
48        }
49    }
50    #[doc = "`setCPtr(::unity::IntPtr)` overload"]
51    fn set_c_ptr(self, c_ptr: impl ::core::convert::Into<::unity::IntPtr>) -> () {
52        unsafe {
53            let __receiver =
54                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
55            {
56                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
57                let __vi = *__vt.get(5usize).unwrap_or_else(|| {
58                    panic!(
59                        "unity: virtual slot {}
60 out of range (vtable len {}
61) on the runtime class behind {}
62 (method `{}
63`)",
64                        5usize,
65                        __vt.len(),
66                        <AkDynamicSequenceItemCallbackInfo as ::unity::ClassIdentity>::NAME,
67                        "setCPtr",
68                    )
69                });
70                let __inner: extern "C" fn(AkDynamicSequenceItemCallbackInfo, ::unity::IntPtr, ::unity::OptionalMethod) -> () =
71                    ::core::mem::transmute(__vi.method_ptr);
72                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
73                __inner(__receiver, ::core::convert::Into::into(c_ptr), __mi)
74            }
75        }
76    }
77    #[doc = "`Finalize()` overload"]
78    fn finalize(self) -> () {
79        unsafe {
80            let __receiver =
81                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
82            {
83                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
84                let __vi = *__vt.get(1usize).unwrap_or_else(|| {
85                    panic!(
86                        "unity: virtual slot {}
87 out of range (vtable len {}
88) on the runtime class behind {}
89 (method `{}
90`)",
91                        1usize,
92                        __vt.len(),
93                        <AkDynamicSequenceItemCallbackInfo as ::unity::ClassIdentity>::NAME,
94                        "Finalize",
95                    )
96                });
97                let __inner: extern "C" fn(AkDynamicSequenceItemCallbackInfo, ::unity::OptionalMethod) -> () =
98                    ::core::mem::transmute(__vi.method_ptr);
99                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
100                __inner(__receiver, __mi)
101            }
102        }
103    }
104    #[doc = "`Dispose()` overload"]
105    fn dispose(self) -> () {
106        unsafe {
107            let __receiver =
108                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
109            {
110                let __vt = ::unity::Cast::get_class(__receiver).raw().get_vtable();
111                let __vi = *__vt.get(6usize).unwrap_or_else(|| {
112                    panic!(
113                        "unity: virtual slot {}
114 out of range (vtable len {}
115) on the runtime class behind {}
116 (method `{}
117`)",
118                        6usize,
119                        __vt.len(),
120                        <AkDynamicSequenceItemCallbackInfo as ::unity::ClassIdentity>::NAME,
121                        "Dispose",
122                    )
123                });
124                let __inner: extern "C" fn(AkDynamicSequenceItemCallbackInfo, ::unity::OptionalMethod) -> () =
125                    ::core::mem::transmute(__vi.method_ptr);
126                let __mi: ::unity::OptionalMethod = ::core::option::Option::Some(&*(__vi.method_info as *const ::unity::MethodInfo as *const ()));
127                __inner(__receiver, __mi)
128            }
129        }
130    }
131    #[doc = "`get_playingID()` overload"]
132    fn get_playing_id(self) -> u32 {
133        unsafe {
134            let __receiver =
135                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
136            ::unity::il2cpp_call!((::unity::module_base()+0x2f193e0usize)as*mut u8,u32;
137(AkDynamicSequenceItemCallbackInfo)__receiver)
138        }
139    }
140    #[doc = "`get_audioNodeID()` overload"]
141    fn get_audio_node_id(self) -> u32 {
142        unsafe {
143            let __receiver =
144                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
145            ::unity::il2cpp_call!((::unity::module_base()+0x2f19450usize)as*mut u8,u32;
146(AkDynamicSequenceItemCallbackInfo)__receiver)
147        }
148    }
149    #[doc = "`get_pCustomInfo()` overload"]
150    fn get_p_custom_info(self) -> ::unity::IntPtr {
151        unsafe {
152            let __receiver =
153                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
154            ::unity::il2cpp_call!((::unity::module_base()+0x2f194c0usize)as*mut u8, ::unity::IntPtr;
155(AkDynamicSequenceItemCallbackInfo)__receiver)
156        }
157    }
158    #[doc = "`.ctor()` overload"]
159    fn ctor_2(self) -> () {
160        unsafe {
161            let __receiver =
162                <AkDynamicSequenceItemCallbackInfo as ::unity::FromIlInstance>::from_il_instance(<Self as ::unity::SystemObject>::as_instance(self));
163            ::unity::il2cpp_call!((::unity::module_base()+0x2f19530usize)as*mut u8,();
164(AkDynamicSequenceItemCallbackInfo)__receiver)
165        }
166    }
167}
168
169#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo")]
170impl<__T: IAkDynamicSequenceItemCallbackInfo> IAkDynamicSequenceItemCallbackInfoMethods for __T {}
171
172#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo")]
173impl AkDynamicSequenceItemCallbackInfo {
174    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
175        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
176    }
177
178    pub fn get_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
179        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
180    }
181
182    pub fn set_c_ptr_method_info() -> &'static ::unity::il2cpp::MethodInfo {
183        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
184    }
185
186    pub fn finalize_method_info() -> &'static ::unity::il2cpp::MethodInfo {
187        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
188    }
189
190    pub fn dispose_method_info() -> &'static ::unity::il2cpp::MethodInfo {
191        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
192    }
193
194    pub fn get_playing_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
195        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
196    }
197
198    pub fn get_audio_node_id_method_info() -> &'static ::unity::il2cpp::MethodInfo {
199        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
200    }
201
202    pub fn get_p_custom_info_method_info() -> &'static ::unity::il2cpp::MethodInfo {
203        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
204    }
205
206    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
207        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
208    }
209}
210
211#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo")]
212impl AkDynamicSequenceItemCallbackInfo {
213    #[doc = "Direct (non-virtual) call to `AkDynamicSequenceItemCallbackInfo`'s own `setCPtr`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
214    pub unsafe fn set_c_ptr(this: impl ::core::convert::Into<::unity::IlInstance>, c_ptr: ::unity::IntPtr) -> () {
215        let __mi = Self::set_c_ptr_method_info();
216        let __inner: extern "C" fn(::unity::IlInstance, ::unity::IntPtr, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
217        __inner(this.into(), c_ptr, ::core::option::Option::None)
218    }
219
220    #[doc = "Direct (non-virtual) call to `AkDynamicSequenceItemCallbackInfo`'s own `Finalize`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
221    pub unsafe fn finalize(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
222        let __mi = Self::finalize_method_info();
223        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
224        __inner(this.into(), ::core::option::Option::None)
225    }
226
227    #[doc = "Direct (non-virtual) call to `AkDynamicSequenceItemCallbackInfo`'s own `Dispose`. Bypasses the vtable, so it won't hit an override/patch — use it for base calls."]
228    pub unsafe fn dispose(this: impl ::core::convert::Into<::unity::IlInstance>) -> () {
229        let __mi = Self::dispose_method_info();
230        let __inner: extern "C" fn(::unity::IlInstance, ::unity::OptionalMethod) -> () = ::core::mem::transmute(__mi.method_ptr);
231        __inner(this.into(), ::core::option::Option::None)
232    }
233}
234
235#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo")]
236impl AkDynamicSequenceItemCallbackInfo {
237    #[doc = "`.ctor(::unity::IntPtr, bool)` — overload selector"]
238    pub fn new(c_ptr: ::unity::IntPtr, c_memory_own: bool) -> Self {
239        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
240            panic!(
241                "{}
242::{}
243 failed to instantiate",
244                ::core::stringify!(AkDynamicSequenceItemCallbackInfo),
245                ::core::stringify!(new),
246            )
247        });
248        <Self as IAkDynamicSequenceItemCallbackInfoMethods>::ctor(this, c_ptr, c_memory_own);
249        this
250    }
251
252    #[doc = "`.ctor()` — no args"]
253    pub fn new_2() -> Self {
254        let this = <Self as ::unity::FromIlInstance>::instantiate().unwrap_or_else(|| {
255            panic!(
256                "{}
257::{}
258 failed to instantiate",
259                ::core::stringify!(AkDynamicSequenceItemCallbackInfo),
260                ::core::stringify!(new_2),
261            )
262        });
263        <Self as IAkDynamicSequenceItemCallbackInfoMethods>::ctor_2(this);
264        this
265    }
266}
267
268#[cfg(feature = "root-akdynamicsequenceitemcallbackinfo")]
269#[doc(hidden)]
270pub mod prelude {
271    pub use super::{AkDynamicSequenceItemCallbackInfo, IAkDynamicSequenceItemCallbackInfo, IAkDynamicSequenceItemCallbackInfoMethods};
272    #[cfg(feature = "root-akcallbackinfo")]
273    pub use crate::root::akcallbackinfo::IAkCallbackInfoMethods;
274    #[cfg(feature = "system-object")]
275    pub use crate::system::object::IObjectMethods;
276    pub use crate::{root::akcallbackinfo::IAkCallbackInfo, system::object::IObject};
277}