53 lines
2.1 KiB
C#
53 lines
2.1 KiB
C#
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated />
|
|
//
|
|
// This file was automatically generated by SWIG (https://www.swig.org).
|
|
// Version 4.3.0
|
|
//
|
|
// Do not make changes to this file unless you know what you are doing - modify
|
|
// the SWIG interface file instead.
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
public class AkEventCallbackInfo : AkCallbackInfo {
|
|
private global::System.IntPtr swigCPtr;
|
|
|
|
internal AkEventCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkUnitySoundEnginePINVOKE.CSharp_AkEventCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
internal static global::System.IntPtr getCPtr(AkEventCallbackInfo obj) {
|
|
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
|
|
}
|
|
|
|
internal override void setCPtr(global::System.IntPtr cPtr) {
|
|
base.setCPtr(AkUnitySoundEnginePINVOKE.CSharp_AkEventCallbackInfo_SWIGUpcast(cPtr));
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
protected override void Dispose(bool disposing) {
|
|
lock(this) {
|
|
if (swigCPtr != global::System.IntPtr.Zero) {
|
|
if (swigCMemOwn) {
|
|
swigCMemOwn = false;
|
|
AkUnitySoundEnginePINVOKE.CSharp_delete_AkEventCallbackInfo(swigCPtr);
|
|
}
|
|
swigCPtr = global::System.IntPtr.Zero;
|
|
}
|
|
global::System.GC.SuppressFinalize(this);
|
|
base.Dispose(disposing);
|
|
}
|
|
}
|
|
|
|
public uint playingID { get { return AkUnitySoundEnginePINVOKE.CSharp_AkEventCallbackInfo_playingID_get(swigCPtr); }
|
|
}
|
|
|
|
public uint eventID { get { return AkUnitySoundEnginePINVOKE.CSharp_AkEventCallbackInfo_eventID_get(swigCPtr); }
|
|
}
|
|
|
|
public AkEventCallbackInfo() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkEventCallbackInfo(), true) {
|
|
}
|
|
|
|
}
|
|
#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. |