Browse Source

Updated EOS SDK to 1.13.1

master
Nico de Poel 5 years ago
parent
commit
894b5e035b
  1. BIN
      Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win32-Shipping.dll
  2. BIN
      Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win64-Shipping.dll
  3. BIN
      Assets/Plugins/EpicOnlineServices/Bin/XSX/EOSSDK-XSX-Shipping.dll
  4. BIN
      Assets/Plugins/EpicOnlineServices/Bin/XboxOneGDK/EOSSDK-XboxOneGDK-Shipping.dll
  5. BIN
      Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Linux-Shipping.so
  6. BIN
      Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Mac-Shipping.dylib
  7. 4
      Assets/Plugins/EpicOnlineServices/Source/Core/Config.cs
  8. 12
      Assets/Plugins/EpicOnlineServices/Source/Core/Helper.cs
  9. 6
      Assets/Plugins/EpicOnlineServices/Source/Generated/AntiCheatClient/AntiCheatClientInterface.cs
  10. 4
      Assets/Plugins/EpicOnlineServices/Source/Generated/AntiCheatServer/AntiCheatServerInterface.cs
  11. 1940
      Assets/Plugins/EpicOnlineServices/Source/Generated/Bindings.cs
  12. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/Common.cs
  13. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/ConnectInterface.cs
  14. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/ContinuanceToken.cs
  15. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/Ecom/Transaction.cs
  16. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/EpicAccountId.cs
  17. 7
      Assets/Plugins/EpicOnlineServices/Source/Generated/Lobby/LobbyInterface.cs
  18. 21
      Assets/Plugins/EpicOnlineServices/Source/Generated/Lobby/LocalRTCOptions.cs
  19. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/P2P/P2PInterface.cs
  20. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/Platform/Options.cs
  21. 8
      Assets/Plugins/EpicOnlineServices/Source/Generated/Platform/PlatformInterface.cs
  22. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs
  23. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/Presence/PresenceInterface.cs
  24. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/ProductUserId.cs
  25. 4
      Assets/Plugins/EpicOnlineServices/Source/Generated/RTCAudio/AudioOutputDeviceInfo.cs
  26. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs
  27. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/Sessions/SessionsInterface.cs
  28. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/TitleStorage/TitleStorageFileTransferRequest.cs
  29. 2
      Assets/Plugins/EpicOnlineServices/Source/Generated/Windows/Platform/WindowsOptions.cs

BIN
Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win32-Shipping.dll

BIN
Assets/Plugins/EpicOnlineServices/Bin/EOSSDK-Win64-Shipping.dll

BIN
Assets/Plugins/EpicOnlineServices/Bin/XSX/EOSSDK-XSX-Shipping.dll

BIN
Assets/Plugins/EpicOnlineServices/Bin/XboxOneGDK/EOSSDK-XboxOneGDK-Shipping.dll

BIN
Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Linux-Shipping.so

BIN
Assets/Plugins/EpicOnlineServices/Bin/libEOSSDK-Mac-Shipping.dylib

4
Assets/Plugins/EpicOnlineServices/Source/Core/Config.cs

@ -78,9 +78,7 @@ namespace Epic.OnlineServices
#elif EOS_PLATFORM_LINUX
"EOSSDK-Linux-Shipping.so"
#elif EOS_PLATFORM_IOS && EOS_UNITY && !EOS_EDITOR
"__Internal"
#elif EOS_PLATFORM_IOS && EOS_UNITY
#elif EOS_PLATFORM_IOS && EOS_UNITY && EOS_EDITOR
"EOSSDK"
#elif EOS_PLATFORM_IOS
"EOSSDK.framework/EOSSDK"

12
Assets/Plugins/EpicOnlineServices/Source/Core/Helper.cs

@ -667,6 +667,18 @@ namespace Epic.OnlineServices
{
return TryMarshalAllocate(ref target, (int)size, out allocation);
}
internal static bool TryMarshalAllocate(ref IntPtr target, int size)
{
Allocation allocation;
return TryMarshalAllocate(ref target, size, out allocation);
}
internal static bool TryMarshalAllocate(ref IntPtr target, uint size)
{
Allocation allocation;
return TryMarshalAllocate(ref target, size, out allocation);
}
#endregion
// These functions are the front end for disposing of unmanaged memory that this wrapper has allocated.

6
Assets/Plugins/EpicOnlineServices/Source/Generated/AntiCheatClient/AntiCheatClientInterface.cs

