Files
Ipseity-Demo/Assets/Wwise/API/Runtime/Generated/Common/AkMusicPlaylistCallbackInfo.cs
T
2026-03-23 14:28:21 +01:00

63 lines
2.7 KiB
C#

#if !(UNITY_QNX) // Disable under unsupported platforms.
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.4.0
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AkMusicPlaylistCallbackInfo : AkEventCallbackInfo {
private global::System.IntPtr swigCPtr;
internal AkMusicPlaylistCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkUnitySoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkMusicPlaylistCallbackInfo obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal override void setCPtr(global::System.IntPtr cPtr) {
base.setCPtr(AkUnitySoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_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_AkMusicPlaylistCallbackInfo(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
base.Dispose(disposing);
}
}
/// ID of playlist node
public uint playlistID { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_playlistID_get(swigCPtr); }
}
/// Number of items in playlist node (may be segments or other playlists)
public uint uNumPlaylistItems { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_uNumPlaylistItems_get(swigCPtr); }
}
/// Selection: set by sound engine, modified by callback function (if not in range 0 &lt;= uPlaylistSelection &lt; uNumPlaylistItems then ignored).
public uint uPlaylistSelection { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_uPlaylistSelection_get(swigCPtr); }
}
/// Playlist node done: set by sound engine, modified by callback function (if set to anything but 0 then the current playlist item is done, and uPlaylistSelection is ignored)
public uint uPlaylistItemDone { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicPlaylistCallbackInfo_uPlaylistItemDone_get(swigCPtr); }
}
public AkMusicPlaylistCallbackInfo() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkMusicPlaylistCallbackInfo(), true) {
}
}
#endif // #if !(UNITY_QNX) // Disable under unsupported platforms.