Feat : Wwise Integration
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "AK.Wwise.Unity.ProjectDatabase",
|
||||
"references": [
|
||||
"AK.Wwise.Unity.Utilities",
|
||||
"AK.Wwise.Unity.Logging"
|
||||
],
|
||||
"optionalUnityReferences": [],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f9eb2625f0cf32747b93c5a077df8e2d
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 34fd73daa752c074f89133f7fd7e6a8f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c8f1a548677d2f74696c3a56035edf4d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,83 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseAcousticTextureRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseAcousticTextureRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseAcousticTextureRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseAcousticTextureRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseAcousticTextureRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseAcousticTextureRef(string AcousticTextureName) : this(WwiseProjectDatabase.GetAcousticTextureRefString(AcousticTextureName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetAcousticTextureName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetAcousticTexturePath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetAcousticTextureGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetAcousticTextureShortId(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa38eded30e73034187793fb509a70b1
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseAcousticTextureRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseAcousticTextureRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseAcousticTextureRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteAcousticTextureArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseAcousticTextureRefArray() : this(WwiseProjectDatabase.GetAllAcousticTextureRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseAcousticTextureRef this[int index]
|
||||
{
|
||||
get { return new WwiseAcousticTextureRef(WwiseProjectDatabase.GetAcousticTexture(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f967321257c3a59428eb09a14bc7d3b2
|
||||
@@ -0,0 +1,83 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseAuxBusRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseAuxBusRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseAuxBusRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseAuxBusRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseAuxBusRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseAuxBusRef(string AuxBusName) : this(WwiseProjectDatabase.GetAuxBusRefString(AuxBusName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetAuxBusName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetAuxBusPath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetAuxBusGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetAuxBusShortId(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90705bf5ebe6db4458fc7d8ee4b02183
|
||||
@@ -0,0 +1,62 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseAuxBusRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseAuxBusRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseAuxBusRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteAuxBusArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseAuxBusRefArray() : this(WwiseProjectDatabase.GetAllAuxBusRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseAuxBusRef this[int index]
|
||||
{
|
||||
get { return new WwiseAuxBusRef(WwiseProjectDatabase.GetAuxBus(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eaa01d60ec234554a874129288ebb183
|
||||
@@ -0,0 +1,83 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseBusRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseBusRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseBusRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseBusRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseBusRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseBusRef(string BusName) : this(WwiseProjectDatabase.GetBusRefString(BusName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetBusName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetBusPath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetBusGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetBusShortId(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f59fa6bcc8e27741a5869771577b3c5
|
||||
@@ -0,0 +1,62 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseBusRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseBusRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseBusRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteBusArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseBusRefArray() : this(WwiseProjectDatabase.GetAllBusRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseBusRef this[int index]
|
||||
{
|
||||
get { return new WwiseBusRef(WwiseProjectDatabase.GetBus(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1b201f206d462714bb446228efc955be
|
||||
@@ -0,0 +1,89 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseEventRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseEventRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
Medias = new WwiseEventRefMediaArray(cPtr);
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseEventRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseEventRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseEventRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
public WwiseEventRef(string eventName) : this(WwiseProjectDatabase.GetEventRefString(eventName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetEventName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetEventPath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetEventGuid(projectDatabasePtr);
|
||||
|
||||
public uint ShortId =>WwiseProjectDatabase.GetEventShortId(projectDatabasePtr);
|
||||
public float MaxAttenuation => WwiseProjectDatabase.GetEventMaxAttenuation(projectDatabasePtr);
|
||||
public float MinDuration => WwiseProjectDatabase.GetEventMinDuration(projectDatabasePtr);
|
||||
public float MaxDuration => WwiseProjectDatabase.GetEventMaxDuration(projectDatabasePtr);
|
||||
public WwiseEventRefMediaArray Medias { get; }
|
||||
public uint MediasCount => WwiseProjectDatabase.GetEventMediasCount(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6ffd0fa2d7813a840b3b553e0549f103
|
||||
@@ -0,0 +1,76 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseEventRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseEventRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseEventRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseEventRefArray() : this(WwiseProjectDatabase.GetAllEventsRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseEventRef this[int index]
|
||||
{
|
||||
get { return new WwiseEventRef(WwiseProjectDatabase.GetEvent(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
|
||||
public class WwiseSoundBankEventsRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
|
||||
internal WwiseSoundBankEventsRefArray(global::System.IntPtr cPtr)
|
||||
{
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
public WwiseEventRef this[int index]
|
||||
{
|
||||
get { return new WwiseEventRef(WwiseProjectDatabase.GetSoundBankEvent(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bb2e708e134a09c4ead763d8b4378fa8
|
||||
@@ -0,0 +1,32 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseEventRefMediaArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
|
||||
public WwiseEventRefMediaArray(global::System.IntPtr cPtr)
|
||||
{
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
public WwiseMediaRef this[int index]
|
||||
{
|
||||
get { return new WwiseMediaRef(WwiseProjectDatabase.GetEventMedia(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a0b0dce4ad3524144a462e19c59adb34
|
||||
@@ -0,0 +1,83 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseGameParameterRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseGameParameterRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseGameParameterRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseGameParameterRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseGameParameterRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseGameParameterRef(string GameParameterName) : this(WwiseProjectDatabase.GetGameParameterRefString(GameParameterName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetGameParameterName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetGameParameterPath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetGameParameterGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetGameParameterShortId(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e513498b3ee48b4f8b22471131c154c
|
||||
@@ -0,0 +1,62 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseGameParameterRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseGameParameterRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseGameParameterRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteGameParameterArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseGameParameterRefArray() : this(WwiseProjectDatabase.GetAllGameParameterRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseGameParameterRef this[int index]
|
||||
{
|
||||
get { return new WwiseGameParameterRef(WwiseProjectDatabase.GetGameParameter(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47b13829650ccdc4da1967cacdaa0a1b
|
||||
@@ -0,0 +1,81 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseMediaRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseMediaRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseMediaRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseMediaRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteMediaRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseMediaRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
public string Name => WwiseProjectDatabase.GetMediaName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetMediaPath(projectDatabasePtr);
|
||||
public uint ShortId => WwiseProjectDatabase.GetMediaShortId(projectDatabasePtr);
|
||||
public string Language => WwiseProjectDatabase.GetMediaLanguage(projectDatabasePtr);
|
||||
public bool IsStreaming => WwiseProjectDatabase.GetMediaIsStreaming(projectDatabasePtr);
|
||||
public uint Location => WwiseProjectDatabase.GetMediaLocation(projectDatabasePtr);
|
||||
public string CachePath => WwiseProjectDatabase.GetMediaCachePath(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cce04b06427ced540b63a5b76bd4a078
|
||||
@@ -0,0 +1,32 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseMediaRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
|
||||
public WwiseMediaRefArray(global::System.IntPtr cPtr)
|
||||
{
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
public WwiseMediaRef this[int index]
|
||||
{
|
||||
get { return new WwiseMediaRef(WwiseProjectDatabase.GetSoundBankMedia(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90cff3e41559a75439f40aa601be7942
|
||||
@@ -0,0 +1,82 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwisePlatformRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwisePlatformRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwisePlatformRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwisePlatformRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeletePlatformRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwisePlatformRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwisePlatformRef(string platformName) : this(WwiseProjectDatabase.GetPlatformRef(platformName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetPlatformName(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetPlatformGuid(projectDatabasePtr);
|
||||
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d5635786b821f9d4aa74aadeca6e5ca5
|
||||
@@ -0,0 +1,78 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwisePluginRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwisePluginRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwisePluginRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwisePluginRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeletePluginRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
public WwisePluginRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public uint Id => WwiseProjectDatabase.GetPluginId(projectDatabasePtr);
|
||||
public string Name => WwiseProjectDatabase.GetPluginName(projectDatabasePtr);
|
||||
public string DLL => WwiseProjectDatabase.GetPluginDLL(projectDatabasePtr);
|
||||
public string StaticLib => WwiseProjectDatabase.GetPluginStaticLib(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87c12084b653798428a83967cc08491d
|
||||
@@ -0,0 +1,82 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwisePluginRefArray
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwisePluginRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwisePluginRefArray obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwisePluginRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeletePluginArrayRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
public WwisePluginRefArray(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwisePluginRefArray() : this(WwiseProjectDatabase.GetAllPluginRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwisePluginRef this[int index]
|
||||
{
|
||||
get { return new WwisePluginRef(WwiseProjectDatabase.GetPluginRefIndex(projectDatabasePtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6331f01465e2e7a4b85a95a348a3f110
|
||||
+538
@@ -0,0 +1,538 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
using System.Runtime.InteropServices;
|
||||
public class WwiseProjectDataBasePINVOKE
|
||||
{
|
||||
/*
|
||||
* Utility
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void Init(string InDirectoryPath, string InDirectoryPlatformName);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SetCurrentPlatform(string InDirectoryPlatformName);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SetCurrentLanguage(string InLanguageName);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int GetGuidInt(global::System.IntPtr InGuid, ref uint A, ref uint B, ref uint C, ref uint D);
|
||||
|
||||
/*
|
||||
* SoundBank Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllSoundBanksRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSoundBankCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSoundBankRefIndex(global::System.IntPtr soundBankRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteSoundBanksArrayRef(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSoundBankRefString(string soundBankName, string soundBankType);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSoundBankName(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSoundBankPath(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSoundBankObjectPath(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSoundBankLanguage(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSoundBankLanguageId(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSoundBankGuid(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSoundBankShortId(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool IsUserBank(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool IsInitBank(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool IsSoundBankValid(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSoundBankMedia(global::System.IntPtr soundBankRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSoundBankMediasCount(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSoundBankEvent(global::System.IntPtr soundBankRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSoundBankEventsCount(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteSoundBankRef(global::System.IntPtr soundBankRefPtr);
|
||||
|
||||
/*
|
||||
* Media Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetMediaName(global::System.IntPtr mediaRef);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetMediaPath(global::System.IntPtr mediaRef);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetMediaShortId(global::System.IntPtr mediaRef);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetMediaLanguage(global::System.IntPtr mediaRef);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern bool GetMediaIsStreaming(global::System.IntPtr mediaRef);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetMediaLocation(global::System.IntPtr mediaRef);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetMediaCachePath(global::System.IntPtr mediaRef);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteMediaRef(global::System.IntPtr mediaRefPtr);
|
||||
|
||||
/*
|
||||
* Event Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllEventsRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetEventCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetEventRefString(string InString);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetEventName(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetEventPath(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetEventGuid(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetEventShortId(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern float GetEventMaxAttenuation(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern float GetEventMinDuration(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern float GetEventMaxDuration(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetEventMedia(global::System.IntPtr soundBankRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetEventMediasCount(global::System.IntPtr eventRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteEventRef(global::System.IntPtr mediaRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteEventArrayRef(global::System.IntPtr mediaRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetEvent(global::System.IntPtr eventArrayRefPtr, int index);
|
||||
|
||||
/*
|
||||
* Platform Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetPlatformRef(string InString);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetPlatformName(global::System.IntPtr platformRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetPlatformGuid(global::System.IntPtr platformRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeletePlatformRef(global::System.IntPtr platformRefPtr);
|
||||
|
||||
/*
|
||||
* Plugin Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllPluginRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetPluginCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetPluginRefIndex(global::System.IntPtr soundBankRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetPluginId(global::System.IntPtr pluginRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetPluginName(global::System.IntPtr pluginRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetPluginDLL(global::System.IntPtr pluginRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetPluginStaticLib(global::System.IntPtr pluginRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeletePluginRef(global::System.IntPtr pluginRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeletePluginArrayRef(global::System.IntPtr pluginArrayRefPtr);
|
||||
|
||||
|
||||
/*
|
||||
* Switch Group Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllSwitchGroupRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSwitchGroupCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteSwitchGroupRef(global::System.IntPtr switchGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteSwitchGroupArrayRef(global::System.IntPtr switchGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSwitchGroup(global::System.IntPtr switchArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSwitchGroupName(global::System.IntPtr switchGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSwitchGroupPath(global::System.IntPtr switchGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSwitchGroupGuid(global::System.IntPtr switchGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSwitchGroupShortId(global::System.IntPtr switchGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSwitchGroupRefString(string InString);
|
||||
|
||||
/*
|
||||
* Switch Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllSwitchRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSwitchCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteSwitchRef(global::System.IntPtr switchRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteSwitchArrayRef(global::System.IntPtr switchRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSwitch(global::System.IntPtr switchArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSwitchName(global::System.IntPtr switchRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSwitchPath(global::System.IntPtr switchRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetSwitchGuid(global::System.IntPtr switchRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSwitchShortId(global::System.IntPtr switchRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetSwitchGroupId(global::System.IntPtr switchRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetSwitchRefString(string InString);
|
||||
|
||||
|
||||
/*
|
||||
* State Group Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllStateGroupRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetStateGroupCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteStateGroupRef(global::System.IntPtr StateGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteStateGroupArrayRef(global::System.IntPtr StateGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetStateGroup(global::System.IntPtr StateArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetStateGroupName(global::System.IntPtr StateGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetStateGroupPath(global::System.IntPtr StateGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetStateGroupGuid(global::System.IntPtr StateGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetStateGroupShortId(global::System.IntPtr StateGroupRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetStateGroupRefString(string InString);
|
||||
|
||||
/*
|
||||
* State Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllStateRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetStateCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteStateRef(global::System.IntPtr StateRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteStateArrayRef(global::System.IntPtr StateRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetState(global::System.IntPtr StateArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetStateName(global::System.IntPtr StateRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetStatePath(global::System.IntPtr StateRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetStateGuid(global::System.IntPtr StateRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetStateShortId(global::System.IntPtr StateRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetStateGroupId(global::System.IntPtr StateRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetStateRefString(string InString);
|
||||
/*
|
||||
* AcousticTexture Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllAcousticTextureRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetAcousticTextureCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteAcousticTextureRef(global::System.IntPtr AcousticTextureRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteAcousticTextureArrayRef(global::System.IntPtr AcousticTextureRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAcousticTexture(global::System.IntPtr AcousticTextureArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetAcousticTextureName(global::System.IntPtr AcousticTextureRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetAcousticTexturePath(global::System.IntPtr AcousticTextureRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetAcousticTextureGuid(global::System.IntPtr AcousticTextureRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetAcousticTextureShortId(global::System.IntPtr AcousticTextureRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAcousticTextureRefString(string InString);
|
||||
|
||||
/*
|
||||
* GameParameter Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllGameParameterRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetGameParameterCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteGameParameterRef(global::System.IntPtr GameParameterRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteGameParameterArrayRef(global::System.IntPtr GameParameterRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetGameParameter(global::System.IntPtr GameParameterArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetGameParameterName(global::System.IntPtr GameParameterRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetGameParameterPath(global::System.IntPtr GameParameterRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetGameParameterGuid(global::System.IntPtr GameParameterRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetGameParameterShortId(global::System.IntPtr GameParameterRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetGameParameterRefString(string InString);
|
||||
|
||||
/*
|
||||
* Trigger Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllTriggerRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetTriggerCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteTriggerRef(global::System.IntPtr TriggerRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteTriggerArrayRef(global::System.IntPtr TriggerRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetTrigger(global::System.IntPtr TriggerArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetTriggerName(global::System.IntPtr TriggerRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetTriggerPath(global::System.IntPtr TriggerRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetTriggerGuid(global::System.IntPtr TriggerRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetTriggerShortId(global::System.IntPtr TriggerRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetTriggerRefString(string InString);
|
||||
|
||||
/*
|
||||
* Bus Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllBusRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetBusCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteBusRef(global::System.IntPtr BusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteBusArrayRef(global::System.IntPtr BusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetBus(global::System.IntPtr BusArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetBusName(global::System.IntPtr BusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetBusPath(global::System.IntPtr BusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetBusGuid(global::System.IntPtr BusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetBusShortId(global::System.IntPtr BusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetBusRefString(string InString);
|
||||
|
||||
/*
|
||||
* AuxBus Ref
|
||||
*/
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAllAuxBusRef();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetAuxBusCount();
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteAuxBusRef(global::System.IntPtr AuxBusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DeleteAuxBusArrayRef(global::System.IntPtr AuxBusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAuxBus(global::System.IntPtr AuxBusArrayRefPtr, int index);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetAuxBusName(global::System.IntPtr AuxBusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetAuxBusPath(global::System.IntPtr AuxBusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern System.IntPtr GetAuxBusGuid(global::System.IntPtr AuxBusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern uint GetAuxBusShortId(global::System.IntPtr AuxBusRefPtr);
|
||||
|
||||
[DllImport("WwiseProjectDatabase.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern global::System.IntPtr GetAuxBusRefString(string InString);
|
||||
}
|
||||
#endif
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3aee55419c71c2541b96687c1001febe
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c9064c8bf2997964ebdecaba7ffbc7c8
|
||||
@@ -0,0 +1,94 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseSoundBankRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseSoundBankRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
Medias = new WwiseMediaRefArray(cPtr);
|
||||
Events = new WwiseSoundBankEventsRefArray(cPtr);
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseSoundBankRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseSoundBankRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteSoundBankRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
public WwiseSoundBankRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseSoundBankRef(string soundBankName, string soundBankType) : this(WwiseProjectDatabase.GetSoundBankRefString(soundBankName, soundBankType), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetSoundBankName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetSoundBankPath(projectDatabasePtr);
|
||||
public string ObjectPath => WwiseProjectDatabase.GetSoundBankObjectPath(projectDatabasePtr);
|
||||
public string Language => WwiseProjectDatabase.GetSoundBankLanguage(projectDatabasePtr);
|
||||
public uint LanguageId => WwiseProjectDatabase.GetSoundBankLanguageId(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetSoundBankGuid(projectDatabasePtr);
|
||||
public uint ShortId => WwiseProjectDatabase.GetSoundBankShortId(projectDatabasePtr);
|
||||
public bool IsUserBank => WwiseProjectDatabase.IsUserBank(projectDatabasePtr);
|
||||
public bool IsInitBank => WwiseProjectDatabase.IsInitBank(projectDatabasePtr);
|
||||
public bool IsValid => WwiseProjectDatabase.IsSoundBankValid(projectDatabasePtr);
|
||||
public WwiseMediaRefArray Medias { get; }
|
||||
public uint MediasCount => WwiseProjectDatabase.GetSoundBankMediasCount(projectDatabasePtr);
|
||||
public WwiseSoundBankEventsRefArray Events { get; }
|
||||
public uint EventsCount => WwiseProjectDatabase.GetSoundBankEventsCount(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3d23eae03ddeb7b438deb58517d4bdc6
|
||||
@@ -0,0 +1,82 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseSoundBankRefArray
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseSoundBankRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseSoundBankRefArray obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseSoundBankRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteSoundBanksArrayRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
public WwiseSoundBankRefArray(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseSoundBankRefArray() : this(WwiseProjectDatabase.GetAllSoundBanksRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseSoundBankRef this[int index]
|
||||
{
|
||||
get { return new WwiseSoundBankRef(WwiseProjectDatabase.GetSoundBankRefIndex(projectDatabasePtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b3fb693b3d825d74292b735c4144e0ad
|
||||
@@ -0,0 +1,151 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
|
||||
public class WwiseStateGroupRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseStateGroupRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseStateGroupRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseStateGroupRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseStateGroupRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseStateGroupRef(string StateName) : this(WwiseProjectDatabase.GetStateGroupRefString(StateName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetStateGroupName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetStateGroupPath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetStateGroupGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetStateGroupShortId(projectDatabasePtr);
|
||||
}
|
||||
|
||||
public class WwiseStateRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseStateRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseStateRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseStateRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseStateRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseStateRef(string StateName) : this(WwiseProjectDatabase.GetStateRefString(StateName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetStateName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetStatePath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetStateGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetStateShortId(projectDatabasePtr);
|
||||
public uint GroupId => WwiseProjectDatabase.GetStateGroupId(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fed52cb4ac7aad34eb4e7e73bea823e3
|
||||
@@ -0,0 +1,107 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseStateRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseStateRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseStateRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteStateArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseStateRefArray() : this(WwiseProjectDatabase.GetAllStateRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseStateRef this[int index]
|
||||
{
|
||||
get { return new WwiseStateRef(WwiseProjectDatabase.GetState(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
|
||||
public class WwiseStateGroupRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseStateGroupRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseStateGroupRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteStateArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseStateGroupRefArray() : this(WwiseProjectDatabase.GetAllStateGroupRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseStateGroupRef this[int index]
|
||||
{
|
||||
get { return new WwiseStateGroupRef(WwiseProjectDatabase.GetStateGroup(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0ae6a7c9198b2084d9c089cf66d9036a
|
||||
@@ -0,0 +1,151 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
|
||||
public class WwiseSwitchGroupRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseSwitchGroupRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseSwitchGroupRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseSwitchGroupRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseSwitchGroupRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseSwitchGroupRef(string switchName) : this(WwiseProjectDatabase.GetSwitchGroupRefString(switchName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetSwitchGroupName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetSwitchGroupPath(projectDatabasePtr);
|
||||
public System.Guid Guid =>WwiseProjectDatabase.GetSwitchGroupGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetSwitchGroupShortId(projectDatabasePtr);
|
||||
}
|
||||
|
||||
public class WwiseSwitchRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseSwitchRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseSwitchRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseSwitchRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseSwitchRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseSwitchRef(string switchName) : this(WwiseProjectDatabase.GetSwitchRefString(switchName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetSwitchName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetSwitchPath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetSwitchGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetSwitchShortId(projectDatabasePtr);
|
||||
public uint GroupId => WwiseProjectDatabase.GetSwitchGroupId(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 69dd6336692c0bc4282571f0d43a8be5
|
||||
@@ -0,0 +1,107 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseSwitchRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseSwitchRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseSwitchRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteSwitchArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseSwitchRefArray() : this(WwiseProjectDatabase.GetAllSwitchRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseSwitchRef this[int index]
|
||||
{
|
||||
get { return new WwiseSwitchRef(WwiseProjectDatabase.GetSwitch(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
|
||||
public class WwiseSwitchGroupRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseSwitchGroupRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseSwitchGroupRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteSwitchArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseSwitchGroupRefArray() : this(WwiseProjectDatabase.GetAllSwitchGroupRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseSwitchGroupRef this[int index]
|
||||
{
|
||||
get { return new WwiseSwitchGroupRef(WwiseProjectDatabase.GetSwitchGroup(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97e50596cf2769d43bfdbfdf770410f2
|
||||
@@ -0,0 +1,83 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseTriggerRef: global::System.IDisposable
|
||||
{
|
||||
private global::System.IntPtr projectDatabasePtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseTriggerRef(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(WwiseTriggerRef obj)
|
||||
{
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.projectDatabasePtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr)
|
||||
{
|
||||
Dispose();
|
||||
projectDatabasePtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseTriggerRef()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (projectDatabasePtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteEventRef(projectDatabasePtr);
|
||||
}
|
||||
|
||||
projectDatabasePtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseTriggerRef(global::System.IntPtr cPtr) : this(cPtr, true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseTriggerRef(string TriggerName) : this(WwiseProjectDatabase.GetTriggerRefString(TriggerName), true)
|
||||
{
|
||||
}
|
||||
|
||||
public string Name => WwiseProjectDatabase.GetTriggerName(projectDatabasePtr);
|
||||
public string Path => WwiseProjectDatabase.GetTriggerPath(projectDatabasePtr);
|
||||
public System.Guid Guid => WwiseProjectDatabase.GetTriggerGuid(projectDatabasePtr);
|
||||
public uint ShortId =>WwiseProjectDatabase.GetTriggerShortId(projectDatabasePtr);
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2c8d51d0a83cb414ea458c3abcab49f5
|
||||
@@ -0,0 +1,62 @@
|
||||
/*******************************************************************************
|
||||
The content of this file includes portions of the proprietary AUDIOKINETIC Wwise
|
||||
Technology released in source code form as part of the game integration package.
|
||||
The content of this file may not be used without valid licenses to the
|
||||
AUDIOKINETIC Wwise Technology.
|
||||
Note that the use of the game engine is subject to the Unity(R) Terms of
|
||||
Service at https://unity3d.com/legal/terms-of-service
|
||||
|
||||
License Usage
|
||||
|
||||
Licensees holding valid licenses to the AUDIOKINETIC Wwise Technology may use
|
||||
this file in accordance with the end user license agreement provided with the
|
||||
software or, alternatively, in accordance with the terms contained
|
||||
in a written agreement between you and Audiokinetic Inc.
|
||||
Copyright (c) 2026 Audiokinetic Inc.
|
||||
*******************************************************************************/
|
||||
#if UNITY_EDITOR
|
||||
public class WwiseTriggerRefArray
|
||||
{
|
||||
private global::System.IntPtr ownerPtr;
|
||||
protected bool bDeletesManually;
|
||||
|
||||
internal WwiseTriggerRefArray(global::System.IntPtr cPtr, bool cMemoryOwn)
|
||||
{
|
||||
bDeletesManually = cMemoryOwn;
|
||||
ownerPtr = cPtr;
|
||||
}
|
||||
|
||||
~WwiseTriggerRefArray()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (ownerPtr != global::System.IntPtr.Zero)
|
||||
{
|
||||
if (bDeletesManually)
|
||||
{
|
||||
bDeletesManually = false;
|
||||
WwiseProjectDatabase.DeleteTriggerArrayRef(ownerPtr);
|
||||
}
|
||||
|
||||
ownerPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public WwiseTriggerRefArray() : this(WwiseProjectDatabase.GetAllTriggerRef(), true)
|
||||
{
|
||||
}
|
||||
|
||||
public WwiseTriggerRef this[int index]
|
||||
{
|
||||
get { return new WwiseTriggerRef(WwiseProjectDatabase.GetTrigger(ownerPtr, index), false); }
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59bd49234ddecb545a41f3bb0e780b60
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 427113e45772975469649ae71a28ee67
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f3e7167e9382ad44983d9939d3d73926
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 28ea87fea3cb71d4e9ddf4026098e331
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6521d525aee064d43a024abe642b05a6
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2ed0054a37027c478d377ad284bd312
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a598692cfceaf0544807b4d8e8979033
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e08be675a336fc5478610fc737ed143e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 560c10f152b92984e827d6b75fb0d5ca
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 64f4f98867919014dbc369c3de08904b
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user