@ -295,7 +295,7 @@ namespace Epic.OnlineServices.AntiCheatClient
System.IntPtr outMessageAddress = System.IntPtr.Zero;
uint OutMessageLength = options.OutMessageLength;
Helper.TryMarshalAllocate(ref outMessageAddress, OutMessageLength, out _);
Helper.TryMarshalAllocate(ref outMessageAddress, OutMessageLength);
var funcResult = Bindings.EOS_AntiCheatClient_PollStatus(InnerHandle, optionsAddress, violationType, outMessageAddress);
@ -329,7 +329,7 @@ namespace Epic.OnlineServices.AntiCheatClient
System.IntPtr outBufferAddress = System.IntPtr.Zero;
uint outBufferLengthBytes = options.OutBufferSizeBytes;
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes);
var funcResult = Bindings.EOS_AntiCheatClient_ProtectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes);
@ -480,7 +480,7 @@ namespace Epic.OnlineServices.AntiCheatClient
System.IntPtr outBufferAddress = System.IntPtr.Zero;
uint outBufferLengthBytes = options.OutBufferSizeBytes;
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes);
var funcResult = Bindings.EOS_AntiCheatClient_UnprotectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes);

4
Assets/Plugins/EpicOnlineServices/Source/Generated/AntiCheatServer/AntiCheatServerInterface.cs

@ -460,7 +460,7 @@ namespace Epic.OnlineServices.AntiCheatServer
System.IntPtr outBufferAddress = System.IntPtr.Zero;
uint outBufferLengthBytes = options.OutBufferSizeBytes;
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes);
var funcResult = Bindings.EOS_AntiCheatServer_ProtectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes);
@ -669,7 +669,7 @@ namespace Epic.OnlineServices.AntiCheatServer
System.IntPtr outBufferAddress = System.IntPtr.Zero;
uint outBufferLengthBytes = options.OutBufferSizeBytes;
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, outBufferLengthBytes);
var funcResult = Bindings.EOS_AntiCheatServer_UnprotectMessage(InnerHandle, optionsAddress, outBufferAddress, ref outBufferLengthBytes);

1940
Assets/Plugins/EpicOnlineServices/Source/Generated/Bindings.cs
File diff suppressed because it is too large
View File

2
Assets/Plugins/EpicOnlineServices/Source/Generated/Common.cs

@ -80,7 +80,7 @@ namespace Epic.OnlineServices
System.IntPtr outBufferAddress = System.IntPtr.Zero;
uint inOutBufferLength = 1024;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_ByteArray_ToString(byteArrayAddress, length, outBufferAddress, ref inOutBufferLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/Connect/ConnectInterface.cs

@ -539,7 +539,7 @@ namespace Epic.OnlineServices.Connect
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = ExternalAccountIdMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Connect_GetProductUserIdMapping(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/ContinuanceToken.cs

@ -37,7 +37,7 @@ namespace Epic.OnlineServices
{
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = 1024;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_ContinuanceToken_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/Ecom/Transaction.cs

@ -89,7 +89,7 @@ namespace Epic.OnlineServices.Ecom
{
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = EcomInterface.TransactionidMaximumLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Ecom_Transaction_GetTransactionId(InnerHandle, outBufferAddress, ref inOutBufferLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/EpicAccountId.cs

@ -80,7 +80,7 @@ namespace Epic.OnlineServices
{
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = EpicaccountidMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_EpicAccountId_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength);

7
Assets/Plugins/EpicOnlineServices/Source/Generated/Lobby/LobbyInterface.cs

@ -128,6 +128,9 @@ namespace Epic.OnlineServices.Lobby
/// </summary>
public const int LeavelobbyApiLatest = 1;
/// <summary>
/// The most recent version of the <see cref="LocalRTCOptions" /> structure.
/// </summary>
public const int LocalrtcoptionsApiLatest = 1;
/// <summary>
@ -621,7 +624,7 @@ namespace Epic.OnlineServices.Lobby
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = InviteidMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Lobby_GetInviteIdByIndex(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength);
@ -659,7 +662,7 @@ namespace Epic.OnlineServices.Lobby
System.IntPtr outBufferAddress = System.IntPtr.Zero;
uint inOutBufferLength = 256;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Lobby_GetRTCRoomName(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength);

21
Assets/Plugins/EpicOnlineServices/Source/Generated/Lobby/LocalRTCOptions.cs

@ -27,11 +27,12 @@ namespace Epic.OnlineServices.Lobby
public bool UseManualAudioOutput { get; set; }
/// <summary>
/// Set to true to start the outgoing audio stream muted by when first connecting to the RTC room. It must be manually unmuted with a
/// call to <see cref="RTCAudio.RTCAudioInterface.UpdateSending" />. If manual audio output is enabled, this value is ignored. The default is false if this struct
/// is not specified.
/// Set to true to start the audio input device's stream as muted when first connecting to the RTC room.
///
/// It must be manually unmuted with a call to <see cref="RTCAudio.RTCAudioInterface.UpdateSending" />. If manual audio output is enabled, this value is ignored.
/// The default value is false if this struct is not specified.
/// </summary>
public bool AudioOutputStartsMuted { get; set; }
public bool LocalAudioDeviceInputStartsMuted { get; set; }
internal void Set(LocalRTCOptionsInternal? other)
{
@ -40,7 +41,7 @@ namespace Epic.OnlineServices.Lobby
Flags = other.Value.Flags;
UseManualAudioInput = other.Value.UseManualAudioInput;
UseManualAudioOutput = other.Value.UseManualAudioOutput;
AudioOutputStartsMuted = other.Value.AudioOutputStartsMuted;
LocalAudioDeviceInputStartsMuted = other.Value.LocalAudioDeviceInputStartsMuted;
}
}
@ -57,7 +58,7 @@ namespace Epic.OnlineServices.Lobby
private uint m_Flags;
private int m_UseManualAudioInput;
private int m_UseManualAudioOutput;
private int m_AudioOutputStartsMuted;
private int m_LocalAudioDeviceInputStartsMuted;
public uint Flags
{
@ -102,18 +103,18 @@ namespace Epic.OnlineServices.Lobby
}
}
public bool AudioOutputStartsMuted
public bool LocalAudioDeviceInputStartsMuted
{
get
{
bool value;
Helper.TryMarshalGet(m_AudioOutputStartsMuted, out value);
Helper.TryMarshalGet(m_LocalAudioDeviceInputStartsMuted, out value);
return value;
}
set
{
Helper.TryMarshalSet(ref m_AudioOutputStartsMuted, value);
Helper.TryMarshalSet(ref m_LocalAudioDeviceInputStartsMuted, value);
}
}
@ -125,7 +126,7 @@ namespace Epic.OnlineServices.Lobby
Flags = other.Flags;
UseManualAudioInput = other.UseManualAudioInput;
UseManualAudioOutput = other.UseManualAudioOutput;
AudioOutputStartsMuted = other.AudioOutputStartsMuted;
LocalAudioDeviceInputStartsMuted = other.LocalAudioDeviceInputStartsMuted;
}
}

2
Assets/Plugins/EpicOnlineServices/Source/Generated/P2P/P2PInterface.cs

@ -437,7 +437,7 @@ namespace Epic.OnlineServices.P2P
System.IntPtr outDataAddress = System.IntPtr.Zero;
uint outBytesWritten = MaxPacketSize;
Helper.TryMarshalAllocate(ref outDataAddress, outBytesWritten, out _);
Helper.TryMarshalAllocate(ref outDataAddress, outBytesWritten);
var funcResult = Bindings.EOS_P2P_ReceivePacket(InnerHandle, optionsAddress, ref outPeerIdAddress, ref outSocketIdInternal, ref outChannel, outDataAddress, ref outBytesWritten);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/Platform/Options.cs

@ -29,7 +29,7 @@ namespace Epic.OnlineServices.Platform
public ClientCredentials ClientCredentials { get; set; }
/// <summary>
/// Is this running as a server
/// Set this to false if the application is running as a client with a local user, otherwise set to true (e.g. for a dedicated game server)
/// </summary>
public bool IsServer { get; set; }

8
Assets/Plugins/EpicOnlineServices/Source/Generated/Platform/PlatformInterface.cs

@ -122,7 +122,7 @@ namespace Epic.OnlineServices.Platform
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = CountrycodeMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Platform_GetActiveCountryCode(InnerHandle, localUserIdInnerHandle, outBufferAddress, ref inOutBufferLength);
@ -160,7 +160,7 @@ namespace Epic.OnlineServices.Platform
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = LocalecodeMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Platform_GetActiveLocaleCode(InnerHandle, localUserIdInnerHandle, outBufferAddress, ref inOutBufferLength);
@ -379,7 +379,7 @@ namespace Epic.OnlineServices.Platform
{
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = CountrycodeMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Platform_GetOverrideCountryCode(InnerHandle, outBufferAddress, ref inOutBufferLength);
@ -411,7 +411,7 @@ namespace Epic.OnlineServices.Platform
{
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = LocalecodeMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Platform_GetOverrideLocaleCode(InnerHandle, outBufferAddress, ref inOutBufferLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/PlayerDataStorage/PlayerDataStorageFileTransferRequest.cs

@ -53,7 +53,7 @@ namespace Epic.OnlineServices.PlayerDataStorage
{
System.IntPtr outStringBufferAddress = System.IntPtr.Zero;
int outStringLength = PlayerDataStorageInterface.FilenameMaxLengthBytes;
Helper.TryMarshalAllocate(ref outStringBufferAddress, outStringLength, out _);
Helper.TryMarshalAllocate(ref outStringBufferAddress, outStringLength);
var funcResult = Bindings.EOS_PlayerDataStorageFileTransferRequest_GetFilename(InnerHandle, (uint)outStringLength, outStringBufferAddress, ref outStringLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/Presence/PresenceInterface.cs

@ -224,7 +224,7 @@ namespace Epic.OnlineServices.Presence
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = PresenceModification.PresencemodificationJoininfoMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Presence_GetJoinInfo(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/ProductUserId.cs

@ -79,7 +79,7 @@ namespace Epic.OnlineServices
{
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = ProductuseridMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_ProductUserId_ToString(InnerHandle, outBufferAddress, ref inOutBufferLength);

4
Assets/Plugins/EpicOnlineServices/Source/Generated/RTCAudio/AudioOutputDeviceInfo.cs

@ -4,12 +4,12 @@
namespace Epic.OnlineServices.RTCAudio
{
/// <summary>
/// This struct is used to get information about a specific input device.
/// This struct is used to get information about a specific output device.
/// </summary>
public class AudioOutputDeviceInfo : ISettable
{
/// <summary>
/// True if this is the default audio input device in the system.
/// True if this is the default audio output device in the system.
/// </summary>
public bool DefaultDevice { get; set; }

2
Assets/Plugins/EpicOnlineServices/Source/Generated/RTCAudio/GetAudioOutputDevicesCountOptions.cs

@ -4,7 +4,7 @@
namespace Epic.OnlineServices.RTCAudio
{
/// <summary>
/// Output parameters for the <see cref="RTCAudioInterface.GetAudioOutputDevicesCount" /> function.
/// Input parameters for the <see cref="RTCAudioInterface.GetAudioOutputDevicesCount" /> function.
/// </summary>
public class GetAudioOutputDevicesCountOptions
{

2
Assets/Plugins/EpicOnlineServices/Source/Generated/Sessions/SessionsInterface.cs

@ -556,7 +556,7 @@ namespace Epic.OnlineServices.Sessions
System.IntPtr outBufferAddress = System.IntPtr.Zero;
int inOutBufferLength = InviteidMaxLength + 1;
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength, out _);
Helper.TryMarshalAllocate(ref outBufferAddress, inOutBufferLength);
var funcResult = Bindings.EOS_Sessions_GetInviteIdByIndex(InnerHandle, optionsAddress, outBufferAddress, ref inOutBufferLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/TitleStorage/TitleStorageFileTransferRequest.cs

@ -53,7 +53,7 @@ namespace Epic.OnlineServices.TitleStorage
{
System.IntPtr outStringBufferAddress = System.IntPtr.Zero;
int outStringLength = TitleStorageInterface.FilenameMaxLengthBytes;
Helper.TryMarshalAllocate(ref outStringBufferAddress, outStringLength, out _);
Helper.TryMarshalAllocate(ref outStringBufferAddress, outStringLength);
var funcResult = Bindings.EOS_TitleStorageFileTransferRequest_GetFilename(InnerHandle, (uint)outStringLength, outStringBufferAddress, ref outStringLength);

2
Assets/Plugins/EpicOnlineServices/Source/Generated/Windows/Platform/WindowsOptions.cs

@ -29,7 +29,7 @@ namespace Epic.OnlineServices.Platform
public ClientCredentials ClientCredentials { get; set; }
/// <summary>
/// Is this running as a server
/// Set this to false if the application is running as a client with a local user, otherwise set to true (e.g. for a dedicated game server)
/// </summary>
public bool IsServer { get; set; }

Loading…
Cancel
Save