80 lines
3.3 KiB
C#
80 lines
3.3 KiB
C#
#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated />
|
|
//
|
|
// This file was automatically generated by SWIG (https://www.swig.org).
|
|
// Version 4.3.0
|
|
//
|
|
// Do not make changes to this file unless you know what you are doing - modify
|
|
// the SWIG interface file instead.
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
public class AkCommunicationSettings : global::System.IDisposable {
|
|
private global::System.IntPtr swigCPtr;
|
|
protected bool swigCMemOwn;
|
|
|
|
internal AkCommunicationSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
|
|
swigCMemOwn = cMemoryOwn;
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
internal static global::System.IntPtr getCPtr(AkCommunicationSettings obj) {
|
|
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
|
|
}
|
|
|
|
internal virtual void setCPtr(global::System.IntPtr cPtr) {
|
|
Dispose();
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
~AkCommunicationSettings() {
|
|
Dispose(false);
|
|
}
|
|
|
|
public void Dispose() {
|
|
Dispose(true);
|
|
global::System.GC.SuppressFinalize(this);
|
|
}
|
|
|
|
protected virtual void Dispose(bool disposing) {
|
|
lock(this) {
|
|
if (swigCPtr != global::System.IntPtr.Zero) {
|
|
if (swigCMemOwn) {
|
|
swigCMemOwn = false;
|
|
AkUnitySoundEnginePINVOKE.CSharp_delete_AkCommunicationSettings(swigCPtr);
|
|
}
|
|
swigCPtr = global::System.IntPtr.Zero;
|
|
}
|
|
global::System.GC.SuppressFinalize(this);
|
|
}
|
|
}
|
|
|
|
public AkCommunicationSettings() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkCommunicationSettings(), true) {
|
|
}
|
|
|
|
public uint uPoolSize { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_get(swigCPtr); }
|
|
}
|
|
|
|
public ushort uDiscoveryBroadcastPort { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get(swigCPtr); }
|
|
}
|
|
|
|
public ushort uCommandPort { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_get(swigCPtr); }
|
|
}
|
|
|
|
public AkCommunicationSettings.AkCommSystem commSystem { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_set(swigCPtr, (int)value); } get { return (AkCommunicationSettings.AkCommSystem)AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_get(swigCPtr); }
|
|
}
|
|
|
|
public bool bInitSystemLib { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_get(swigCPtr); }
|
|
}
|
|
|
|
public string szAppNetworkName { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_set(swigCPtr, value); } get { return AkUnitySoundEngine.StringFromIntPtrString(AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_get(swigCPtr)); }
|
|
}
|
|
|
|
public enum AkCommSystem {
|
|
AkCommSystem_Socket,
|
|
AkCommSystem_HTCS
|
|
}
|
|
|
|
}
|
|
#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX |