Files
ichni_Official/Assets/Wwise/API/Runtime/Generated/Common/AkCallbackInfo.cs

63 lines
2.1 KiB
C#
Raw Normal View History

2025-06-03 02:42:28 -04:00
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
//------------------------------------------------------------------------------
// <auto-generated />
//
2026-03-14 03:13:10 -04:00
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.3.0
2025-06-03 02:42:28 -04:00
//
2026-03-14 03:13:10 -04:00
// Do not make changes to this file unless you know what you are doing - modify
2025-06-03 02:42:28 -04:00
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AkCallbackInfo : global::System.IDisposable {
private global::System.IntPtr swigCPtr;
protected bool swigCMemOwn;
internal AkCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkCallbackInfo obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal virtual void setCPtr(global::System.IntPtr cPtr) {
Dispose();
swigCPtr = cPtr;
}
~AkCallbackInfo() {
Dispose(false);
}
public void Dispose() {
Dispose(true);
global::System.GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing) {
lock(this) {
if (swigCPtr != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
2026-03-14 03:13:10 -04:00
AkUnitySoundEnginePINVOKE.CSharp_delete_AkCallbackInfo(swigCPtr);
2025-06-03 02:42:28 -04:00
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
}
}
2026-03-14 03:13:10 -04:00
public global::System.IntPtr pCookie { get { return AkUnitySoundEnginePINVOKE.CSharp_AkCallbackInfo_pCookie_get(swigCPtr); }
2025-06-03 02:42:28 -04:00
}
2026-03-14 03:13:10 -04:00
public ulong gameObjID { get { return AkUnitySoundEnginePINVOKE.CSharp_AkCallbackInfo_gameObjID_get(swigCPtr); }
2025-06-03 02:42:28 -04:00
}
2026-03-14 03:13:10 -04:00
public AkCallbackInfo() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkCallbackInfo(), true) {
2025-06-03 02:42:28 -04:00
}
}
#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.